Addressing a public rally in Madurai after visiting the Arulmigu Subramania Swamy Temple, Modi said devotees of Lord Murugan had wanted to light the traditional lamp and offer their prayers at the Deepathoon.

"The devotees of Lord Murugan also wanted to light the lamp and offer their prayers. We thank the Supreme Court for respecting the sentiments of Lord Murugan's devotees," the Prime Minister said.

"I assure the people of Tamil Nadu that we will now make every possible effort to find a permanent solution to this issue," he added.

Earlier on Sunday, Modi visited the Arulmigu Subramania Swamy Temple at Thiruparankundram amid the controversy surrounding the lighting of the traditional Karthigai Deepam lamp at a stone pillar atop the hill.

During his visit, the Prime Minister performed aarti and paid homage to the sacred Deepathoon, where the ceremonial lamp was lit following a Supreme Court directive.

Modi also undertook an aerial tour of Thiruparankundram Hill in a helicopter. In a video shared by the Tamil Nadu unit of the Bharatiya Janata Party (BJP), he was seen releasing trays of flowers and petals through an opening in the helicopter as it flew over the hill.

Karthigai Deepam controversy

The Karthigai Deepam lamp was lit at the Deepathoon, a stone pillar on Thiruparankundram Hill, last month following a Supreme Court directive amid a contentious dispute over the location of the annual ritual.

The ceremony took place under tight security, four days after the lamp had not been lit at the pillar despite an earlier Supreme Court order permitting the ritual there.

Only 50 devotees were allowed to attend the hilltop ceremony, while thousands gathered at the foot of the hill from the morning. The lighting of the lamp triggered emotional scenes among some devotees, while others celebrated by bursting firecrackers.

The ceremony followed the Supreme Court's decision to issue contempt notices to 15 people, suspend the board of trustees of the Arulmigu Subramaniaswamy Temple and place security arrangements across the hill under the Central Reserve Police Force (CRPF).

Dispute over the traditional lamp-lighting location

The controversy centres on the location where the ceremonial lamp should be lit during the annual Karthigai Deepam festival.

The Tamil Nadu government maintains that the ritual has been performed for more than 150 years at the Deepa Mandapam near the Uchippillayar shrine on the lower slopes of Thiruparankundram Hill.

Petitioners, however, have sought permission to light the lamp at the Deepathoon, a stone pillar located higher up the hill, approximately 50 metres from the Hazrat Sultan Sikandar Badusha Auliya Dargah. Representatives of the dargah have opposed the demand.

The dispute also has a long legal history.

A civil court decree in 1923 recognised the Subramaniaswamy Temple's rights over much of the hill while acknowledging Muslim ownership of areas that included the dargah precincts and its approach. The Privy Council restored the decree in 1931.

The question of the location for the annual lamp-lighting ritual subsequently reached the Madras High Court in the 1990s. The Tamil Nadu government has cited those proceedings to support its position that the ceremony should continue at the customary site.