Task: Question Generation
Input (English): Context_1 : Auburn is an electoral district of the Legislative Assembly of the Australian state of New South Wales in Sydney's West. It is currently represented by Luke Foley, the leader of the Australian Labor Party. Context_2 : East Sydney was an electoral district for the Legislative Assembly in the Australian colony of New South Wales created in 1859 from part of the electoral district of Sydney, covering the eastern part of the current Sydney central business district, Woolloomooloo, Potts Point, Elizabeth Bay and Darlinghurst, bordered by George Street to the east, Boundary Street to the west, and, from the creation of South Sydney in 1880, Liverpool Street and Oxford Street, to the south. It elected four members simultaneously, with voters casting four votes and the first four candidates being elected. For the 1894 election, it was replaced by the single-member electorates of Sydney-King, Sydney-Fitzroy and Sydney-Bligh. Context_3 : Kingsley Rasanayagam (1941–2004) was a Sri Lankan Tamil politician and former Member of Parliament. In 2004 Rasanayagam was selected by the Liberation Tigers of Tamil Eelam (LTTE) as a Tamil National Alliance (TNA) parliamentary candidate. He represented the Batticaloa multi-member electoral district for the TNA in the Sri Lankan Parliament, for a short period of time between April 2004 and May 2004. In May 2004, he was pressured to resign, by the LTTE because of his close relationship with former LTTE Eastern Province leader Vinayagamoorthy Muralitharan "alias" Karuna Amman. LTTE chief Velupillai Prabhakaran feared that he would become a patron to the political party registered by Karuna Amman, Tamil Makkal Viduthalai Pulikal (TMVP). Context_4 : Luke Aquinas Foley (born 27 July 1970) is an Australian politician who serves as the Leader of the Opposition in the Parliament of New South Wales and as parliamentary leader of the New South Wales branch of the Australian Labor Party. Foley was a member of the New South Wales Legislative Council since 19 June 2010 until his resignation to contest the Legislative Assembly seat of Auburn at the 2015 New South Wales election. Context_5 : In Canadian politics, a riding association (French: "association de comté" ), also known as a constituency association and officially called an electoral district association (French: "association de circonscription" ) is the basic unit of a political party, that is it is the party's organization at the level of the electoral district, or "riding". Major political parties attempt to have a riding association in each constituency though, usually, these associations are more active in ridings where the party has an elected Member of Parliament or has a reasonable chance of electing an MP in the future, and less active in ridings where the party's prospects have historically been poor. Context_6 : Richard M. Harris (born September 6, 1944) is a Canadian politician. He was a Member of Parliament from 1993 to 2015 and sat as a member of the Conservative Party of Canada. He was previously member of the Reform Party of Canada and the Canadian Alliance. From 2004 to 2015, he represented the electoral district of Cariboo—Prince George, and formerly represented Prince George–Bulkley Valley. He was first elected during the 1993 federal election and was re-elected in 1997, 2000, 2004, 2006, 2008 and 2011. He challenged Reform Party leader Preston Manning for leadership when Manning proposed merging the party with the Progressive Conservative Party of Canada. He later campaigned for Stockwell Day to become leader. The most prominent position he held with his party was Chief Opposition Whip from 2001 to 2002. He generated controversy when he appointed an unelected, Conservative Party member to represent a neighbouring electoral district in governmental affairs, though the electoral district had an elected Member of Parliament, but from an opposition party. In Fiscal Year 2009-10 he was the top spending Member of Parliament, and had the largest hospitality and lowest advertising expenditures of any house member. Context_7 : Ian Winton Smith (born 25 November 1939) is a former Victoria, Australia Liberal Party of Australia politician. He represented the Electoral district of Warrnambool in the State of Victoria as a MLA from 1967 until 1983. He resigned to unsuccessfully contest Liberal Party pre-selection for the Federal Division of Wannon even though he would only been required to resign from State Parliament if he had been successful for that preselection for Federal Parliament. He later re-entered the Victorian Parliament as MLA for Electoral district of Polwarth from 1985 to 1999. Context_8 : Sydney-Denison was an electoral district of the Legislative Assembly in the Australian state of New South Wales, created in 1894 from part of the electoral district of West Sydney in the Ultimo area and named after Governor Denison. It was abolished in 1904 and absorbed into the electoral district of Pyrmont. Context_9 : Carole Alison James, MLA (born December 22, 1957) is a Canadian politician and former public administrator. She is the MLA for the Victoria-Beacon Hill electoral district. She is the former Leader of the Opposition in British Columbia and former leader of the British Columbia New Democratic Party (NDP), a social democratic political party. She announced her intention to resign as leader on December 6, 2010 and was officially replaced by interim leader Dawn Black on January 20, 2011. Context_10 : Abdu Rishad Bathiudeen is a Sri Lankan politician, a member of the Parliament of Sri Lanka and the Minister of Industry & Commerce of Sri Lanka since April 2010. He is the Leader of the All Ceylon Makkal Congress (ACMC) Party, a registered political party in Sri Lanka. Bathiudeen was elected as a Member of Parliament (MP) from the Vanni Electoral District in December 2001 and was re-elected in April 2004 after which he was again re-elected in April 2010 and 2015 June from the same Electoral District which comprises Vavuniya, Mannar and Mullathivu Administrative Districts. Rishad Bathiudeen holds a National Diploma in Technology (NDT) in Civil Engineering from the University of Moratuwa, Sri Lanka and is also a member of the Chartered Institute of Engineering (C.I.E.), UK. fact_1 : Auburn is an electoral district of the Legislative Assembly of the Australian state of New South Wales in Sydney's West. fact_2 :  It is currently represented by Luke Foley, the leader of the Australian Labor Party. fact_3 :  Foley was a member of the New South Wales Legislative Council since 19 June 2010 until his resignation to contest the Legislative Assembly seat of Auburn at the 2015 New South Wales election. Answer: 2015
Output (English): When did the politician who represented the electoral district in Sydneys West resign from his political party?