Millions of people are expected to turn their eyes to the western horizon on Wednesday evening as a solar eclipse sweeps across parts of Europe, with Spain set to experience its first total eclipse in more than a century.

The moon will begin passing in front of the sun some time before sunset, bringing twilight-like conditions or complete darkness to parts of the continent.

In large parts of Spain, the eclipse will be total. Forecasts suggest clouds are unlikely to obscure the view of this celestial event.

It is essential to wear certified protective glasses when looking at the sun, even when it is partially obscured by the moon, to avoid the risk of irreversible eye damage.

In Spain, the authorities are also on high alert over the risk of forest fires.

Hundreds of thousands of people are expected to gather outdoors to watch the eclipse, prompting concerns that the large crowds could increase the risk of fires.

Large areas of Spain have already been affected by wildfires this year.