MADRID (AP) — Spaniards were rushing to buy specialized glasses to view a rare total solar eclipse Wednesday, as authorities warned people flocking to rural areas to avoid anything that could spark new wildfires.

Across a swath of northern and central Spain, millions of people will have some of mainland Europe’s best views of the celestial spectacle. It will begin around sunset, when the sun, moon and Earth align, briefly bringing parts of the Iberian Peninsula — plus slivers of Greenland and Iceland — into darkness.