The British defense secretary said Tuesday that the United States has greatly increased its commitment to NATO despite President Trump’s tense words with allies over defense spending and his questioning of the alliance.

The U.S. also continues to be one of the most reliable partners to foreign allies, and defense cooperation with the U.K. is likely to continue growing, Defense Secretary Gavin Williamson told an audience at the Atlantic Council think tank.

“What you see is a United States that is incredibly committed to NATO, that has deployed or put more resources into NATO over the last 2-3 years than we’ve seen over the last 20 years, and I say you judge a nation on their actions and that is what the United States has been doing,” he said.

Williamson gave a speech about the U.K.’s own reliability as a partner and its global military capabilities just before he was set to meet with Defense Secretary Jim Mattis at the Pentagon Tuesday afternoon.

Last month, Trump pressed NATO members to spend more on national defense during a fractious summit meeting of the 29-nation alliance in Brussels. The president had previously questioned whether the post-World War II alliance is obsolete and whether defending the small member nation of Montenegro could unnecessarily pull the U.S. into war.

[Opinion: Defending NATO allies like Montenegro won't start World War III]

Trump has since declared his effort a success at spurring more spending among allies. The alliance members signed an agreement in 2014 to spend at least 2 percent of their gross domestic product on defense by 2024, though few have yet met or made solid plans to meet that goal.

“The U.S. has been the most reliable partners for us and many other nations, and I have no doubt that that will continue and that will continue to grow,” Williamson said. “Defense is a brilliant example of a debt of that relationship, so many British service personnel working side by side together making sure that the world is a much more peaceful place and you’re seeing that level of commitment not degraded but actually stepped up over the last few years.”