He served as the Deputy Prime Minister , the Minister of Finance , Energy and Foreign Affairs in various times . He served as the Minister of Finance , Energy and Foreign Affairs in various times throughout his career , as well as Deputy Prime Minister .