BONNERS FERRY, Idaho (KLIX)-Crews are working to remove engines from a river in north Idaho after they derailed the first of the year.

According to the Boundary County Sheriff's Office, authorities were notified just before 9 p.m. of the derailment of a train along the Kootenai River, with one locomotive in the water and two crew members trapped. The sheriff's office said in a statement the scene was only accessible by water at the time and emergency crews were able to rescue the two crewmen by boat. Measures were taken to contain any leaks caused by the derailment.

Idaho State Police warned drivers in the north Idaho town of Bonners Ferry to expect congestion in the area as crews work to remove the locomotives after they went into the river Jan. 1. The Boundary County Sheriff's Office, Boundary County Emergency Management, BNSF, as well as fire and EMS were called to the scene.