BURNHAM, Maine (AP) — Officials say a U.S. Customs and Border Protection airplane crashed close to an airport in Maine, injuring both crew members.

The single-engine Cessna 206 crashed late Wednesday while making an emergency landing near the Pittsfield Municipal Airport.

State Police spokesman Steve McCausland says one of the two crew members called 911 to report their location after the crash. He said both managed to walk away but were taken to a hospital. One of them remained hospitalized Thursday afternoon.

The Federal Aviation Administration says the plane had taken off from Bangor International Airport. It came to rest in woods along the Sebasticook River.

Customs and Border Protection says the plane was conducting "border security operations" when the pilot encountered a suspected engine failure.

Officials didn't identify the crew members.