Complex sentence: From 2004 until 2007 he served as the Ambassador to Yemen, before previously being the Deputy Head of Mission in Cairo.
Split into simpler sentences: From 2004 until 2007 he served as the Ambassador to Yemen. He was then the Deputy Head of Mission in Cairo.