In Egypt, Wahid found employment with the Indonesian Embassy. It was during his stint with the embassy that coup attempt was launched by the 30 September Movement, which the Communist Party of Indonesia was accused of leading. With Army Strategic Reserves commander Major General Suharto taking control of the situation in Jakarta, a crackdown against suspected communists was initiated. The Indonesian Embassy in Egypt was ordered to conduct an investigation into the political views of university students. This order was passed to Wahid, who was charged with writing the reports.