Legend has it that the Bhati Rajput ruler Rawal Jaisal built the fort in 1156.
From Wikipedia (“Jaisalmer Fort”), CC BY-SA
Jaisalmer Fort is situated in the city of Jaisalmer, in the Indian state of Rajasthan. It is one of the very few "living forts" in the world (such as Carcassonne, France), as nearly one fourth of the old city's population still resides within the fort. For the better part of its 860-year history, the fort was the city of Jaisalmer.