Au revoir, foie gras.

New York City is banning the sale of the controversial delicacy, as members of the city council passed a bill on Wednesday that would prohibit restaurateurs from selling the dish as of 2022, and punish anyone caught offering it with fines or even jail time.

Under the bill, grocery and specialty-foods stores would be banned from selling foie gras as well.

BILL MURRAY 'HIRED' BY P.F. CHANG'S AFTER CLAIMING HE FILLED OUT APPLICATION

Animal welfare groups have long been critical of foie gras, which is the fattened liver of a goose or duck, as it is often produced by force-feeding the animal via a tube called a gavage. The dish, considered a delicacy by some gourmands, has already been banned in California and, for a brief time, in Chicago, before the city repealed the decision in 2008.

An employee at the Hudson Valley Foie Gras duck farm in Ferndale, N.Y., is seen placing a tube into the duck's mouth in this photo from July 2019. (AP Photo/Bebeto Matthews, File)

Many other countries across the world, mainly in Europe, have already banned the production of foie gras, the Humane Society reported, though not necessarily the importation or sale. France and Spain are among notable exceptions to the rule.

CLICK HERE TO SIGN UP FOR OUR LIFESTYLE NEWSLETTER

NYC Mayor Bill de Blasio is expected to sign the bill into law soon, the Associated Press reported.

Those against passing the legislature include nearby vendors and farmers who produce foie gras products for distribution, with some of the latter contending that its geese and ducks are treated humanely.

Many other countries across the world, mainly in Europe, have already banned the production of foie gras, the Humane Society reported, though not necessarily the importation or sale. France and Spain are among notable exceptions. (AP Photo/Bebeto Matthews, File)

A few prominent chefs, too, have come out against the ban, including restaurateur Ken Oringer, who argued that the upstate farms where his foie gras is sourced operate with "integrity," per AP.

FOLLOW US ON FACEBOOK FOR MORE FOX LIFESTYLE NEWS

Once enforced in 2022, the ban would punish anyone caught selling foie gras with fines of $1,000 or up to a year in jail.

CLICK HERE TO GET THE FOX NEWS APP

The Associated Press contributed to this report.