A federal judge has found six people who protested at the Democratic National Convention in Philadelphia guilty of trespassing on restricted federal grounds.

The judge on Wednesday acknowledged the constitutional right to protest. But he found the protesters crossed the line when one of them cut through the fence erected more than a quarter-mile from where President Barack Obama would address delegates last summer.

[NATL-PHI] Scenes From the Democratic Convention in Philly

Prosecutors argued the demonstrators could have endangered Obama.

The judge fined five of the defendants $500 each. But he deferred sentencing the man who cut through the fence, saying he needed more time to consider the penalty.

[NATL] A Look Inside the 2016 Democratic National Convention