Jantar Mantar is an astronomical observatory built by Maharaja Jai Singh II of Jaipur in the early 18th century. There are five Jantar Mantar complexes in India (Delhi, Jaipur, Ujjain, Varanasi, and Mathura) containing large-scale architectural instruments for measuring time, predicting eclipses, and tracking stars and planets.