Barron Trump
(Photo : Chip Somodevilla/Getty Images)
Barron Trump, pictured with his mother, Melania Trump, has declined an invitation to serve as a delegate to this summer's Republican National Convention.

The judge in Donald Trump's New York hush money trial says the former president will be allowed to attend his youngest son's high school graduation.

Judge Juan M. Merchan says Donald Trump's criminal trial will not be held on May 17 so the former president may attend the event.

"I don't think the May 17 date is a problem, so Mr. Trump can certainly attend that date, attend his son's graduation," Merchan said, according to the Associated Press.

During jury selection, Trump claimed outside of the courtroom that he was being blocked from attending.

"Now I can't go to my son's graduation," Trump said in a string of complaints. "I can't go to the United States Supreme Court. I'm not in Georgia or Florida or North Carolina campaigning like I should be."

The judge did require Trump to attend court the day the Supreme Court heard arguments about whether Trump is immune from prosecution in another criminal case. the high court has not ruled on that issue yet.

A Trump lawyer has requested the trial not be held June 3 so that he can attend his own son's graduation. No ruling on that date has been issued. Merchan said the requests would be reviewed as the trial goes along.

Also on Tuesday, Merchan ruled that Trump had violated a gag order in the case and warned him that he faced jail time for future violations.