President Trump on Saturday praised German Chancellor Angela Merkel for her country's role in "beautifully" hosting the Group of 20 summit, despite the disruption from outside "anarchists."

"The G20 Summit was a wonderful success and carried out beautifully by Chancellor Angela Merkel. Thank you!" Trump wrote in a tweet.

The #G20Summit was a wonderful success and carried out beautifully by Chancellor Angela Merkel. Thank you! — Donald J. Trump (@realDonaldTrump) July 8, 2017

Anti-capitalist protestors demonstrated against the summit that brought world leaders together for the annual event, both clashing with German police and disrupting the event.

ADVERTISEMENT

Trump praised German law enforcement for doing a "spectacular job" handling the "anarchists."

"Law enforcement [and] military did a spectacular job in Hamburg. Everybody felt totally safe despite the anarchists," he tweeted.

Law enforcement & military did a spectacular job in Hamburg. Everybody felt totally safe despite the anarchists. @PolizeiHamburg #G20Summit — Donald J. Trump (@realDonaldTrump) July 8, 2017

Nearly 200 police officers sustained injuries during the protests in Hamburg, ABC News reported.

Authorities even used high-powered water cannons and smoke bombs against the protestors to contain the confrontations.

The police said they had arrested more than 80 people since the protests started.

First lady Melania Trump was unable to leave her residence in Hamburg on Friday because of the security risk the protestors posed.

Trump met with Merkel and other world leaders throughout the conference.

On Thursday, Trump and the German leader discussed “a range of shared foreign and security policy priorities” during their meeting that took place outside of the summit, the White House said.

While the two leaders don't see eye to eye on key issues like immigration, energy policy, and trade, they reportedly discussed topics in which they share common ground.