For centuries the gelatinous soup prepared with dried shark fins has been served as a pricey Chinese delicacy, and opponents of the bill say banning the ingredient would discriminate against a cultural tradition.

Chinese American restaurateurs and traders have lobbied against the bill and are being backed by several Chinese American lawmakers.

Sen. Leland Yee (D-San Francisco) has called it "an unfair attack on Asian culture and cuisine." But other Chinese American legislators, chefs and celebrities, including basketball star Yao Ming, have backed conservationists.

Lawmakers on Tuesday also approved a second bill adding several key provisions. Among them: creating an exemption allowing taxidermists to possess shark fins, allowing licensed fishermen to donate shark fins to research institutions and giving restaurants longer to use up their stocks of the ingredient.

“Today is a landmark day for shark conservation around the globe as we are one step away from a sweeping West Coast ban on the trade of shark fins,” said Susan Murray, senior pacific director for the conservation group Oceana.

Similar legislation has been signed in Washington, Oregon and Hawaii. President Obama signed federal legislation tightening a ban on shark finning in U.S. waters this year.

Gov. Jerry Brown has not indicated publicly whether he intends to sign the bill.

The state Assembly passed the bill in May on a 65-8 vote, but it ran into Senate opposition, including proposed amendments to allow the sale of fins from some shark species that can be legally caught in California.

But none of those amendments, which conservation groups worried would make the law ineffective and difficult to enforce, were approved.

Tens of millions of sharks are killed each year for their fins, and scientists say the fin trade threatens to disrupt ocean ecosystems. Fishermen cut the fins off live sharks, which they dump back in the water to die.

Assemblyman Paul Fong (D-Sunnyvale), a sponsor of the bill, was born in China and grew up eating shark fin soup but turned against it several years ago after watching a film about how the fin trade was wiping out shark populations.

“At this rate they're going to be extinct in our lifetime,” Fong said last month. “And without the top predator, our ocean's ecosystem goes into a huge imbalance and falls like a house of cards.”

“I'm proud of my Chinese roots, and our culture will live and survive without shark's fin,” he added. If signed by the governor, the California law would go into effect by mid-2013.