A 48-year-old off-duty NYPD sergeant died from an apparent self-inflicted gunshot wound to the head on Sunday, police said. 

The sergeant, who was not immediately identified, was taken to Lutheran Medical Center in critical condition but was pronounced dead there. He served with the NYPD for 24 years and was most recently assigned to a precinct in Brooklyn.

The sergeant was picked up from a home on Narrows Avenue, near 72nd Street, in Bay Ridge at about 3:45 p.m., an FDNY spokesman said. He was suffering from cardiac and respiratory arrest, the FDNY spokeswoman said.

The circumstances surrounding the shooting were not immediately clear.