Attempts to form a government in Spain followed the inconclusive Spanish general election of 20 December 2015, which failed to deliver an overall majority for any political party. As a result, the previous People's Party (PP) cabinet headed by Mariano Rajoy was formed to remain in a caretaker capacity until the election of a new government.