Question: When was the state of emergency declared in the country that elects its leaders by voting?

full_context: Document 1: History of Malaysia: The Malayan Emergency as it was known, lasted from 1948 to 1960, and involved a long anti-insurgency campaign by Commonwealth troops in Malaya. The British strategy, which proved ultimately successful, was to isolate the MCP from its support base by a combination of economic and political concessions to the Chinese and the resettlement of Chinese squatters into “New Villages” in “white areas” free of MCP influence. In December 1948, 24 villagers were executed by British troops. From 1949 the MCP campaign lost momentum and the number of recruits fell sharply. Although the MCP succeeded in assassinating the British High Commissioner, Sir Henry Gurney, in October 1951, this turn to terrorist tactics alienated many moderate Chinese from the Party. The arrival of Lt.-Gen Sir Gerald Templer as British commander in 1952 was the beginning of the end of the Emergency. Templer invented the techniques of counter-insurgency warfare in Malaya and applied them ruthlessly. Although the insurgency was defeated Commonwealth troops remained with the backdrop of the Cold War. Against this backdrop, independence for the Federation within the Commonwealth was granted on 31 August 1957, with Tunku Abdul Rahman as the first prime minister.
Document 2: British Empire: Britain's remaining colonies in Africa, except for self-governing Southern Rhodesia, were all granted independence by 1968. British withdrawal from the southern and eastern parts of Africa was not a peaceful process. Kenyan independence was preceded by the eight-year Mau Mau Uprising. In Rhodesia, the 1965 Unilateral Declaration of Independence by the white minority resulted in a civil war that lasted until the Lancaster House Agreement of 1979, which set the terms for recognised independence in 1980, as the new nation of Zimbabwe.
Document 3: Paraguay: Paraguay is a representative democratic republic, with a multi-party system and separation of powers in three branches. Executive power is exercised solely by the President, who is head of state and head of government. Legislative power is vested in the two chambers of the National Congress. The judiciary is vested on tribunals and Courts of Civil Law and a nine-member Supreme Court of Justice, all of them independent of the executive and the legislature.
Document 4: Dominican Republic: The Dominican Republic is a representative democracy or democratic republic, with three branches of power: executive, legislative, and judicial. The president of the Dominican Republic heads the executive branch and executes laws passed by the congress, appoints the cabinet, and is commander in chief of the armed forces. The president and vice-president run for office on the same ticket and are elected by direct vote for 4-year terms. The national legislature is bicameral, composed of a senate, which has 32 members, and the Chamber of Deputies, with 178 members.Judicial authority rests with the Supreme Court of Justice's 16 members. They are appointed by a council composed of the president, the leaders of both houses of Congress, the President of the Supreme Court, and an opposition or non–governing-party member. The court "alone hears actions against the president, designated members of his Cabinet, and members of Congress when the legislature is in session."The Dominican Republic has a multi-party political system. Elections are held every two years, alternating between the presidential elections, which are held in years evenly divisible by four, and the congressional and municipal elections, which are held in even-numbered years not divisible by four. "International observers have found that presidential and congressional elections since 1996 have been generally free and fair." The Central Elections Board (JCE) of nine members supervises elections, and its decisions are unappealable. Starting from 2016, elections will be held jointly, after a constitutional reform.
Document 5: War on Terror: In 2002, the Musharraf-led government took a firm stand against the jihadi organizations and groups promoting extremism, and arrested Maulana Masood Azhar, head of the Jaish-e-Mohammed, and Hafiz Muhammad Saeed, chief of the Lashkar-e-Taiba, and took dozens of activists into custody. An official ban was imposed on the groups on 12 January. Later that year, the Saudi born Zayn al-Abidn Muhammed Hasayn Abu Zubaydah was arrested by Pakistani officials during a series of joint U.S.-Pakistan raids. Zubaydah is said to have been a high-ranking al-Qaeda official with the title of operations chief and in charge of running al-Qaeda training camps. Other prominent al-Qaeda members were arrested in the following two years, namely Ramzi bin al-Shibh, who is known to have been a financial backer of al-Qaeda operations, and Khalid Sheikh Mohammed, who at the time of his capture was the third highest-ranking official in al-Qaeda and had been directly in charge of the planning for the 11 September attacks.
Document 6: Presidential system: A presidential system is a democratic and republican system of government where a head of government leads an executive branch that is separate from the legislative branch. This head of government is in most cases also the head of state, which is called president.
Document 7: Politics of Ecuador: The politics of Ecuador are multi-party. The central government polity is a four - yearly elected presidential, unicameral representative democracy. The President of Ecuador is head of state and head of government on a multi-party system, leading a cabinet with further executive power. Legislative power is not limited to the National Assembly as it may to a lesser degree be exercised by the executive which consists of the President convening an appointed executive cabinet. Subsequent acts of the National Assembly are supreme over Executive Orders where sufficient votes have been cast by the legislators. The judiciary is independent of the executive and the legislature. There is also constitutional republic
Document 8: Political corruption: There are two methods of corruption of the judiciary: the state (through budget planning and various privileges), and the private. Budget of the judiciary in many transitional and developing countries is almost completely controlled by the executive. The latter undermines the separation of powers, as it creates a critical financial dependence of the judiciary. The proper national wealth distribution including the government spending on the judiciary is subject of the constitutional economics. Judicial corruption can be difficult to completely eradicate, even in developed countries.
Document 9: Mau Mau Uprising: Aside from military operations against Mau Mau fighters in the forests, the British attempt to defeat the movement broadly came in two stages: the first, relatively limited in scope, came during the period in which they had still failed to accept the seriousness of the revolt; the second came afterwards. During the first stage, the British tried to decapitate the movement by declaring a State of Emergency before arresting 180 alleged Mau Mau leaders (see Operation Jock Scott below) and subjecting six of them to a show trial (the Kapenguria Six); the second stage began in earnest in 1954, when they undertook a series of major economic, military and penal initiatives.
Document 10: Senate of Kenya: The Senate is the upper house of the Parliament of Kenya. The Senate was first established as part of Kenya's 1963 Constitution. After being abolished in 1966, the Senate was re-established by the 2010 Constitution.
Document 11: Gamal Abdel Nasser: Preceding the reform law, in August 1952, communist-led riots broke out at textile factories in Kafr el-Dawwar, leading to a clash with the army that left nine people dead. While most of the RCC insisted on executing the riot's two ringleaders, Nasser opposed this. Nonetheless, the sentences were carried out. The Muslim Brotherhood supported the RCC, and after Naguib's assumption of power, demanded four ministerial portfolios in the new cabinet. Nasser turned down their demands and instead hoped to co-opt the Brotherhood by giving two of its members, who were willing to serve officially as independents, minor ministerial posts.
Document 12: Gamal Abdel Nasser: The crowd roared in approval and Arab audiences were electrified. The assassination attempt backfired, quickly playing into Nasser's hands. Upon returning to Cairo, he ordered one of the largest political crackdowns in the modern history of Egypt, with the arrests of thousands of dissenters, mostly members of the Brotherhood, but also communists, and the dismissal of 140 officers loyal to Naguib. Eight Brotherhood leaders were sentenced to death, although the sentence of its chief ideologue, Sayyid Qutb, was commuted to a 15-year imprisonment. Naguib was removed from the presidency and put under house arrest, but was never tried or sentenced, and no one in the army rose to defend him. With his rivals neutralized, Nasser became the undisputed leader of Egypt.
Document 13: Kenya: Kenya is a presidential representative democratic republic. The president is both the head of state and head of government, and of a multi-party system. Executive power is exercised by the government. Legislative power is vested in both the government and the National Assembly and the Senate. The Judiciary is independent of the executive and the legislature. There was growing concern especially during former president Daniel arap Moi's tenure that the executive was increasingly meddling with the affairs of the judiciary.Kenya has a high degree of corruption according to Transparency International's Corruption Perception Index (CPI), a metric which attempts to gauge the prevalence of public sector corruption in various countries. In 2012, the nation placed 139th out of 176 total countries in the CPI, with a score of 27/100. However, there are several rather significant developments with regards to curbing corruption from the Kenyan government, for instance, the establishment of a new and independent Ethics and Anti-Corruption Commission (EACC).
Document 14: Gamal Abdel Nasser: On 5 March, Nasser's security coterie arrested thousands of participants in the uprising. As a ruse to rally opposition against a return to the pre-1952 order, the RCC decreed an end to restrictions on monarchy-era parties and the Free Officers' withdrawal from politics. The RCC succeeded in provoking the beneficiaries of the revolution, namely the workers, peasants, and petty bourgeois, to oppose the decrees, with one million transport workers launching a strike and thousands of peasants entering Cairo in protest in late March. Naguib sought to crackdown on the protesters, but his requests were rebuffed by the heads of the security forces. On 29 March, Nasser announced the decrees' revocation in response to the "impulse of the street." Between April and June, hundreds of Naguib's supporters in the military were either arrested or dismissed, and Mohieddin was informally exiled to Switzerland to represent the RCC abroad. King Saud of Saudi Arabia attempted to mend relations between Nasser and Naguib, but to no avail.
Document 15: Mau Mau Uprising: On 20 October 1952, Governor Baring signed an order declaring a State of Emergency. Early the next morning, Operation Jock Scott was launched: the British carried out a mass - arrest of Jomo Kenyatta and 180 other alleged Mau Mau leaders within Nairobi. Jock Scott did not decapitate the movement's leadership as hoped, since news of the impending operation was leaked. Thus, while the moderates on the wanted list awaited capture, the real militants, such as Dedan Kimathi and Stanley Mathenge (both later principal leaders of Mau Mau's forest armies), fled to the forests.
ground_truth: 20 October 1952
sub_queries: What country elects its leaders by voting? Answer: Kenya
when was state of emergency declared in Kenya Answer: 20 October 1952