The Jaisalmer fort, built in the 12th century AD, is one of the largest fully preserved fortified cities in the world. It is located atop a hill, and to enter the fort would require passing thru four gateways, located along a meandering path, that could confuse any invading force. In view of the strategic location on the trade route, many battles have been fought to take control of the fort. To strengthen its defenses, the fort contains three layers of walls, and 99 bastions. The fort has been declared a UNESCO World Heritage site.
Inside the fort are located the King's Palace, Queen's Palace, seven Jain temples, few Hindu temples and havelis of merchants and traders. There are also many restaurants, and shops sellling local handicrafts, inside the fort complex.