 Later Lingama Nayak of Vellore was defeated, and the Vellore Fort came under direct control of Venkatapati Raya.Another expedition headed by Yachamanedu went right into the Madurai Nayak kingdom, putting those revolting Nayaks in order.Around 1592 Venkatapati shifted his capital from Penukonda to Chandragiri, which was further south near the Tirupathi hills.