SEOUL, South Korea — North Korea fired a missile on Sunday, a week after its successful test of a new intermediate-range ballistic missile, South Korean officials said.

The missile took off from a location near Pukchang, northeast of Pyongyang, the North Korean capital, and flew 310 miles before falling in waters off the county’s east coast, the South Korean military said in a statement.

The United States Pacific Command said it had “detected and tracked” a medium-range ballistic missile that was launched by the North around 9:59 p.m. Hawaii time and landed in the Sea of Japan. It said that “the missile launch from North Korea did not pose a threat to North America.”

The launch was made while President Trump, who has pressed China to rein in the nuclear ambitions of the North’s leader, Kim Jong-un, was on a nine-day trip to the Middle East and Europe.