A Boeing 737 charter jet arriving at the Jacksonville, Fla., naval air station from Guantánamo Bay, Cuba, slid off the runway into the St. Johns River on Friday night, injuring at least 21 people, the authorities said.

All of the 136 passengers and seven crew members had been rescued by early Saturday morning, a Navy spokeswoman said. None of the injuries were life-threatening, the Jacksonville Sheriff’s Office said.

“I think it is a miracle,” Capt. Michael P. Connor, the commanding officer at Naval Air Station Jacksonville, said at a news conference early Saturday. “We could be talking about a different story.”

[Update: Jacksonville 737 passengers recount harrowing plane landing.]

The sheriff’s office said the plane had never been submerged. Photos showed it floating on the St. Johns River in an image eerily reminiscent of the January 2009 emergency landing of a US Airways jet on the Hudson River.