You will be given a definition of a task first, then some input of the task.
In this task, you are given a context, a subject, a relation, and many options. Based on the context, from the options select the object entity that has the given relation with the subject. Answer with text (not indexes).

Context: Manuel Azaña Díaz (10 January 1880  3 November 1940) was the second Prime Minister of the Second Spanish Republic (19311933), and later served again as Prime Minister (1936), and then as the second and last President of the Republic (19361939). The Spanish Civil War broke out while he was President. With the defeat of the Republic in 1939, he fled to France, resigned his office, and died in exile shortly afterwards., Santiago Casares y Quiroga (A Coruña, Galicia, 8 May 1884  Paris, 17 February 1950) was Prime Minister of Spain from 13 May to 19 July 1936., Legislative elections were held in Spain on 16 February 1936 . At stake were all 473 seats in the unicameral Cortes Generales . The winners of the 1936 elections were the Popular Front , a left - wing coalition of the Spanish Socialist Workers ' Party ( PSOE ) , Republican Left ( Spain ) ( IR ) , Esquerra Republicana de Catalunya ( ERC ) , Republican Union Party ( UR ) , Communist Party ( PCE ) , Acció Catalana ( AC ) and other parties . They commanded a narrow lead in terms of the popular vote , but a significant lead over the main opposition party , Spanish Confederation of the Autonomous Right ( CEDA ) , of the political right in terms of seats . The election had been prompted by a collapse of a government led by Alejandro Lerroux , and his Radical Republican Party . Manuel Azaña would replace Manuel Portela Valladares , caretaker , as prime minister , after what were widely considered fair elections -- although limited cases of electoral fraud did occur . They were the last of three elections held during the Spanish Second Republic , coming three years after the 1933 general election which had brought the first of Lerroux 's governments to power . The poor result for the political right would help bring about the July coup , and the ensuing civil war . The right - wing military coup initiated by Generals Sanjurjo and Franco ultimately brought about the end of parliamentary democracy in Spain until the 1977 general election ., A prime minister is the most senior minister of cabinet in the executive branch of government, often in a parliamentary or semi-presidential system. In many systems, the prime minister selects and may dismiss other members of the cabinet, and allocates posts to members within the government. In most systems, the prime minister is the presiding member and chairman of the cabinet. In a minority of systems, notably in semi-presidential systems of government, a prime minister is the official who is appointed to manage the civil service and execute the directives of the head of state.
In parliamentary systems fashioned after the Westminster system, the prime minister is the presiding and actual head of government and head of the executive branch. In such systems, the head of state or the head of state's official representative (i.e. the monarch, president, or governor-general) usually holds a largely ceremonial position, although often with reserve powers., The President of the Government 
formally known by English-speaking nations and formally translated by the European Commission Directorate-General in English as Prime Minister, is the head of the government of Spain. The current office is established under the Constitution of 1978. , The Republican Left was a Spanish left-wing republican party founded in 1934.
History.
The party was founded in 1934 following the left's defeat in the 1933 election, by the merger of Manuel Azaña's Republican Action, part of Marcelino Domingo's Radical Socialist Republican Party and Santiago Casares Quiroga's Autonomous Galician Republican Organization (ORGA). Its members included José Giral, Victoria Kent and Manuel Azaña who became the party's leader., The Cortes Generales ("General Courts") is the legislature of Spain. It is a bicameral parliament, composed of the Congress of Deputies (the lower house) and the Senate (the upper house). The Cortes has power to enact any law and to amend the constitution. Moreover, the lower house has the power to confirm and dismiss the President of the Government (prime minister)., Alejandro Lerroux y García (La Rambla, Córdoba, 4 March 1864  Madrid, 25 June 1949) was a Spanish politician who was the leader of the Radical Republican Party during the Second Spanish Republic. He served as Prime Minister of Spain three times from 1933 to 1935 and held several cabinet posts as well., Subject: spanish general election, Relation: office_contested, Options: (A) member (B) president (C) prime minister (D) prime minister of spain
Output:
prime minister of spain