This is not at all surprising. Except to the degree that he inflames the west, Ahmadinejad appears to be considered the George W. Bush of Iran, a complete loser and not too bright.
Ali Larijani, the new speaker, was previously the chief negotiator for Iran’s nuclear program, but should not be considered a moderate:
Larijani, who has also been a culture minister and head of the state-run broadcasting operations, has emerged as a powerful politician in recent years, running against Ahmadinejad for president in 2005. He was a critic of the country’s nuclear policies under the reformist president, Mohammad Khatami, and opposed the decision to suspend uranium enrichment. Yet his position moderated after he became the nuclear negotiator in 2005 and tried to press back against Ahmadinejad’s radical approach, which had left Iran increasingly isolated.
He is considered close to Ayatollah Khamenei, who has the final word on state matters. Larijani remained Ayatollah Khamenei’s representative at the Supreme National Security Council despite his October resignation.