The parliamentary system obliges the government to have the confidence of the parliament at all times. If Congress censures the government on its own initiative then a prospective replacement candidate for Prime Minister must be nominated at the same time. If the censure motion carries, the replacement candidate is deemed to have the confidence of the Congress and automatically becomes the new Prime Minister. This constructive vote of no confidence was established by articles 113 and 114 of the Constitution; there have been four attempts, and the first successful vote was on 1 June 2018 when Mariano Rajoy was voted out in favour of Pedro Sánchez.