Trump appeared on a display screen at the Washington Nationals Park stadium between innings of the Game 5 match-up between the Washington Nationals and the Houston Astros.
The president, along with First Lady Melania Trump and several lawmakers, appeared live on the screen as part of a video package thanking US troops for their service.

WASHINGTON, DC - OCTOBER 27: President Donald Trump with his wife Melania during a game between the Washington Nationals and the Houston Astros in game 5 of the World Series at Nationals Stadium in Washington, on October 27, 2019 . (Photo by John McDonnel

Image credit: Getty Images

Tokyo 2020
Tokyo 2020 - United States vs Dominican Republic - Baseball - Olympic Highlights
04/08/2021 AT 07:15
The hometown crowd cheered fans and soldiers displayed earlier on the screen, but there were boos and isolated "Lock him up" champs when Trump appeared, according to a Reuters reporter in attendance and videos posted on Twitter.
The frosty reception came on a day when Trump had announced the death of Abu Bakr al-Baghdadi, the leader of the Islamic State group, in a raid by US special forces in northwest Syria.
Trump won just 4 per cent of the vote in the District of Columbia in the 2016 presidential election. The US capital is hosting its first World Series since 1933.
Trump did not throw out the ceremonial first pitch at the game, as many previous presidents have done. That task fell instead to celebrity chef Jose Andres, who founded a non-profit group to feed disaster victims around the world.
Andres also cancelled plans to run a restaurant in Trump's Washington hotel because of Trump's disparaging comments about Mexicans, which led to a legal settlement.
Tokyo 2020
Tokyo 2020 - Dominican Republic vs Israel - Baseball / Softball - Olympic Highlights
03/08/2021 AT 13:25
Tokyo 2020
Tokyo 2020 - Republic of Korea vs Israel - Baseball / Softball - Olympic Highlights
02/08/2021 AT 07:29