Mousavi was an important part of the revolutionary movement that overthrew the Shah in 1979. As Prime Minister from 1981 to 1989, he was credited for steering Iran through the crises of the early revolutionary period and the Iran-Iraq war.