Dangerous heat is roasting parts of Australia with temperatures that haven't been seen in decades.

The temperature in Sydney hit an almost 80-year-high of 47.3 C on Sunday — a sharp contrast to the bitter cold that has gripped much of the U.S.

The temperature was just shy of the city's all-time high of 47.8 C, set in 1939.

Story continues below advertisement

New South Wales Police Deputy Commissioner Catherine Burn said the state's heat wave plan had been activated to respond to "severe to extreme heat conditions."

Thousands were left without power, and total fire bans were put in place as officials warned of a severe danger.

Residents were urged to drink extra water and limit their time outdoors because of air pollution resulting from the hot weather.