Uttar Pradesh
British India era

Starting from Bengal in the second half of the 18th century, a series of battles for north Indian lands finally gave the British East India Company accession over the state's territories. Ajmer and Jaipur kingdoms were also included in this northern territory, which was named the " North-Western Provinces " (of Agra). Although UP later became the fifth-largest state of India, NWPA was one of the smallest states of the British Indian empire. Its capital shifted twice between Agra and Allahabad.

Due to dissatisfaction with British rule, a serious rebellion erupted in various parts of North India, which became known as the Indian Rebellion of 1857; Bengal regiment 's sepoy stationed at Meerut cantonment, Mangal Pandey, is widely considered as its starting point. After the revolt failed, the British divided the most rebellious regions by reorganising their administrative boundaries, splitting the Delhi region from 'NWFP of Agra' and merging it with Punjab Province, while the Ajmer – Marwar region was merged with Rajputana and Oudh was incorporated into the state. The new state was called the North Western Provinces of Agra and Oudh, which in 1902 was renamed as the United Provinces of Agra and Oudh. It was commonly referred to as the United Provinces or its acronym UP.

In 1920, the capital of the province was shifted from Allahabad to Lucknow. The high court continued to be at Allahabad, but a bench was established at Lucknow. Allahabad continues to be an important administrative base of today's Uttar Pradesh and has several administrative headquarters. Uttar Pradesh continued to be central to Indian politics and was especially important in modern Indian history as a hotbed of the Indian independence movement. The state hosted modern educational institutions such as the Aligarh Muslim University, Banaras Hindu University and Darul Uloom Deoband. Nationally known figures such as Ram Prasad Bismil and Chandra Shekhar Azad were among the leaders of the movement in Uttar Pradesh, and Motilal Nehru, Jawaharlal Nehru, Madan Mohan Malaviya and Govind Ballabh Pant were important national leaders of the Indian National Congress. The All India Kisan Sabha was formed at the Lucknow session of the Congress on 11 April 1936, with the famous nationalist Sahajanand Saraswati elected as its first president, to address the longstanding grievances of the peasantry and mobilise them against the zamindari landlords attacks on their occupancy rights, thus sparking the Farmers movements in India. During the Quit India Movement of 1942, Ballia district overthrew the colonial authority and installed an independent administration under Chittu Pandey. Ballia became known as "Baghi Ballia" (Rebel Ballia) for this significant role in India's independence movement.
detectable_content:number_placeholders[6]