Gandikota fort was built by Kapa Raja as a sand fort. It was modified and renovated to the current form by Pemmasani Ramalinga Nayaka.