Tokyo — North Korea fired a ballistic missile Sunday morning, its first launch in four months and the first since Donald Trump was elected president of the United States.

The launch happened while Trump was hosting Japanese Prime Minister Shinzo Abe at his golf resort in Florida, and analysts said that the hawkish Abe will likely push Trump to issue a strong rebuke.

“I don’t think this is designed to respond to Trump, I think this is part of Kim’s continued efforts to try to advance his programs,” said Jon Wolfsthal, a senior non-proliferation official in former President Barack Obama’s administration now at Harvard’s Belfer Center. “But it has the added effect of calling Trump’s bluff. The real question is not what North Korea has done, but what the U.S. is going to do about it,” Wolfsthal said.

The missile was fired shortly before 8 a.m. from a known test site in North Pyongan province in the west of the country, not far from the border with China, and flew over the Korean peninsula and into the Sea of Japan, South Korea’s joint chiefs of staff said.

They were still working to analyze data from the projectile but said it appeared to be a medium-range Musudan missile, the type that North Korea had been trying to perfect last year. The Musudan has a range of about 1,800 miles but this missile appeared to fly only 300 miles, they said.

Kim Jong Un’s regime has declared a goal of creating an intercontinental ballistic missile capable of delivering a nuclear payload to the United States, and last year conducted two nuclear tests and dozens of missile tests, including launching a series of Musudans in the summer.

But the regime has not fired any ballistic missiles since October, perhaps to avoid influencing domestic politics in the U.S. ahead of the presidential election and in South Korea, where the conservative president has been suspended from office and there is now a good chance of a progressive administration friendlier to Pyongyang.

In response, President Trump tweeted: “North Korea just stated that it is in the final stages of developing a nuclear weapon capable of reaching parts of the U.S. It won’t happen!”

However, the Trump administration has said little on what it would do to stop Kim.

The administration is understood to be embarking on a view of North Korea after eight years in which the Obama administration practiced “strategic patience” — hoping that it could wait out North Korea.