A constitutional referendum in 2002—the first ever held in Tunisia—established a two-chambered parliament, creating the Chamber of Advisers. It also allowed the president to run for an unlimited number of five-year terms and amended the upper age limit for a presidential candidate to 75 years old (previously 70). The latter measures were clearly aimed at keeping Ben Ali in office; he faced having to give up the presidency in 2004. He was duly reelected in 2004, again by an implausibly high margin—this time 94 percent of the vote.