Indian authorities detained and later released two key Kashmiri separatist leaders ahead of talks between Indian and Pakistani security advisers.

A third leader is under house arrest.

Thursday's detentions came days before the leaders were expected to travel to New Delhi on the invitation of Pakistan's ambassador to meet with Sartaj Aziz, national security adviser to Pakistan's prime minister.

Aziz will arrive in New Delhi on Sunday to meet his Indian counterpart Ajit Doval.

The two officials are expected to discuss terrorism in the region. The talks signal the resumption of dialogue between the two countries a year after India canceled talks between the foreign secretaries of the two countries, and after Pakistan consulted Kashmiri separatists.

Kashmir is divided between India and Pakistan but claimed by both.