Answer
Andrus Ansip served as the Minister of Economic Affairs before becoming Prime Minister of Estonia. In this role, he was responsible for overseeing the country's economic policies and promoting economic growth. His experience in this position provided him with a strong foundation for leading the government and navigating the challenges of economic development.