Title: 2011 in Spain
Content: Monarch - Juan Carlos I ; Prime Minister - José Luis Rodríguez Zapatero (until 21 December), Mariano Rajoy (starting 21 December) 
Title: Premiership of Mariano Rajoy
Content:  Mariano Rajoy became Prime Minister of Spain on 20 December 2011, after his People's Party's (PP) landslide victory in the 2011 general election. The PP's overall majority of 186 seats gave Rajoy a free hand to handle the country's political and economic situation for the next four years, attaining a parliamentary stability that his predecessor, José Luis Rodríguez Zapatero, had not enjoyed. However, Rajoy's use of decree-laws and the blocking of opposition bill amendments and parliamentary committees would earn him strong criticism from both the media and opposition parties throughout the Legislature, because of the perceived undue use his party made 
Title: Mariano Rajoy
Content:  Mariano Rajoy Brey (born 27 March 1955) is a Spanish politician who served as Prime Minister of Spain from 2011 to 2018, when a vote of no confidence ousted his government. On 5 June 2018, he announced his resignation as People's Party leader. He became Leader of the People's Party in 2004 and Prime Minister in 2011 following the People's Party landslide victory in that year's general election becoming the sixth President of the Spanish Government. The party lost its majority in the 2015 general election, but after that election ended in deadlock, a second election in 2016 enabled Rajoy to be reelected Prime Minister as 
Title: Politics of Spain
Content:  severe austerity measures, cutting spending and laying off workers. In March 2011, Rodríguez Zapatero made his decision not to lead the Socialist Party in the coming elections, which he called ahead of schedule for 20 November 2011. The People's Party, which presented Mariano Rajoy for the third time as candidate, won a decisive victory, obtaining an absolute majority in the Congress of Deputies. Alfredo Pérez Rubalcaba, first deputy prime minister during Rodríguez Zapatero's government and candidate for the Socialist Party in 2011, was elected secretary general of his party in 2012, and became the leader of the opposition in Parliament. The elections 
Title: First government of Mariano Rajoy
Content:  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. It succeeded the second Zapatero government and was the Government of Spain from 22 December 2011 to 4 November 2016, a total of days, or 4 years, 10 months, 19 days. The cabinet comprised members of the PP and a number of independents. 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.
Title: Prime Minister of Spain
Content:  constitutional practice in Spain calls for the king to act on the advice of his ministers, the prime minister is the country's de facto chief executive. Pedro Sánchez of the Spanish Socialist Workers' Party (PSOE) has been Prime Minister since 2 June 2018, after a successful motion of no confidence against former prime minister Mariano Rajoy. The Sánchez government technically ceased on 29 April 2019 after the 2019 Spanish general election, but was acting afterwards. However, following the November 2019 general election, Sánchez earned a second mandate as Prime Minister after receiving a plurality of votes in the second round vote of his investiture at the Congress of Deputies on 7 January 2020. He then resumed being the official prime minister after he was sworn in by King Felipe on 8 January 2020. His new government was then sworn in by King Felipe on 13 January 2020.
Title: 2011 in Spain
Content: 11 May - an earthquake struck Lorca, Murcia. ; 15 May - nationwide protests against the economic and political situation. ; 22 May - Spanish local elections, 2011. ; 20 November - general election, won by the People's Party whose leader is Mariano Rajoy. 
Title: Spain
Content:  served as a backdrop to the 2011–12 Spanish protests. Catalan independentism also rose. In 2011, Mariano Rajoy's conservative People's Party won the election with 44.6% of votes. As prime minister, he continued to implement austerity measures required by the EU Stability and Growth Pact. On 19 June 2014, the monarch, Juan Carlos, abdicated in favour of his son, who became Felipe VI. A Catalan independence referendum was held on 1 October 2017 and then, on 27 October, the Catalan parliament voted to unilaterally declare independence from Spain to form a Catalan Republic on the day the Spanish Senate was discussing approving direct rule over Catalonia as called for by the Spanish 
Title: José Luis Rodríguez Zapatero
Content:  José Luis Rodríguez Zapatero (born 4 August 1960) is a Spanish politician and member of the Spanish Socialist Workers' Party (PSOE). He was the Prime Minister of Spain being elected for two terms, in the 2004 and 2008 general elections. On 2 April 2011 he announced he would not stand for re-election in the 2011 general election and left office on 21 December 2011. Among the main actions taken by the Zapatero administration were the withdrawal of Spanish troops from the Iraq war, the increase of Spanish troops in Afghanistan; the idea of an Alliance of Civilizations; the legalisation of same-sex marriage in Spain; reform of abortion law; a peace negotiation attempt with ETA;  increase of tobacco restrictions; and the reform of various autonomous statutes, particularly the Statute of Catalonia.
Title: 2011 Spanish general election
Content:  The 2011 Spanish general election was held on Sunday, 20 November 2011, to elect the 10th Cortes Generales of the Kingdom of Spain. All 350 seats in the Congress of Deputies were up for election, as well as 208 of 266 seats in the Senate. An election had not been due until April 2012 at latest, but a call by Prime Minister José Luis Rodríguez Zapatero for a snap election five months ahead of schedule was announced on 29 July 2011. Zapatero would not be seeking a third term in office, and with political pressure mounting, a deteriorating economic situation and his political project exhausted, an early election was perceived 

Question: who is the prime minister of spain 2011?
Answer: Mariano Rajoy.