Gooty (pronounced 'Gutti') is a census town in Anantapur district in the Indian state of Andhra Pradesh. The history of Gooty dates back to the 7th century when is was previously known as Gowthamapuri. The region of Gooty was first under the rule of king Ashoka and there is a Minor Rock Edict in Yerraguda (6 km from Gooty). In the subsequent centuries Gooty was under the rule of Sri Krishnadevaraya's Vijayanagara empire. The Pemmasani Nayaks of Gandikota controlled Gooty as subordinates of Vijayanagar kings. Later, it came under the control of Hyder Ali and Tipu Sultan of the Kingdom of Mysore.