Shahid previously served as Minister of Foreign Affairs from 23 August 2007 to 11 November 2008,[1] in the presidency of Maumoon Abdul Gayoom. He had been appointed Minister of State for Foreign Affairs in 2005.