The coup follows a May government reshuffle that appointed Waghf prime minister; a July no-confidence vote against the government, which then resigned; an ensuing threat by the president to dissolve the National Assembly, and the resignation of almost 50 deputies earlier this week from the ruling party.