A woman in Toronto can thank firefighters for getting her down from a precarious perch.

She had climbed a construction crane but then needed firefighters help getting down.

When rescue crews arrived, she had been clinging on to a steel cable for at least four hours, The Associated Press reported.

Crews strapped her to a firefighter who rappelled, bringing her safely to the ground.

A woman is rescued from a downtown Toronto crane early Wednesday, April 26, 2017. Some streets in the downtown core were closed as dozens of construction workers and commuters gazed skyward to watch police and firefighters try to rescue the woman who got stuck atop the tall construction crane. (Frank Gunn/The Canadian Press via AP)

Credit: Frank Gunn

icon to expand image

Credit: Frank Gunn

A woman is rescued from a downtown Toronto crane early Wednesday, April 26, 2017. Some streets in the downtown core were closed as dozens of construction workers and commuters gazed skyward to watch police and firefighters try to rescue the woman who got stuck atop the tall construction crane. (Frank Gunn/The Canadian Press via AP)

Credit: Frank Gunn

icon to expand image

Credit: Frank Gunn

Officials do not know why the unnamed woman decided to climb the large crane, without the aid of safety equipment, in the middle of the night. She faces a mischief charge for her death-defying climb, The AP reported.

Police escort a woman who was rescued from a downtown Toronto crane early Wednesday, April 26, 2017. Some streets in the downtown core were closed as dozens of construction workers and commuters gazed skyward to watch police and firefighters try to rescue the woman who got stuck atop a tall construction crane. (Frank Gunn/The Canadian Press via AP)

Credit: Frank Gunn

icon to expand image

Credit: Frank Gunn