DENVER — A Denver County Court judge ruled Friday that Denver's urban camping ban is unconstitutional, citing the eighth amendment.

Judge Johnny C. Barajas ruled that the ban violated the eighth amendment's prohibition against cruel and unusual punishment because it criminalizes homeless individuals for trying to survive on the streets when they have nowhere else to go.

The ban was put in place in 2012.

Denver's urban camping ban struck down as unconstitutional by Denver7 on Scribd

The ruling prohibits Denver police from arresting or harassing homeless people if they are not doing anything of criminal nature.

Denver issued a short response on Friday. City Attorney spokesperson Ryan Luby said, "We disagree with the ruling and plan to appeal to District Court."

In May, Denver residents voted to reject Initiative 300, which would have overturned the camping ban. The vote against the initiative was 145,649 to 33,685.

READ MORE: Denver voters overwhelmingly defeat 'Right to Survive' initiative. What happens next?

This is a developing story. Stay with Denver7 for updates.

