The encounter had broken out in the Rainawari area of Jammu and Kashmir's summer capital around midnight following a cordon and search operation in the old city area, a police official said. Inspector General of Police, Kashmir zone, Vijay Kumar said of the two militants killed in the brief gunbattle, one was carrying an "ID card of media".