An officer with the Cambridge (MA) Police Department reportedly suffered a gunshot wound to the leg due to an accidental discharge of their sidearm.

According to ABC News, the officer—a 24-year veteran whose name has not been released—was transported to a nearby hospital for treatment of a non-life-threatening injury. The officer is reported to be in good condition.

The incident reportedly happened outside the department headquarters as the officer was getting out of their patrol vehicle.