Donald Trump was booed and jeered while attending a baseball game in Washington DC.

The President attended Game 5 of the World Series between the Washington Nationals and Houston Astros and was loudly booed by fans, with cheers of "lock him up" ringing out.

The footage has since been picked up across social media with video showing fans cheering for those on-screen before the President appeared on the jumbotron.

READ MORE: Trump's great betrayal of the Kurds 

The 'lock him up' chant tweet has since been viewed more than 3 million times. 

Trump attended the game with his wife, Melania, and several Republican politicians including Lindsey Graham, David Perdue and Matt Gaetz who tweeted a picture saying his seat "wasn't bad" with the president in the shot. 

READ MORE: Donald Trump confirms IS leader killed in raid

A 'Veterans for impeachment' banner was also raised behind home plate and was continually in shot. 

Mr Trump’s staff have long tried to shield him from events where he might be loudly booed or heckled, and he has rarely ventured into the neighbourhoods of the heavily Democratic city.

He won just over 4% of the vote in the District of Columbia in 2016.

Major League Baseball commissioner Rob Manfred said he discussed with Mr Trump whether he would like to throw out the ceremonial first pitch, but the president declined while citing the disruption that would cause fans getting to the ballpark.