The 32-year-old constable, Tarun, was on duty in the jail when he accidently pressed the trigger of his rifle and a bullet hit him on the head, injuring him critically, police said.
Tarun has been admitted to the trauma centre in a serious condition.