A woman was rescued from the Detroit River just after 3 a.m. Saturday by Border Patrol Agents.

The woman was seen hanging onto an electrical extension cord in the frigid river prior to her rescue.

Police received a call about a person drifting in the water around the area of Rosa Parks Avenue and West Jefferson and notified agents.

The woman was located and Border Patrol was able to toss her a line and pull her closer to the seawall.

Agents then climbed over a railing and down the eight-foot seawall to help the woman out of the water and to safety.

The woman was treated on the scene for hypothermia and taken to a local hospital for treatment.

Investigators are still looking into how the woman ended up in the river.

"Rescues like this are an example of Border Patrol Agents’ willingness to risk their own safety to prevent tragedy," said Acting Patrol Agent in Charge of Detroit Station Robert Nussrallah.