Formerly part of the Ottoman Empire, Iraq was occupied by the United Kingdom during the course of World War I; in 1920, it was declared a League of Nations mandate under UK administration. In stages over the next dozen years, Iraq attained its independence as a kingdom in 1932. A "republic" was proclaimed in 1958, but in actuality a series of strongmen ruled the country until 2003. The last was SADDAM Husayn. Territorial disputes with Iran led to an inconclusive and costly eight-year war (1980-88). In August 1990, Iraq seized Kuwait but was expelled by US-led UN coalition forces during the Gulf War of January-February 1991. Following Kuwait's liberation, the UN Security Council (UNSC) required Iraq to scrap all weapons of mass destruction and long-range missiles and to allow UN verification inspections. Continued Iraqi noncompliance with UNSC resolutions over a period of 12 years led to the US-led invasion of Iraq in March 2003 and the ouster of the SADDAM Husayn regime. US forces remained in Iraq under a UNSC mandate through 2009 and under a bilateral security agreement thereafter, helping to provide security and to train and mentor Iraqi security forces. In October 2005, Iraqis approved a constitution in a national referendum and, pursuant to this document, elected a 275-member Council of Representatives (COR) in December 2005. The COR approved most cabinet ministers in May 2006, marking the transition to Iraq's first constitutional government in nearly a half century. Nearly nine years after the start of the Second Gulf War in Iraq, US military operations there ended in mid-December 2011. In January 2009 and April 2013, Iraq held elections for provincial councils in all governorates except for the three comprising the Kurdistan Regional Government and Kirkuk Governorate. Iraq held a national legislative election in March 2010 - choosing 325 legislators in an expanded COR - and, after nine months of deadlock the COR approved the new government in December 2010. In April 2014, Iraq held a national legislative election and expanded the COR to 328 legislators. Prime Minister Nuri al-MALIKI dropped his bid for a third term in office, enabling new Prime Minister Haydar al-ABADI, a Shia Muslim from Baghdad, to win legislative approval of his new cabinet in September 2014. Since 2014, Iraq has been engaged in a military campaign against the Islamic State of Iraq and the Levant (ISIL) to recapture territory lost in the western and northern portion of the country.