US First Lady Michelle Obama (L) and US President Barack Obama board Air Force One at Andrews Air Force Base, Maryland, on June 15, 2016, to travel to National Parks in New Mexico and California

US First Lady Michelle Obama (L) and US President Barack Obama board Air Force One at Andrews Air Force Base, Maryland, on June 15, 2016, to travel to National Parks in New Mexico and California

*President Barack Obama and his family watched Game 7 of the NBA Championship from Air Force One last night, and stayed on the plane to continue watching the final minutes after the aircraft landed at Joint Base Andrews.

The First Family was returning from Yosemite Valley, California, after a trip to Carlsbad Caverns National Park in New Mexico and Yosemite National Park in California to encourage more people to appreciate and visit national parks.

US First Lady Michelle Obama and others listen while US President Barack Obama shows how to scare a bear while speaking to children about the "Every Kid in the Park" initiative in Yosemite National Park, California, while celebrating the 100th year of US National Parks June 18, 2016. / AFP / Brendan Smialowski

US First Lady Michelle Obama and others listen while US President Barack Obama shows how to scare a bear while speaking to children about the “Every Kid in the Park” initiative in Yosemite National Park, California, while celebrating the 100th year of US National Parks June 18, 2016.

President Barack Obama speaks in front of Cook's Meadow and Yosemite Falls on June 18, 2016 in Yosemite National Park, California.

President Barack Obama speaks in front of Cook’s Meadow and Yosemite Falls on June 18, 2016 in Yosemite National Park, California.

Children help US President Barack Obama stand after he spoke to them about the "Every Kid in the Park" initiative while celebrating the 100th year of US National Parks, on June 18, 2016 in Yosemite National Park, California. / AFP / Brendan Smialowski

Children help US President Barack Obama stand after he spoke to them about the “Every Kid in the Park” initiative while celebrating the 100th year of US National Parks, on June 18, 2016 in Yosemite National Park, California.

Air Force One touched down at Andrews at 10:19 p.m., with less than two minutes remaining in the deciding game between the Cleveland Cavaliers and Golden State Warriors.

At 10:37 p.m., moments after LeBron James and the Cavaliers finally brought a championship home to Cleveland, President Obama did his jog down the stairs of Air Force One followed by daughters, Malia and Sasha, and first lady Michelle Obama.

About an hour later, Obama tweeted his congrats to LeBron and the Cavs: