How the Spanish general election works
Elections were held on Sunday for both houses of parliament: the senate and the congress of deputies. Congress, the lower house, is the more powerful of the two. After an election, a prime minister and government are chosen by means of an investiture debate in the 350-seat congress. If a prime ministerial candidate fails to secure an absolute majority in the first round – 176 votes or more – a second round is held 48 hours later in which only a simple majority (more yes votes than no votes) is needed.
Since it looks almost certain that no party will win a majority of seats, a coalition deal is very probable.