SACRAMENTO (CBS / AP) — California would ban the use of dogs to hunt bears and bobcats under a bill approved by the State Assembly.

Proponents of SB1221 said dogs chase the animals until they are exhausted and climb trees, holding them until the hunter arrives.

READ MORE: Vandals Smear Chauvin Defense Witness' Former Santa Rosa Home With Pig's Blood

The author, Democratic Sen. Ted Lieu of Torrance, has likened the practice to “shooting a bear at a zoo.”

READ MORE: After a Night of Protest Vandalism, Oakland Businesses Pick Up the Pieces

The bill passed 44-29 on a party-line vote Wednesday after a lengthy debate. Republican lawmakers representing rural areas said the bill is an attack on Californians’ right to hunt, while Democratic lawmakers called the practice inhumane and unsportsmanlike.

The legislation arose after a California fish and game commissioner used dogs to legally hunt and kill a mountain lion in Idaho. It moves back to the Senate for concurrence.

MORE NEWS: Stimulus Check Latest: Is A Fourth Relief Payment Coming?

(Copyright 2012 by CBS San Francisco. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. Wire services may have contributed to this report.)