Story highlights Rafsanjani died Sunday at the age of 82

He will be buried in Khomeini's crypt

Tehran (CNN) Hundreds of thousands of Iranians gathered in and around Tehran University Tuesday for the funeral of former President Akbar Hashemi Rafsanjani.

State television showed crowds pouring onto the streets around the campus where the Supreme Leader of Iran, Ayatollah Ali Khamenei, led prayers for Rafsanjani despite the differences between the two men.

President Hassan Rouhani, parliament speaker Ali Larijani and his brother, judiciary chief Ayatollah Sadegh Larijani, joined the prayers.

Rafsanjani died Sunday at the age of 82 after suffering a heart attack.

Three days of official mourning began on Monday.

JUST WATCHED Mohsen Milani, professor of politics at the University of South Florida, talks about Rafsanjani's legacy. Replay More Videos ... MUST WATCH Mohsen Milani, professor of politics at the University of South Florida, talks about Rafsanjani's legacy. 04:31

Read More