Donald Trump has launched an attack on filmmaker Spike Lee, accusing him of a “racist hit on your president” during his Oscars speech.

Lee said during Sunday night’s ceremony: “The 2020 presidential election is around the corner. Let’s all mobilise. Let’s all be on the right side of history. Make the moral choice between love versus hate. Let’s do the right thing.”

Mr Trump, who is on his way to a summit with North Korean leader Kim Jong-un in Vietnam, responded with a personal jab on Twitter on Monday: “Be nice if Spike Lee could read his notes, or better yet not have to use notes at all, when doing his racist hit on your president, who has done more for African Americans (Criminal Justice Reform, Lowest Unemployment numbers in History, Tax Cuts,etc.) than almost any other pres!”

BlacKkKlansman, which earned Lee his first non-honorary Oscar, is adapted from a memoir by Ron Stallworth, a black detective who infiltrated the white supremacist Ku Klux Klan. Although set in the 1970s, the film also explores the resurgence of racism and the far right in the US under Mr Trump.

Oscars 2019: Best behind-the-scenes photos of celebrity guests Show all 15 1 /15 Oscars 2019: Best behind-the-scenes photos of celebrity guests Oscars 2019: Best behind-the-scenes photos of celebrity guests Julia Roberts The actor took a candid selfie backstage with her close friend Paul Rudd, writing on Instagram: "Ran into this fella. My pal Paul- he is an original. #Oscars91 #actualfriends". Instagram/@juliaroberts Oscars 2019: Best behind-the-scenes photos of celebrity guests Emilia Clarke The 'Game of Thrones' actor posted a selfie while on her way to the ceremony, writing in the caption: "Blondes have more fun eh?! Well I will see about that this fine #oscar2019 evening..... let the good times roll". Instagram/@emilia_clarke Oscars 2019: Best behind-the-scenes photos of celebrity guests Miley Cyrus The singer posted a photograph of herself ahead of the Oscars x Vanity Fair after party, which she attended alongside husband Liam Hemsworth. She wore a plunging black sequin gown by Saint Laurent complete with a thigh-high slit and accessorized the look with Bulgari jewellery. Instagram/@mileycyrus Oscars 2019: Best behind-the-scenes photos of celebrity guests Spike Lee The 'BlacKkKlansman' director posted a triumphant snap of his award for 'Best Adapted Screenplay' alongside his sparkling gold trainers, which neatly matched the statuette. Lee captioned his post: "BOOMSHACKSLACKA". Instagram/@officialspikelee Oscars 2019: Best behind-the-scenes photos of celebrity guests Lupita Nyong'o The 'Black Panther' star might not have walked down the red carpet before the awards ceremony, but she did offer fans a behind-the-scenes sneak preview of her chosen gown, which was a stunning white feathered number by Oscar de la Renta. Instagram/@lupitanyongo Oscars 2019: Best behind-the-scenes photos of celebrity guests Alex Rodriguez The revered basketball player posed alongside Jennifer Lopez during the ceremony, writing in the corresponding caption: "Mirror mirror on the wall. Who’s got the hottest date of them all?!" Instagram/@arod Oscars 2019: Best behind-the-scenes photos of celebrity guests Gabrielle Union The American actor wore a deep crimson satin gown by Valentino for Vanity Fair's famous Oscars after party, giving her 12.2m Instagram followers a sneak preview of the final look. Instagram/@gabunion Oscars 2019: Best behind-the-scenes photos of celebrity guests Awkwafina Showing that no celebrity is immune to the lures of fan girling, the American rapper posted a photograph of herself posing alongside 'Big Little Lies' star Laura Dern on the Oscars red carpet, writing: "Freaking out - I love u @lauradern !!" Instagram/@awkwafina Oscars 2019: Best behind-the-scenes photos of celebrity guests Tracee Ellis Ross The American actor was captured taking a selfie on the night of the ceremony alongside her musician mother Diana Ross and brother Evan, and his wife, Ashee Simpson, both of whom are also singers. She captioned the image, "NIGHT OUT WITH THE FAM". Instagram/@traceeelisross Oscars 2019: Best behind-the-scenes photos of celebrity guests Gemma Chan The 'Crazy Rich Asians' star gave her fans a preview of her Oscars gown by posting this snap on Instagram, revealing her billowing fuchsia Valentino gown, which she paired with Bulgari jewellery. Instagram/@gemma_chan Oscars 2019: Best behind-the-scenes photos of celebrity guests Jennifer Hudson The singer and actor posed for a selfie while inside the ceremony alongside friend Walter 'Wally' Bean. Instagram/@iamjhud Oscars 2019: Best behind-the-scenes photos of celebrity guests James McAvoy The 'Split' actor took a mirror selfie, presumably inside the bathroom at the Dolby Theatre, revealing his white shirt that had been covered in celebrity autographs, including ones from Frances McDormand and Michael B Jordan. "Went to the Oscars. Presented. Got mugged by sharpie wielding celebrities," he wrote. "#thuglebrity I’m sure my shirt is going to be defaced by more of these entitled graffiti mentalists as the night goes on." Instagram/@jamesmcavoyrealdeal Oscars 2019: Best behind-the-scenes photos of celebrity guests Michael B Jordan The 'Black Panther' star posted a candid photograph of him and his mother on Instagram ahead of the Oscars. "My mama about to make me have to fight somebody she looking so pretty," he wrote in the caption. Instagram/@michaelbjordan Oscars 2019: Best behind-the-scenes photos of celebrity guests Selma Blair The American actor posed for a selfie at the Oscars x Vanity Fair after party with renowned TV producer Shonda Rhimes. Instagram/@selmablair Oscars 2019: Best behind-the-scenes photos of celebrity guests Jason Momoa The 'Game of Thrones' actor posed alongside his co-star, Emilia Clarke, on the night of the awards, posting the snap on Instagram alongside the caption: "So proud of you @emilia_clarke I love u with all my heart Aloha Drogo" in reference to his character's name, Khal Drogo. Instagram/@prideofgypsies

During his impassioned acceptance speech, which he read from a page of notes, Lee implored Americans to “connect with our ancestors ... have love and wisdom, and regain our humanity”.

He said: “Four hundred years. Our ancestors were stolen from Mother Africa and bought to Jamestown, Virginia, enslaved. Our ancestors worked the land from can’t see in the morning to can’t see at night.

“Before the world tonight, I give praise to our ancestors who have built this country into what it is today along with the genocide of its native people.”

The director did not refer to Mr Trump by name during the speech, but in a subsequent press conference he addressed the president’s failure to condemn far-right violence.

Lee included footage of an August 2017 white nationalist rally at which a counter-protester was killed in in Charlottesville, Virginia, at the end of BlacKkKlansman. Mr Trump infamously refused to condemn the far right, saying “both sides” were to blame for the violence.

Lee said: “That car drove down that one street in Virginia, and the president of the United States did not reject, refute, did not denounce the Klan, alt-right and neo-Nazis. This film, whether we won best picture or not, this film will stand the test of time being on the right side of history.”