 In 1989, he served in the cabinet of Boutros Boutros-Ghali, in the Egyptian embassy in Tel Aviv, Israel from 1999 to 2001, and as a counselor to the Egyptian foreign minister Ahmed Aboul Gheit from 2005 to 2007.He also worked as a political advisor to the United Nations Special Envoy to the Middle East during the Second Intifada (2001-2004).He then joined the UN Advance Mission to Sudan "UNAMIS" and contributed to establishing the first UN peacekeeping mission in that country after the signing of the Naivasha peace agreement in 2005.