Spain's conservative parties are poised to take power after voters ousted Socialist Prime Minister Pedro Sánchez, according to Fox News. The center-right People's Party won 132 seats and Vox rose from 33 to 52, giving the two parties 184 of the 350 seats in parliament. That is enough for a majority, but they still must negotiate how they will govern.

Voters turned against the government over immigration, housing costs and corruption scandals. Max Bergmann of the Center for Strategic and International Studies said the result reflected frustration with a longtime incumbent more than a broad shift to the right across Europe. High energy prices linked to the Iran war added to the pressure.

Relations with Washington have been strained for years. Spain was the only NATO member to refuse the alliance's 5% of GDP defense spending target by 2035, and Sánchez refused to let U.S. forces use the Rota and Morón bases for strikes on Iran. Spain has said it can meet its obligations by spending about 2.1% of GDP.

The People's Party has promised to repair ties with Washington and strengthen Spain's role in NATO. However, Alberto Núñez Feijóo has not committed to the 5% target, and neither he nor Vox leader Santiago Abascal has pledged to restore American access to the bases for operations against Iran. Until a new government forms, Sánchez remains in office in a caretaker role.