 In May 2005 he became Minister of Finance again, serving in that position until he became Minister of State for Foreign Affairs on 4 June 2007.After serving more than six years as Foreign Minister, Medelci was replaced by Ramtane Lamamra in the government named on 11 September 2013.President Bouteflika instead appointed Medelci as President of the Constitutional Council on 15 September 2013.