<P> During the Kakatiya rule, Warangal was referred with various names like Orugallu, Ekasila Nagaram, or Omatikonda all these means a' single stone' referring to a huge granite boulder present in the Warangal fort . When the kakatiyan dynasty was defeated by Delhi Sultanate in 1323, ruler Juna khan conquered the city and renamed it as Sultanpur . Later Musunuri Nayaks recaptured warangal in 1336 A.D. and named it Orugallu again . </P> <P> Warangal was the ancient capital of kakatiya dynasty . It was ruled by many kings such as BetaRaja I, ProlaRaja I, BetaRaja II, ProlaRaja II, Rudradeva, Mahadeva, Ganapathideva, Prataparudra and Rani Rudrama Devi who is the only woman to rule over Telugu region . Beta Raja I is the founder of Kakatiya Dynasty and ruled the kingdom for 30 years and was succeeded by his son Prola Raja I who shifted his capital to Hanamkonda . </P> <P> During the rule of Ganapathideva, the capital was shifted from Hanamkonda to Warangal . Kakatiya Period Inscriptions praised Warangal as best city within all of Telugu region up to shores of the Ocean . The Kakatiyas left many monuments, including an impressive fortress, four massive stone gateways, the Swayambhu temple dedicated to Shiva, and the Ramappa temple situated near Ramappa Lake . The cultural and administrative distinction of the Kakatiyas was mentioned by Marco Polo . After the defeat of Prataparudra II, the Musunuri Nayaks united 72 Nayak chieftains and captured Warangal from Delhi Sultanate and ruled for fifty years . After the demise of the Nayaks, Warangal was part of the Bahmani Sultanate and then the Sultanate of Golconda . </P> <P> The Mughal emperor Aurangzeb conquered Golconda in 1687, and it remained part of the Mughal empire until the southern provinces of the empire split away to become the state of Hyderabad in 1724, which included the Telangana region and some parts of Maharashtra and Karnataka . Hyderabad was annexed to India in 1948, and became an Indian state called as Hyderabad state . In 1956 Hyderabad state was partitioned as part of the States Reorganisation Act, and Telangana, the Telugu - speaking region of Hyderabad state, which includes Warangal, became part of Andhra Pradesh . After the Telangana movement, Telangana state was formed on 2 June 2014, warangal became part of Telangana State . </P>

Who shifted the capital from hanamkonda to warangal