The town was destroyed in a 1570-71 siege by the Nizam Shahi Sultan of Ahmadnagar, but a treaty was concluded which lifted the siege, and the town was rebuilt and surrounded by walls and bastions.