The city was built as an aggregation of about twelve fortified hamlets, known as kots () forming a considerable town. The 12 mahallahs (abodes) were built by the order of the Mughal Emperor Akbar, and named after the heads of various Pashtun families. Some of these forts have been severely damaged over time. Under Mughal rule, the city flourished and was notable for commerce and trade. It became the home of the legendary Sufi saint and celebrated poet, Bulleh Shah, who is buried in a large shrine in the city. After the decline of the Mughal Empire, the Kasur region fell into a power vacuum. Kasur was captured by Ahmad Shah Durrani of the Durrani Empire. Sikh The Sikhs sacked the city in 1747 under Jassa Singh Ahluwalia, and again in 1763 after Durrani shifted to Afghanistan. The Sikh Empire under Ranjit Singh, captured the city in 1807 in the Battle of Kasur. During the First Anglo-Sikh War, the city was occupied by Company forces on February 10, 1846. British During the British Raj, the irrigation canals were built that irrigated large areas of the Kasur District. Communal disturbances between Sikhs, Hindus, and Muslims erupted in 1908 over the issue of meat sales. Riots erupted following the Jallianwala Bagh massacre on 13 April 1919, leading to the destruction of civic infrastructure, including the city's railway station. Martial law was imposed on 16 April 1919 in response to the riots. Modern After the formation of Pakistan in 1947, the minority Hindus and Sikhs migrated to India, while Muslim refugees migrated from India and settled in Kasur. Kasur emerged as a major centre of leather tanning after independence, and is home to 1/3rd of Pakistan's tanning industry. Kasur is one of the biggest market and trading hub in the country of hides collection and leather tanning and processing. In recent times, hide traders in Kasur were engaged in smuggling donkey hides, a medicinal demand, to China via Karachi Port. In January 2018, two protestors were killed in rioting over the rape and murder of Zainab Ansari, a seven-year-old girl. There had been 12 similar murders in the past two years, five of which have been linked to one suspect, leading to widespread anger at police failures. In November 2020, Russia sponsored a 1,122-km high pressure RLNG pipeline from Port Qasim, Karachi to Kasur. In May 2021, Islamabad and Moscow agreed to change