President Donald Trump was filmed stopping to pick up a U.S. Marine’s hat after it was blown away in the wind.

As he approaches Marine One, Trump bends down to pick up the hat and puts it back on the Marine’s head before patting his arm.

Almost right away the hat is blown away again, prompting Trump to chase it down and grab it.

He then gives the hat to another official, who gives the hat to the Marine.

The incident was heavily shared on social media over the weekend.

Trump was at Andrews Air Force Base outside Washington after returning from the G-20 summit in Hamburg, Germany, for the past week. The G-20 summit brought together world leaders from the top 20 industrialized nations to discuss matters like security, trade, and climate change.

Trump met with Russian leader Vladimir Putin, German Chancellor Angela Merkel, and French President Emmanuel Macron.