Kostas Karamanlis served as a Prime Minister of Greece for two consecutive terms. During his incumbency, the period 2004-2009, he formed two cabinets. The first Karamanlis Cabinet succeeded the Panhellenic Socialist Movement (PASOK) cabinet of Costas Simitis after the 2004 elections, and was followed by Karamanlis' Second Cabinet after the 2007 elections.