A sailor shot three civilians, killing two of them, before taking his own life at Pearl Harbor just days before thousands were scheduled to gather at the storied military base to mark the 78th anniversary of the Japanese bombing that launched the U.S. into World War II.

Rear Adm. Robert Chadwick, the commander of Navy Region Hawaii, said the service would evaluate whether security would need to be upgraded ahead of the annual ceremony. About a dozen survivors of the 1941 bombing were expected to attend, along with dignitaries and service members.

More Images
A security guard stands outside the main gate at Joint Base Pearl Harbor-Hickam, in Hawaii, Wednesday, Dec. 4, 2019. A shooting at Pearl Harbor Naval Shipyard in Hawaii left at least one person injured Wednesday, military and hospital officials said. Joint Base Pearl Harbor-Hickam spokesman Charles Anthony confirmed that there was an active shooting at Pearl Harbor Naval Shipyard. (AP PhotoCaleb Jones)

A sailor shot three civilians, killing two of them, before taking his own life at Pearl Harbor just days before thousands were scheduled to gather at the storied military base to mark the 78th anniversary of the Japanese bombing that launched the U.S. into World War II.

Police redirect traffic from the Makalapa Gate entrance to Joint Base Pearl Harbor-Hickam, Wednesday, Dec. 4, 2019, in Honolulu, following a shooting at Pearl Harbor naval shipyard. (AP PhotoMarco Garcia)

It wasn’t known if the sailor and the three male civilians had any type of relationship, or what the motive was for the shooting, Chadwick said.

CORRECTS BYLINE TO MARCO GARCIA INSTEAD OF CALEB JONES - Police redirect traffic from the Makalapa Gate entrance to Joint Base Pearl Harbor-Hickam, Wednesday, Dec. 4, 2019, in Honolulu, following a shooting at Pearl Harbor naval shipyard. (AP PhotoMarco Garcia)

It wasn’t immediately known what type of weapon was used or how many shots were fired. Chadwick said that was part of the investigation. Personal weapons are not allowed on base.

U.S. Navy Rear Adm. Robb Chadwick speaks to the media at the main gate at Joint Base Pearl Harbor-Hickam, Wednesday, Dec. 4, 2019, in Hawaii, following a shooting. (AP PhotoMarco Garcia)

The base went into lockdown around 2:30 p.m. when the first active shooter reports were received. The base reopened a few hours later. Witnesses were still being interviewed hours after the shooting.

U.S. Navy Rear Adm. Robb Chadwick speaks to the media at the main gate at Joint Base Pearl Harbor-Hickam, Wednesday, Dec. 4, 2019, in Hawaii, following a shooting. (AP PhotoMarco Garcia)

"I join in solidarity with the people of Hawaii as we express our heartbreak over this tragedy and concern for those affected by the shooting,” Ige said in a statement.

The USS Arizona Memorial can be seen from the Pearl Harbor National Memorial Wednesday, Dec. 4, 2019, in Honolulu. A U.S. sailor shot and wounded several civilian Department of Defense employees at the Pearl Harbor shipyard Wednesday before taking their own life, the military said. The shipyard is across the harbor from the Pearl Harbor National Memorial. (AP PhotoMarco Garcia)

The shipyard is across the harbor from the wreckage of USS Arizona, which sank in the Dec. 7, 1941, Japanese attack. It's also across from the visitors center, which will host Saturday's ceremony. More than 2,300 Americans were killed in the bombing.

A U.S. naval ship can been seen from Pearl Harbor National Memorial Wednesday, Dec. 4, 2019, in Honolulu. A U.S. sailor shot and wounded several civilian Department of Defense employees at the Pearl Harbor shipyard Wednesday before taking their own life, the military said. Joint Base Pearl Harbor-Hickam, one of the Navy's major installations, said the shooting began around 2:30 p.m. at Pearl Harbor Naval Shipyard. (AP PhotoCaleb Jones)

Associated Press journalists Jennifer Sinco Kelleher in Honolulu and Mark Thiessen and Rachel D'Oro in Anchorage, Alaska, contributed to this report.

Security stand outside the main gate at Joint Base Pearl Harbor-Hickam, Wednesday, Dec. 4, 2019, in Hawaii. A shooting at Pearl Harbor naval shipyard in Hawaii left at least one person injured Wednesday, military and hospital officials said. (AP PhotoCaleb Jones)

Security stand outside the main gate at Joint Base Pearl Harbor-Hickam, Wednesday, Dec. 4, 2019, in Hawaii. A shooting at Pearl Harbor naval shipyard in Hawaii left at least one person injured Wednesday, military and hospital officials said. (AP PhotoCaleb Jones)

Traffic backs up at the main gates after a shooting at Pearl Harbor Naval shipyard, Wednesday, Dec. 4, 2019, near Pearl Harbor in Honolulu. (AP PhotoCaleb Jones)

Traffic backs up at the main gates after a shooting at Pearl Harbor Naval shipyard, Wednesday, Dec. 4, 2019, near Pearl Harbor in Honolulu. (AP PhotoCaleb Jones)

Chadwick said he didn’t know the motive behind Wednesday's shooting at the naval shipyard within the base. The third victim was hospitalized.

A security guard stands outside the main gate at Joint Base Pearl Harbor-Hickam, in Hawaii, Wednesday, Dec. 4, 2019. A shooting at Pearl Harbor Naval Shipyard in Hawaii left at least one person injured Wednesday, military and hospital officials said. Joint Base Pearl Harbor-Hickam spokesman Charles Anthony confirmed that there was an active shooting at Pearl Harbor Naval Shipyard. (AP PhotoCaleb Jones)

A security guard stands outside the main gate at Joint Base Pearl Harbor-Hickam, in Hawaii, Wednesday, Dec. 4, 2019. A shooting at Pearl Harbor Naval Shipyard in Hawaii left at least one person injured Wednesday, military and hospital officials said. Joint Base Pearl Harbor-Hickam spokesman Charles Anthony confirmed that there was an active shooting at Pearl Harbor Naval Shipyard. (AP PhotoCaleb Jones)

It wasn’t known if the sailor and the three male civilians had any type of relationship, or what the motive was for the shooting, Chadwick said.

“We have no indication yet whether they were targeted or if it was a random shooting,” Chadwick said.

The sailor was assigned to the fast attack submarine USS Columbia, which is at Joint Base Pearl Harbor-Hickam for maintenance. Details about the sailor were not immediately released.

Police redirect traffic from the Makalapa Gate entrance to Joint Base Pearl Harbor-Hickam, Wednesday, Dec. 4, 2019, in Honolulu, following a shooting at Pearl Harbor naval shipyard. (AP PhotoMarco Garcia)

Police redirect traffic from the Makalapa Gate entrance to Joint Base Pearl Harbor-Hickam, Wednesday, Dec. 4, 2019, in Honolulu, following a shooting at Pearl Harbor naval shipyard. (AP PhotoMarco Garcia)

It wasn’t immediately known what type of weapon was used or how many shots were fired. Chadwick said that was part of the investigation. Personal weapons are not allowed on base.

Names of the victims won’t be released until next of kin have been notified.

“Our thoughts are with the families of the victims and everyone involved. I can say that we are mobilizing support services for naval shipyard personnel as well as everyone else who may be affected by this tragic event,” Chadwick said.

CORRECTS BYLINE TO MARCO GARCIA INSTEAD OF CALEB JONES - Police redirect traffic from the Makalapa Gate entrance to Joint Base Pearl Harbor-Hickam, Wednesday, Dec. 4, 2019, in Honolulu, following a shooting at Pearl Harbor naval shipyard. (AP PhotoMarco Garcia)

CORRECTS BYLINE TO MARCO GARCIA INSTEAD OF CALEB JONES - Police redirect traffic from the Makalapa Gate entrance to Joint Base Pearl Harbor-Hickam, Wednesday, Dec. 4, 2019, in Honolulu, following a shooting at Pearl Harbor naval shipyard. (AP PhotoMarco Garcia)

The base went into lockdown around 2:30 p.m. when the first active shooter reports were received. The base reopened a few hours later. Witnesses were still being interviewed hours after the shooting.

The shipyard repairs, maintains and modernizes the ships and submarines of the U.S. Pacific Fleet, which is headquartered at Pearl Harbor. The base is the home port for 10 destroyers and 15 submarines. It also hosts Air Force units.

Hawaii Gov. David Ige said the White House has offered assistance from federal agencies and that the state is also ready to help if needed.

U.S. Navy Rear Adm. Robb Chadwick speaks to the media at the main gate at Joint Base Pearl Harbor-Hickam, Wednesday, Dec. 4, 2019, in Hawaii, following a shooting. (AP PhotoMarco Garcia)

U.S. Navy Rear Adm. Robb Chadwick speaks to the media at the main gate at Joint Base Pearl Harbor-Hickam, Wednesday, Dec. 4, 2019, in Hawaii, following a shooting. (AP PhotoMarco Garcia)

"I join in solidarity with the people of Hawaii as we express our heartbreak over this tragedy and concern for those affected by the shooting,” Ige said in a statement.

Mass shootings and gun violence are rare in Hawaii. In 1999, a Xerox service technician fatally shot seven coworkers. In 2006, a man fatally shot his taxi driver and a couple taking photos of the city lights from a lookout point in the hills above Honolulu.

Hawaii had the lowest gun death rate among the states in 2017, according to the Giffords Law Center to Prevent Gun Violence. The islands have strict firearms laws, including a ban on assault weapons and large capacity ammunition magazines.

U.S. Navy Rear Adm. Robb Chadwick speaks to the media at the main gate at Joint Base Pearl Harbor-Hickam, Wednesday, Dec. 4, 2019, in Hawaii, following a shooting. (AP PhotoMarco Garcia)

U.S. Navy Rear Adm. Robb Chadwick speaks to the media at the main gate at Joint Base Pearl Harbor-Hickam, Wednesday, Dec. 4, 2019, in Hawaii, following a shooting. (AP PhotoMarco Garcia)

The shipyard is across the harbor from the wreckage of USS Arizona, which sank in the Dec. 7, 1941, Japanese attack. It's also across from the visitors center, which will host Saturday's ceremony. More than 2,300 Americans were killed in the bombing.

The shipyard has played a key role in naval history, most notably during World War II. Shipyard workers were given just days to repair the USS Yorktown, an aircraft carrier severely damaged during the Battle of the Coral Seat in 1942, because the Navy needed to quickly send the ship to Midway to meet Japanese forces there.

Some 1,400 shipyard workers labored around the clock for almost 72 hours to patch the carrier together. The planes the Yorktown delivered to Midway sank one of the four aircraft carriers Japan sent to the battle and helped destroy two others. The Battle of Midway turned the tide of the war in the United States’ favor.

The USS Arizona Memorial can be seen from the Pearl Harbor National Memorial Wednesday, Dec. 4, 2019, in Honolulu. A U.S. sailor shot and wounded several civilian Department of Defense employees at the Pearl Harbor shipyard Wednesday before taking their own life, the military said. The shipyard is across the harbor from the Pearl Harbor National Memorial. (AP PhotoMarco Garcia)

The USS Arizona Memorial can be seen from the Pearl Harbor National Memorial Wednesday, Dec. 4, 2019, in Honolulu. A U.S. sailor shot and wounded several civilian Department of Defense employees at the Pearl Harbor shipyard Wednesday before taking their own life, the military said. The shipyard is across the harbor from the Pearl Harbor National Memorial. (AP PhotoMarco Garcia)

Associated Press journalists Jennifer Sinco Kelleher in Honolulu and Mark Thiessen and Rachel D'Oro in Anchorage, Alaska, contributed to this report.

A U.S. naval ship can been seen from Pearl Harbor National Memorial Wednesday, Dec. 4, 2019, in Honolulu. A U.S. sailor shot and wounded several civilian Department of Defense employees at the Pearl Harbor shipyard Wednesday before taking their own life, the military said. Joint Base Pearl Harbor-Hickam, one of the Navy's major installations, said the shooting began around 2:30 p.m. at Pearl Harbor Naval Shipyard. (AP PhotoCaleb Jones)

A U.S. naval ship can been seen from Pearl Harbor National Memorial Wednesday, Dec. 4, 2019, in Honolulu. A U.S. sailor shot and wounded several civilian Department of Defense employees at the Pearl Harbor shipyard Wednesday before taking their own life, the military said. Joint Base Pearl Harbor-Hickam, one of the Navy's major installations, said the shooting began around 2:30 p.m. at Pearl Harbor Naval Shipyard. (AP PhotoCaleb Jones)

Security stand outside the main gate at Joint Base Pearl Harbor-Hickam, Wednesday, Dec. 4, 2019, in Hawaii. A shooting at Pearl Harbor naval shipyard in Hawaii left at least one person injured Wednesday, military and hospital officials said. (AP PhotoCaleb Jones)

Security stand outside the main gate at Joint Base Pearl Harbor-Hickam, Wednesday, Dec. 4, 2019, in Hawaii. A shooting at Pearl Harbor naval shipyard in Hawaii left at least one person injured Wednesday, military and hospital officials said. (AP PhotoCaleb Jones)

Traffic backs up at the main gates after a shooting at Pearl Harbor Naval shipyard, Wednesday, Dec. 4, 2019, near Pearl Harbor in Honolulu. (AP PhotoCaleb Jones)

Traffic backs up at the main gates after a shooting at Pearl Harbor Naval shipyard, Wednesday, Dec. 4, 2019, near Pearl Harbor in Honolulu. (AP PhotoCaleb Jones)