An Iranian woman mourns next to the body of Grand Ayatollah Hossein Ali Montazeri at his house in the holy city of Qom.
Many of the mourners began arriving in Qom on December 20, a day before his funeral.
The funeral procession attracted tens of thousands of people from across Iran.
Iranian opposition leader Mir Hossein Musavi (left) attends the procession, surrounded by security.
The coffin of Montazeri, who was one of the highest Shi'ite authorities, passes through mourners.
Many supporters of Iran's Green Movement attended the funeral, many of them chanting antigovernment slogans.
Opposition activists and supporters of Supreme Leader Ayatollah Ali Khamenei clash during the funeral.