Mr. Eilts , a former ambassador to Saudi Arabia and Egypt , was in the foreign service for 32 years , almost all of them in the Middle East , where he worked in Egypt , Libya , Iran , Iraq , Saudi Arabia and Yemen .