The history of Jaisalmer is intricately tied to the Bhati Rajput dynasty. The city was founded in 1156 AD by Rawal Jaisal, a Rajput ruler who sought a more secure capital than his previous stronghold at Lodhruva. Jaisalmer's strategic location on the ancient camel caravan routes connecting India to Central Asia, Persia, and the Middle East brought it immense wealth. Merchants and traders built intricately carved sandstone mansions, known as *havelis*, which remain some of the district's most famous landmarks.
The district's fortunes began to decline during the British colonial era when the rise of maritime trade routes and the development of the port of Bombay diverted trade away from the overland desert caravans. Following India's independence in 1947 and the partition of the subcontinent, Jaisalmer's historic trade routes were permanently severed by the closure of the border with the newly formed state of Pakistan. Jaisalmer officially merged into the state of Rajasthan in 1949.
In modern Indian history, Jaisalmer District has been a focal point of national security. It was a major theater during the Indo-Pakistani Wars of 1965 and 1971. The Battle of Longewala (1971), fought in the district, is celebrated as one of the most remarkable victories of the Indian Armed Forces. Additionally, the historic town of Pokaran, located within the district, gained global prominence when India conducted its underground nuclear tests there in 1974 (Smiling Buddha) and 1998 (Operation Shakti).
