Two brothers charged with beating a homeless immigrant in Boston, saying they were inspired in part by Donald Trump's comments about immigrants, have been held without bail pending trial.

Scott Leader and Steve Leader were ordered held Thursday until a trial scheduled to start Oct. 1 by a judge who ruled they were a danger to society.

The Leaders were arrested Aug. 19 on charges they beat a 58-year-old Mexican immigrant while he slept near a subway station. According to police, one brother told officers that Republican presidential candidate Trump "was right" about deporting "all these illegals."

Trump denounced the attack.

Lawyers for the Leaders, who have a history of violent criminal behavior, have not commented. Scott Leader told police the victim instigated the confrontation.