A man passes under sprinklers installed in a bar on May 19, the first day of high temperatures, in Seville, Spain.
CNN  — 

Parts of Spain have experienced a record heatwave for the month of May as temperatures reached 40.3 degrees Celsius (104.5 degrees Fahrenheit) in one city, according to the country’s national weather agency AEMET.

On Sunday afternoon, the weather agency had warnings of high temperatures in place across 17 Spanish regions.

According to Reuters, people in the south of the country “waved fans, glugged water and splashed themselves at fountains” on Saturday as the heatwave descended on the region.

On Friday, the city of Jaén in Andalucía, southern Spain, recorded a temperature of 40.3 degrees Celsius.

In a tweet, the Spanish weather agency said that, in the case of Jaén, temperatures were up to 16 degrees Celsius (28.8 degrees Fahrenheit) higher than the average for the time of year.

Aerial view of Jaen Cathedral in Jaen, Spain, where temperatures have hit 40.3 degrees Celsius.
A city thermometer on the Puente del Cachorro bridge reads 42 degrees in Seville.

In the rest of the peninsula temperatures were at least 7 degrees Celsius (12.6 degrees Fahrenheit) higher than the normal average, the agency added.

An AEMET spokesperson, Ruben del Campo, said: “This episode is very unusual for mid-May and could be one of the most intense episodes in the last 20 years.”

The early hours of Saturday morning were “extraordinarily warm” for the time of year across much of the center and south of Spain, according to AEMET.

In many places, temperatures in the early morning did not drop below 25 degrees Celsius (77 degrees Fahrenheit) – something the weather agency said “is practically unheard of in the peninsula in May.”

AEMET also said that the city of Segovia had experienced its first ever “tropical night” in May, defined as a night where temperatures do not fall below 20 degrees Celsius (68 degrees Fahrenheit).

Several countries around the world have been experiencing major heatwaves recently, including India and Pakistan, and parts of the United States – such as the drought-stricken plains and Texas, as temperatures hit 90 degrees Fahrenheit this month.

Correction: This story has been updated to correct a conversion from degrees Celsius to degrees Fahrenheit of the difference between the average temperature in Spain this month and the normal average for the time of the year.