The government eventually drafted a democratic constitution and held flawed presidential elections in 1996 and 2001 .