Opposition parties were legalized and a new Constitution approved in 1991 which put an end to formal military rule. However, President Ould Taya's election wins were dismissed as fraudulent by some opposition groups.