Following nearly 16 years of military rule , a new constitution was adopted in 1999 , and a peaceful transition to civilian government was completed .