CENTERVILLE, Ohio (WDTN) — Police said a man accidentally shot himself outside of Costco.

It happened in the parking lot of the store in the 5300 block of Cornerstone North Boulevard just before 2 p.m.

Police said the man and his wife were getting out of their vehicle when the man’s gun went off. He was shot in the ankle area.

The victim is a 63-year-old man from Beavercreek. He was taken to the hospital. Police said he’s expected to be okay.

Police said the man is a CCW permit holder.