The Socialist Party of Prime Minister Pedro Sánchez has won the presidency of Congress with the votes of two separatist parties. In return, an amnesty law is also to be passed. The election is seen as a yardstick for the difficult formation of a government that still lies ahead.