Rafsanjani once again tried his luck to become the president in 2005. Though he was one of the hot favourites, he failed to secure a majority, leading to his defeat. His arch political rival Ahmadinejad was elected the President after the results were announced.