A male sailor who shot and wounded a female sailor at a Virginia naval air station was killed by security personnel at the base Friday morning, officials said.

The female sailor who was shot "several times" in the parking lot of Naval Air Station Oceana in Virginia Beach was hospitalized with injuries that were not considered life-threatening, Capt. Chad Vincelette, commanding officer, said in a statement.

"The shooter was quickly identified, shot and killed by my Naval Air Station Oceana security personnel," he said. The sailor was armed with a handgun.

Vincelette said the incident was an "isolated domestic shooting," but the reason behind the violence was unknown and being investigated. Officials have not shared the identities of the shooter or the victim.

He said the base is searched randomly for prohibited items, and investigators are also looking into how the sailor got a gun on the premises.

Naval Air Station Oceana was on lockdown for less than an hour Friday morning. Vincelette said the shooting happened at 6:45 a.m. and was "resolved" five minutes later.