By 1923, he had become prime minister, and gained a reputation as an effective politician with a lack of corruption. By 1925 under his influence, Parliament voted to remove Ahmad Shah Qajar from the throne, and Reza Khan was crowned Reza Shah Pahlavi, of the Pahlavi Dynasty.