Pakravan began his career at the Tehran Military Academy, where he taught artillery. He then served in a number of military, political, and diplomatic posts including adjutant in the Intelligence Department of the Second Division, military attaché in Pakistan (1949–50), chief of army intelligence (1951–53), military attaché in India (1954–57), deputy chief of the SAVAK in charge of external affairs (1957–61), deputy prime minister and chief of the State Intelligence and Security Organization (1961–65), minister of information (1965–66), ambassador to Pakistan (1966–69), ambassador to France (1969–73), and senior counselor to the Ministry of Court (1974–79). Pakravan was known for being more compassionate than any of National Security and Information Departments other directors.  However, Muhammad Reza Shah replaced Pakravan with his childhood friend Nematollah Nassiri in 1965.  He returned to Iran in 1976 and was brought out of retirement in 1978 by the Shah in a last-ditch effort to curb corruption at the Royal Court. Pakravans supporters noted his aristocratic and impeccable character as well as his intelligence and moral courage to be a source of consolation at the difficult times of 1978–79 when the Iranian Revolution took control of the opposition and eventually seized power.
Question: Which position did Pakravan hold for the longest number of years?
Answer: senior counselor to the Ministry