The actors honored fallen heroes on Memorial Day with a workout inspired by the late Navy SEAL Michael P. Murphy

Chris Pratt and John Krasinski are working out for a good cause this Memorial Day.

The actors, who are both in the United Kingdom for the holiday, got together to complete the #MurphChallenge. The exercise routine was created in honor of the late United States Navy SEAL officer Michael P. Murphy, who was awarded the U.S. military’s highest decoration, the Medal of Honor, for his actions during the War in Afghanistan.

Get push notifications with news, features and more.

Each Memorial Day, gyms across the country perform the workout — a one-mile run, 100 pull-ups, 200 push-ups, 300 air squats and a final one-mile run while wearing a 20-lb. body vest. The challenge raises money and awareness for the LT. Michael P. Murphy Memorial Scholarship Foundation.

“The ‘MURPH’ is more than just a workout, it is a tradition that helps push us, humble us, and dedicate a bit of pain and sweat to honor a man who gave everything he had,” according the foundation’s website.

Pratt and Krasinski took to their social media pages post-workout — sweating and out of breath — to share that they had just done the regimen.

“It’s a day like today when we commemorate those fallen heroes and say thanks for all you do to make our dreams come true,” Pratt said.

The actors said that they were going to order shirts for the foundation now that they’ve “earned it.”