South Korea’s parliament passed a bill Tuesday banning the breeding and slaughter of dogs for consumption, ending the traditional yet controversial practice of eating dog meat after years of nationwide debate.

The bill received rare bipartisan support across South Korea’s divided political landscape, highlighting how attitudes toward eating dog have transformed over the past few decades during the country’s rapid industrialization.

The law will ban the distribution and sale of food products made or processed with dog ingredients, according to the corresponding committee of the National Assembly.

However, customers who consume dog meat or related products will not be subject to punishment – meaning the law would largely target those working in the industry such as dog farmers or sellers.