DOUGLASVILLE, Ga. — A Georgia judge sentenced two people to lengthy prison terms Monday for their role in the disruption of a black child’s birthday party with Confederate flags, racial slurs and armed threats.

Jose Ismael Torres, 26, will spend 13 years in prison; Kayla Rae Norton, 25, is to serve six years, Atlanta news outlets report.

Both wept as the sentences were handed down in Douglas County, west of Atlanta.

“Their actions were motivated by racial hatred,” said Superior Court Judge William McClain.

The two are the last of 15 people charged in the confrontation, which took place in Douglasville in July 2015.

Only four were charged with felonies. The other two pleaded guilty and are serving shorter prison terms.

Torres and Norton were found guilty of yelling racial slurs and threatening to kill partygoers, even the kids. Prosecutors said Torres pointed a shotgun at the party.

“This is behavior that even supporters of the Confederate battle flag can agree is criminal and shouldn’t be allowed,” Douglas County District Attorney Brian Fortner said in a statement.

Norton was sentenced on one count of violating Georgia’s street gang act and one count of making terroristic threats. Torres was sentenced on three counts of aggravated assault with a deadly weapon, one count of terroristic threats and one count of violating the street gang act.

The disruption of the birthday party took place less than a month after white supremacist Dylann Roof killed nine African-Americans at a historic black church in Charleston, South Carolina. Roof, who was sentenced to death for his crime, brandished the battle flag in several photographs that came to light after his arrest. He said it had been his intent to kill black people and start a race war.