Donald Trump watched his 18-year-old son graduate from high school after the judge in his hush money trial gave him the day off court.
Photographs show the former president applauding and grinning as Barron Trump collected his diploma from Oxbridge Academy in West Palm Beach, Florida.
Trump had previously complained that Justice Juan Merchan was “highly biased” and had intended to keep him in court.
The former president had a front-row seat at the event along with Melania Trump, who, wearing a hat low over her eyes, made a rare public appearance with her husband to see her son graduate from the US$41,500 ($67,670)-a-year school.
Footage of the ceremony shows Barron Trump making his way onto the stage wearing a mortar board, gown and red stole.
The 2m-tall (6-foot-6in) student looms over the school officials as he shakes their hands and collects his diploma.
Barron is Trump’s youngest child and the only one he had with his third wife, Melania.
At his hush money trial, the former president is accused of having a sexual encounter with Stormy Daniels, an adult film star, in 2006, just months after Barron was born.
Barron had been selected to serve as a delegate to vote for his father at the Republican National Convention, but declined to do so. Trump said last week that his son gives him political advice.
“He does like politics. It’s sort of funny. He’ll tell me sometimes ‘Dad, this is what you have to do’,” Trump told Talk Radio.
Trump was not expected to spend the evening celebrating with his son and is scheduled to attend a Republican dinner in Minnesota – a state his campaign is targeting in November’s election.