He also served as the Principal Secretary (Law) in the Government of the National Capital Territory of Delhi, during which he had disagreements with Delhi law minister Kailash Gahlot, resulting in his repatriation to his parent judicial cadre.