The first government of Mariano Rajoy was formed on 22 December 2011, following the latter's election as Prime Minister of Spain by the Congress of Deputies on 20 December and his swearing-in on 21 December, as a result of the People's Party (PP) emerging as the largest parliamentary force at the 2011 Spanish general election.
[3][4][5] It was automatically dismissed on 21 December 2015 as a consequence of the 2015 general election, but remained in acting capacity until the next government was sworn in.
[6][7] Rajoy's first government saw a number of cabinet changes during its tenure: From 21 December 2015, Rajoy's cabinet took on acting duties for the duration of the government formation process resulting from the 2015 general election.
A number of ministers renounced their posts throughout this period, with the ordinary discharge of duties of their ministries being transferred to other cabinet members as a result of Rajoy being unable to appoint replacements while in acting role.
[25][26][27][28] Mariano Rajoy's first government was organised into several superior and governing units, whose number, powers and hierarchical structure varied depending on the ministerial department.