Mariano Rajoy was elected to a second term as Spain’s prime minister, ending 10 months of political deadlock.
The Spanish Parliament voted, 170-111, in Rajoy’s favor with 68 abstentions. Rajoy, leader of the conservative Popular Party, will form a new minority government.
Hundreds of protestors against the Popular Party marched through Madrid during the vote with signs that said, “No To The Mafia Coup.”
The vote by the Parliament came after two inconclusive national elections and nearly a year of stalemate.
Rajoy was rejected in the first confidence vote Thursday, in which he needed a majority in the Parliament. For the second vote, he needed just more votes in favor than against.
Rajoy will be sworn in before King Felipe VI on Sunday or Monday, the Associated Press reported. He is set to announce the members of his cabinet on Thursday.
More Must-Reads from TIME
- Why Trump’s Message Worked on Latino Men
- What Trump’s Win Could Mean for Housing
- The 100 Must-Read Books of 2024
- Sleep Doctors Share the 1 Tip That’s Changed Their Lives
- Column: Let’s Bring Back Romance
- What It’s Like to Have Long COVID As a Kid
- FX’s Say Nothing Is the Must-Watch Political Thriller of 2024
- Merle Bombardieri Is Helping People Make the Baby Decision
Write to Mahita Gajanan at mahita.gajanan@time.com