In the elections to the Majles in 2000, Rafsanjani initially fared poorly—he finished 30th in Tehrān, capturing that city’s final seat. However, the Council of Guardians contended that the election had been marred by fraud, and they ordered a recount; after numerous votes had been discounted and the candidates shuffled, Rafsanjani’s position improved to 20th. This new outcome was criticized by many to be the result of manipulation, and Rafsanjani resigned his seat.