HONOLULU — The U.S. military has shot down a medium-range ballistic missile during a test off Hawaii.

The Pacific Missile Range Facility on the island of Kauai launched the target missile late Tuesday. Sailors aboard the U.S. Navy destroyer John Paul Jones tracked the target with radar and then fired an interceptor missile to shoot it down.

Navy destroyer John Paul Jones successfully shoots down target missile off Hawaii

Navy destroyer John Paul Jones (DDG-53) successfully tracked and destroyed a target ballistic missile Aug. 29. During the test, the destroyer fired its Standard Missile-6 (SM-6) guided missile and onboard AN/SPY-1 radar to knock out a target missile launched from Hawaii.

The test comes amid North Korea’s ballistic missile tests and rising tensions between the U.S and the North. Earlier Tuesday, North Korea fired a ballistic missile over Japan, a close U.S. ally, that landed in the Pacific Ocean.

U.S. President Donald Trump said “all options are on the table” in response to the test.

North Korean leader Kim Jong Un called for more weapons launches targeting the Pacific Ocean to advance his country’s ability to contain the U.S. territory of Guam, which is home to key U.S. military bases.

The Hawaii test gives Navy ships enhanced capability to defeat ballistic missiles in their last stage of flight, said Lt. Gen. Sam Greaves, the director of the U.S. Missile Defense Agency.

“We will continue developing ballistic missile defense technologies to stay ahead of the threat as it evolves,” he said in a statement.

The destroyer fired an SM-6 interceptor. It’s the second time that particular type of missile has successfully intercepted a medium-range ballistic missile target, the agency said.

In June, the John Paul Jones failed to shoot down its target missile in a similar test off Hawaii. An SM-3 Block IIA, jointly developed by the U.S. and Japan, failed to intercept its target. An earlier test of the same interceptor in February succeeded.