California is introducing a new law that allows beer manufacturers and licensed sellers to pay for drunken people’s taxis home.

The bill, which was supported by ride-sharing apps Uber and Lyft, passed unanimously in the state senate earlier this month and will come into effect on 1 January.

The rule change will mean manufacturers and sellers will be able to offer free or discounted lifts through taxi companies and services like Uber.

Companies will be allowed to give out codes or vouchers, but cannot use them as incentives to buy a brand’s product.

Under current California law, wine and liquor manufacturers can only provide free transportation for consumers at invitation-only events, such as concerts and parties.

The new state law relaxes these rules and is intended to keep drink-drivers off the road and improve public safety.

Frat party results in the air tested positive for alcohol on police breathalyser

Assembly Bill 711, which was introduced by Democrat Assemblyman Evan Low, reads: "Notwithstanding any other provision of this division, a beer manufacturer may provide directly to consumers free or discounted rides through taxicabs, transportation network companies, or any other ride service for the purpose of furthering public safety.

"The free or discounted rides may be provided by vouchers, codes, or any other method to deliver the free or discounted ride. A free or discounted ride, or the provision of a voucher, code, or other method of delivery, shall not be conditioned upon the purchase of an alcoholic beverage.

"A beer and wine wholesaler shall not directly or indirectly underwrite, share in, or contribute to, the costs of free or discounted rides or serve as an agent of a beer manufacturer to provide free or discounted rides to consumers. Nothing in this provision authorizes a beer manufacturer to provide a gift or anything of value directly or indirectly to a retail licensee."

The 10 countries that drink the most alcohol Show all 10 1 /10 The 10 countries that drink the most alcohol The 10 countries that drink the most alcohol 10. Poland Results from an OECD report The 10 countries that drink the most alcohol 9. Germany Two competitors face off during the 60th annual Bavarian finger wrestling championships (in German: Fingerhakeln) on August 11, 2013 in Feldkirchen-Westerham, Germany. The sport involves two competitors matched in class according to age and weight who sit at a specifically-designed table across from one another and pull at a small leather band with one finger until one player has pulled the other across. The sport is traditional in Bavaria and Austria. The 10 countries that drink the most alcohol 8. Luxembourg Mandatory Credit: Photo by WestEnd61/REX (2694653a) Luxembourg, People sitting near restaurant VARIOUS Rex Features The 10 countries that drink the most alcohol 7. France The 10 countries that drink the most alcohol 6. Hungary Mandatory Credit: Photo by Juergen Hasenkopf/REX (507890e) Hungarian alcohol bottles URGARN, BUDAPEST, HUNGARY Rex Features The 10 countries that drink the most alcohol 5. Russia Russian World War II veterans drink vodka as part of Victory Day celebrations in Vladikavkaz on May 9, 2008. The occasion reflects the trauma of World War II in which millions of Soviet citizens died before driving back the Nazis, but also a large measure of Soviet-style propaganda which airbrushed dark aspects of the story -- not least Stalin's massive wartime repressions. AFP PHOTO / KAZBEK BASAYEV (Photo credit should read KAZBEK BASAYEV/AFP/Getty Images) AFP/Getty Images The 10 countries that drink the most alcohol 4. Czech Republic BREZNICE, CZECH REPUBLIC - JULY 19: Competitors down a bottle of lager July 19, 2003 during a beer drinking competition at the Herold Brewery in Breznice, Czech Republic. Pub life and beer are an intrinsic element of Czech culture, and contribute to the Czech Republic's first place world ranking in annual consumption of beer per capita, at 156 liters, well ahead of second-place Ireland (125 liters per head) and third-place Germany (120 liters per head). (Photo by Sean Gallup/Getty Images) The 10 countries that drink the most alcohol 3. Estonia Mandatory Credit: Photo by Mood Board/REX (3916338a) MODEL RELEASED Bartenders working at counter in restaurant Tallinn, Estonia VARIOUS Rex Features The 10 countries that drink the most alcohol 2. Austria SALZBURG, AUSTRIA - JULY 27: Ben Becker (Tod) broaches the beer barrel at the launch party at Krimpelstaetter tavern after the 'Jedermann" premiere during the Salzburg Festival on July 27, 2011 in Salzburg, Austria. (Photo by Martin Schalk/Getty Images) Getty Images The 10 countries that drink the most alcohol 1. Lithuania Lithuanian President Dalia Grybauskaite (Rl) and members of her delegation hold glasses of wine on November 22, 2011 during a document-signing ceremony after their talks in Kiev. Grybauskaite is in Ukraine for a one-day working visit to meet with Yanukovych and Prime Minister Mykola Azarov and to attend the fifth session of the Council of Presidents of the Republic of Lithuania and Ukraine. AFP PHOTO/SERGEI SUPINSKY (Photo credit should read SERGEI SUPINSKY/AFP/Getty Images) AFP/Getty Images

Proponents ot the law change said 44 other states already allow liquor manufacturers to pay for free or discounted rides, according to a legislative analysis.

Last year, Anheuser-Busch, an American brewing company, partnered with Lyft to offer more than 64,000 rides home to drinkers across the country.

Katja Zastrow, vice president of corporate social responsibility at Anheuser-Busch, told The Sacramento Bee: “Drunk driving is 100 per cent preventable and offering safe rides is one way that we can have a real impact on reducing (it).”

But the bill was opposed by Alcohol Justice, an industry watchdog that campaigns against what it describes as the “alcohol industry’s harmful practices”.