Portsmouth, Va. — Portsmouth officials say a man shot him self just before 5 a.m. this morning.

It happened in the 200 block of Derby Road.

Police say it was an accident, as the gun happened to go off while the man was holding it.

He was injured but is expect to be okay.