Vieira dismissed military chief of staff Ansumane Mané on 6 June 1998. Mané and his supporters in the military promptly rebelled, and the country descended into a civil war between forces loyal to Vieira and rebels loyal to Mané. A peace agreement was signed in November 1998, and a transitional government was formed in preparation for new elections in 1999. On 27 November 1998, the National People's Assembly passed a motion demanding Vieira's resignation, with 69 deputies supporting the motion and none opposing it.