Army chief General Bipin Rawat, Northern Command chief Lt General Devraj Anbu and Chinar Corps Commander Lt Gen J S Sandhu were also in Gurez accompanying the prime minister, an Army official said.
Modi had spent Diwali with the people of Kashmir in 2014 in the aftermath of the devastating floods in the Valley.