On 11 July, Nasser replaced Amer with Mohamed Fawzi as general commander, over the protestations of Amer's loyalists in the military, 600 of whom marched on army headquarters and demanded Amer's reinstatement. After Nasser sacked thirty of the loyalists in response, Amer and his allies devised a plan to topple him on 27 August. Nasser was tipped off about their activities and, after several invitations, he convinced Amer to meet him at his home on 24 August. Nasser confronted Amer about the coup plot, which he denied before being arrested by Mohieddin. Amer committed suicide on 14 September. Despite his souring relationship with Amer, Nasser spoke of losing "the person closest to [him]". Thereafter, Nasser began a process of depoliticizing the armed forces, arresting dozens of leading military and intelligence figures loyal to Amer.
How did Nasser try to deal with the military following the coup attempt?
depoliticizing the armed forces