The Japanese government is planning on pumping more than $240 billion over the next five years into the country’s military. Much of the budget is expected to be spent in the United States on US-manufactured equipment and vehicles. This move not only strengthens Japan’s position in the Pacific, but also helps keep the US satisfied when it comes to trade differences. President Trump has been critical over the trade surplus the Japanese enjoy over the United States, but this new spending should narrow the gap, according to a report from Nikkei.

Much of the new budget will focus on bringing the Japanese military into compliance with NATO criteria. Although not a full member of the alliance, Japan is considered to be a “Major non-NATO ally” along with countries like Australia, New Zealand, and Israel, among others. The increased defense spending may also boost the percentage of the country’s Gross Domestic Product allocated for military expenditures, although current projects have that rate resting just above one percent.

“Major Non-NATO Ally (MNNA) Status does not entail the same mutual defense and security guarantees afforded to North Atlantic Treaty Organization (NATO) members,” writes “However, designation as an MNNA represents an affirmation of the importance the US places on the relationship.”

Just as important as the actual budget, this new five-year plan also reorganizes the way the military’s funds are allocated. Under the new plan, administrative costs, such as salaries and maintenance, will be separate from acquisitional expenses, allowing Japanese military buyers more flexibility, according to a report from Reuters. Some speculate the Japanese will buy more of Lockheed Martin’s F-35, while others believe missile defense is the country’s top priority.