SACRAMENTO (CBS13) — Sacramento has voted to ease its rules on aggressive panhandling.

This reverses an earlier ordinance adopted in 2017 which banned panhandling in an aggressive or intrusive manner at places like banks, gas stations, and street medians.

READ MORE: Ring Videos Show Creepy Encounters By Man At Home of Sacramento Mother And Her Children

RELATED: Judge Finds Aggressive Panhandling Law Violates 1st Amendment

A judge recently issued an injunction after the ACLU filed a lawsuit claiming the ban violated a panhandler’s first amendment right.

“You’re basically saying survival is illegal; you’re saying that the First Amendment doesn’t apply to the homeless,” said James Clark, who jointly followed suit.

READ MORE: 'I Thank God': More California Churches To Offer Vaccines In Effort To Reach Underserved Communities

UC Davis law professor John Myers said the ordinance went too far, essentially trying to prohibit panhandling.

READ: Unrefrigerated, Unembalmed Bodies Discovered Inside Stockton Church Operating As Unlicensed Funeral Home

“People don’t think of panhandling as speech, but in a way it is,” said Myers.

Tuesday, the city council unanimously voted to get rid of the ordinance.

MORE NEWS: 'A Trend That Won't Go Away': Sacramento City Leaders Consider Permanent Plans For Street Dining