The deposed president 's opponents say he was ousted because he was trying to illegally change the constitution to extend his term in office .