The body of the martyred leader of the revolution was carried amid large crowds of mourners in Tehran.