<human>:  The Pahlavi dynasty of Iran ruled for how many years?
<bot>: The Pahlavi dynasty ruled Iran from 1925 to 1979. They were the last dynasty to rule Iran. The Pahlavi dynasty was named after Reza Shah, who was the ruler of Iran from 1925 to 1941.