Historically, Lucknow was the capital of the Awadh region, controlled by the Delhi Sultanate and later the Mughal Empire. It was transferred to the Nawabs of Awadh. In 1856, the British East India Company abolished local rule and took complete control of the city along with the rest of Awadh and, in 1857, transferred it to the British Raj.
In 1920 the provincial seat of government for the United Province moved from Allahabad to Lucknow. Upon Indian independence in 1947, the United Provinces were reorganised into the state of Uttar Pradesh, and Lucknow remained its capital.