A man underwent surgery after he accidentally shot himself in the leg in Lancaster Friday afternoon, police said.

The victim, a 21-year-old man from Reading, was seated in a vehicle in the 700 block of East Fulton Street when he was showing a handgun to a friend, according to police.

The victim told police he thought the gun wasn't loaded. He pulled the trigger and one shot fired and struck him in the lower leg, police said.

His injuries do not appear to be life-threatening, police said.

Anyone with information about the shooting is asked to call Lancaster City Police at 717-735-3300 or Lancaster City-County Crime Stoppers at 1-800-322-1913.

Those with information can also click the submit a tip button on the Lancaster police website, or Text a Tip to Crime Stoppers by texting LANCS plus a message to 847411.

Anyone with information can remain anonymous, police said.