During the conflict between the Marathas commanded by Sadashivrao and the Nizams, the treaty of Udgir was signed, making the fort of Udgir renowned. It was built in the 12th century. Samadhi of Rishi Udaygiri Maharaj, whose name the fort bears, is buried below the surface of the same structure. There are many halls in the fort's layout, which is in the shape of a square.