| Pakistan|| Rahim Yar Khan|
Khanpur (Punjabi ??????) is a city and Tehsil of the Rahim Yar Khan District of Bahawalpur Division, in the Punjab province of Pakistan.
The city is a centre for sugarcane and cotton agriculture. It is one of the largest Tehsils of the Rahim Yar Khan District, in terms of its area. The famous Cholistan Desert is mainly located in the Khanpur area. There are many places in Pakistan named Khanpur, but only two of them have the status of Tehsil, and the other one is in Khyber Pakhtunkhwa. Khanpur is a strong candidate for becoming a District, as it had the status of District in the British Era until 1938.
In 997 CE, Sultan Mahmud Ghaznavi, took over the Ghaznavid dynasty empire established by his father, Sultan Sebuktegin, In 1005 he conquered the Shahis in Kabul in 1005, and followed it by the conquests of Punjab region. The Delhi Sultanate and later Mughal Empire ruled the region. The Punjab region became predominantly Muslim due to missionary Sufi saints whose dargahs dot the landscape of Punjab region.
After the decline of the Mughal Empire, the Bahawalpur state ruled the region.
Khanpur was established in 1848, and had the status of district headquarters in British Era till 1938. but later on this status was given to the city of Rahim Yar Khan. Khanpur (Khanpur Katoora) is one of the oldest cities of the Punjab.
The predominantly Muslim population supported Muslim League and Pakistan Movement. After the independence of Pakistan in 1947, the minority Hindus and Sikhs migrated to India while the Muslims refugees from India settled down in the Rahim Yar Khan District.
Agriculture is the main livelihood of Khanpurs residents. The major crops grown in the region are cotton, sugarcane, wheat, rice, and vegetables.vegetables specially carrots is a very famous in winter season in khanpur. Although Khanpur was originally a major cotton growing area, it has now shifted towards being a major sugarcane growing region. The Average yield of Sugarcane crop is 748.15 Mnds/Acre (2011–12), which is greater than the average yield of World and Pakistan. Vegetables are grown widely in scattered areas, and the number of greenhouses is increasing every year.