SACRAMENTO (CBS13) — A jury has ruled against plaintiffs who claimed the City of Sacramento unfairly enforced its camping law against the homeless.

Of the 12-member jury, 9 agreed with the decision, while 3 were against it.

READ MORE: What To Know About Monkeypox: Symptoms, How It Spreads, Treatments

Sacramento Civil Rights Attorney Mark Merin tried to convince a jury that the city’s anti-camping ordinance is anti-homeless. Merin says the ordinance is unconstitutional because it’s selectively enforced against homeless people to keep them on the run and out of sight.

READ MORE: Yolo County Sheriff's Deputies Recover Stolen Boat, Jet Ski

City attorney Chance Trimm, says the homeless are cited for legitimate issues like causing noise and unhealthy conditions. He maintains that the city’s no camping ordinance has been in place and working for more than two decades.

MORE NEWS: Police: 'Ghost' Gun, Parts To Make More Found During Traffic Stop In Woodland

The case goes back about eight years when a group of homeless people was arrested in Downtown Sacramento for illegal camping. The group, known as Safe Ground Pioneers, sued the city arguing they were on private property in an industrial area and had the consent of the owner to be there.