As a High Court judge, Mehra, along with Judge Pradeep Nandrajog, acquitted S.A.R. Geelani and Afsan Guru of all charges in relation to the 2001 Indian Parliament attack, setting aside the death penalty awarded to Geelani, and confirming it for two other persons convicted in the case. Their order was confirmed by the Indian Supreme Court, and was widely reported. In 2003, Mehra and Nandrajog also issued guidelines for witness protection, which would remain in force until the enactment of a law for witness protection.