Answer
As previously mentioned, Rao was the Chief Minister before assuming the role of Prime Minister. In this capacity, he held the highest executive position within the state government, responsible for leading the administration, implementing policies, and managing various aspects of governance. As the Chief Minister, Rao gained valuable experience in leadership, policy-making, and public administration, which prepared him for the challenges and responsibilities of being the Prime Minister of India.