ST. SIMONS ISLAND, Ga. (NBC News) – After more than 36 hours, the last of the trapped crew members on an overturned cargo ship was rescued Monday evening near St. Simons Island.

The Golden Ray remains on its side, but all of the crew members have been pulled to safety, including four who were trapped in the engine room.

The giant cargo ship capsized Sunday morning and caught fire as it left Brunswick.

The first calls for help came around 2 a.m. Choppers rushed to the scene, saving five by air. Fifteen more were scooped from the water onto coast guard boats.

The four South Korean men were rescued Monday after rescue teams drilled through the hull of the ship. The U.S. Coast Guard shared video of the final crew member walking off of the rescue boat just before 7 p.m.

All of the men have been or will be examined by medical personnel in Glynn County.

It’s still unclear what caused the ship to topple over, but security video from Sunday shows flashes of light from the water as the ship struggles. Other images show smoke spilling out from a fire near the cargo area.

Now, multiple teams are trying to figure out the extent of the damage to the massive ocean liner, which is more than 650 feet long and has the ability to carry more than 20,000 tons of cargo.

In a tweet, the Coast Guard said operations will transition to “environmental protection, removing the vessel and resuming commerce.”

Some story info via WTLV, The Associated Press