A deadly stampede has marred the funeral of revered south Indian writer-turned-politician Muthuvel Karunanidhi, as tens of thousands of people flocked to mourn his passing.

Crowds of supporters and many politicians, including Indian Prime Minister Narendra Modi came to Chennai, the capital of Tamil Nadu state, to pay their respects to Karunanidhi on Tuesday. Mourners tried to scale the walls of the Rajaji Hall, the public building where the politician’s body lay in state. At least two people were reported killed and 30 others injured in a stampede.

People climb walls in an attempt to enter #RajajiHall after Police blocked hall entrance due to huge crowds #Karunanidhipic.twitter.com/gQJKpOjs2t — ANI (@ANI) August 8, 2018

#Watch: Scuffle between breaks out between Police & crowd gathered at #RajajiHall, police resort to lathi charge. #Karunandhipic.twitter.com/jBjKdfrNzK — ANI (@ANI) August 8, 2018

Karunanidhi was an immensely influential figure in south India’s cultural and political life. He rose to prominence as a screenwriter, dominating the Tamil-language movie industry in the 1950s, with more than 50 titles in his filmography. He also authored dozens of Tamil-language literary works, from poems and song lyrics, to essays and novels.

Preparations underway for state funeral of M #Karunanidhi at Marina beach in Chennai pic.twitter.com/WoMihLXUr7 — ANI (@ANI) August 8, 2018

On the political side, he served as chief minister of Tamil Nadu for five separate terms between 1969 and 2011. He was also a leader of the Dravidian Progress Federation (DMK), which became a successful defender of the Dravidian culture and identity, to which the Tamils belong. Karunanidhi retreated from public life two years ago as his health deteriorated.

In Chennai, I paid tributes to an extraordinary leader and a veteran administrator whose life was devoted to public welfare and social justice. Kalaignar Karunanidhi will live on in the hearts and minds of the millions of people whose lives were transformed by him. pic.twitter.com/torAPw1gUe — Narendra Modi (@narendramodi) August 8, 2018

I have had the opportunity of interacting with Karunanidhi Ji on several occasions. His understanding of policy and emphasis on social welfare stood out. Firmly committed to democratic ideals, his strong opposition to the Emergency will always be remembered. pic.twitter.com/cbMiMPRy7l — Narendra Modi (@narendramodi) August 7, 2018

Karunanidhi died at the age of 94 in Kauvery Hospital from a number of age-related illnesses. The state declared a week of mourning while the national government and some neighboring states, where the majority of the population also belongs to the Tamil ethnic group, declared shorter periods of mourning.

His burial site is Anna Samadhi, a memorial at the Marina beach named after the state’s first chief minister, Conjeevaram Natarajan Annadurai, whose cremated remains are housed there.

Loved by the Tamilian people, Kalaignar strode the stage of Tamil politics, like a colossus, for over 6 decades. In his passing, India has lost a great son. My condolences to his family as also to the millions of Indians who grieve for their beloved leader tonight.#Karunanidhi — Rahul Gandhi (@RahulGandhi) August 7, 2018