Britain's Queen Elizabeth II, who died aged 96 on September 8 was the country's longest-serving monarch
Britain's Queen Elizabeth II, who died aged 96 on September 8 was the country's longest-serving monarch AFP

From roasting temperatures to rocketing energy prices and millions of refugees fleeing Ukraine, 2022 was a year of extremes.

AFP looks back at some of the records smashed:

Russia's invasion of Ukraine in February caused a massive jump in energy and food costs, with the UN Food and Agriculture Organization's Food Price Index hitting a historic peak in March and the cost of gas in Europe reaching record highs.

The eurozone annual inflation climbed steadily to 10.6 percent in October, the biggest increase since the index began in 1997.

The war also triggered the biggest wave of refugees in Europe since the end of World War II. More than 7 million Ukrainians fled to other European countries and a further 6.9 million were displaced internally, according to the UN refugee agency UNHCR.

Globally, the number of displaced people exceeded 100 million for the first time.

Europe sweated through its hottest summer on record, with records tumbling in many countries, including England where the mercury topped 40 degrees Celsius (104 degrees Fahrenheit) for the first time. Forest fires linked to the hotter, drier conditions also guzzled more land than ever before in Europe -- over 600,000 hectares.

North Korea fired a record number of missiles into the Sea of Japan in response to large-scale joint military exercises staged by South Korea and the United States.

A particularly intense peak saw 23 missiles fired in 24 hours on November 2.

After 70 years on the throne, Britain's longest-serving monarch, Queen Elizabeth II, passed away on September 8, aged 96.

Before her massive state funeral, an estimated quarter of a million people queued round the clock to view the coffin as it lay in state.

It was a big year for Elon Musk, the world's richest man whose fortune was estimated by Forbes at close to $200 billion at the start of December.

The CEO of Tesla and SpaceX added Twitter to his portfolio for $44 billion and swiftly caused controversy, by firing half the staff and unbanning people who had been thrown off the platform, including Donald Trump.

The art collection of Microsoft co-founder Paul Allen, which included works by Cezanne, Klimt and Van Gogh, was sold by Christie's for $1.62 billion, the biggest amount ever for an art auction.

Marilyn Monroe was a big hitter too, with one of her photo portraits by Andy Warhol selling for $195 million, making it the most expensive 20th century artwork.

When Rafael Nadal won the French Open for the 14th time, the Spanish ace raised his own record of Grand Slam titles to 22, ahead of Novak Djokovic (21) and Roger Federer (20).

It was also a year of farewells with two of the sport's greatest players calling time on their glittering careers: Federer and Serena Williams, who has 23 Grand Slams to her name.

The 10th album by the US megastar, "Midnights", caused such a frenzy that Spotify broke down as more fans sought to listen to it over a single day than any other album.

Ten of its tracks were listed in the top ten Billboard Hot 100, also a first.

Less glorious for Swift was her topping the list for the "worst private jet CO2 emission offenders" among celebrities for her extensive private jet use.

In August when she was awarded the unenviable prize, she had already clocked up 170 flights in her private jet.

In November the world's population -- which numbered 2.5 billion in 1950 -- exceeded eight billion, according to the UN.

Wildfires across Europe this summer sharpened focus on the consequences of climate change
Wildfires across Europe this summer sharpened focus on the consequences of climate change AFP
Elon Musk, the world's richest man, in October sealed the deal to buy Twitter for $44 billion
Elon Musk, the world's richest man, in October sealed the deal to buy Twitter for $44 billion AFP
Spain's Rafael Nadal with 22 titles has more Grand Slams than any other player in the history of the men's game
Spain's Rafael Nadal with 22 titles has more Grand Slams than any other player in the history of the men's game AFP