U.S. drug maker Pfizer agreed to terminate its $160 billion agreement to acquire Botox maker Allergan, in a major victory to President Barack Obama's drive to stop tax-dodging corporate mergers.
Announced on Tuesday, the decision to end the biggest tax "inversion" ever attempted, which would have seen Pfizer slash its tax bill by redomiciling to Ireland where Allergan is registered, came a day after the U.S. Treasury unveiled new rules to curb inversions.
While these new rules did not name Pfizer and Allergan, one of their provisions targeted a specific feature of their merger; Allergan's previous history as a major acquirer of other companies. The subsequent demise of the deal allows Obama to claim a big win during his last year in office.
Earlier on Tuesday, Obama called global tax avoidance a "huge problem" and urged Congress to take action to stop U.S. companies from tax-avoiding corporate "inversions", which lower companies tax bills by redomiciling overseas.
"While the Treasury Department's actions will make it more difficult... to exploit this particular corporate inversions loophole, only Congress can close it for good," Obama said.
Sources told CNBC that while both companies believed the Treasury had overstepped the bounds of its regulatory authority with a crackdown on inversions, neither wanted to risk launching litigation against the U.S. government.
Pfizer will have to pay Allergan up to $400 million for its expenses as a result of terminating the deal, according to their merger agreement.
Pfizer shares had ended trading in New York on Tuesday up 2 percent on hopes the company would walk away or renegotiate the deal in its favor. Allergan shares closed down 14.8 percent to their lowest level since October 2014.
Several U.S. presidential candidates, including Republican Donald Trump and Democrats Hillary Clinton and Bernie Sanders, have seized on the issue in their campaigns.
"We have so many companies leaving, it is disgraceful," Trump told reporters as he greeted voters in Waukesha, Wisconsin on Tuesday. Clinton and Sanders both expressed support for Treasury's plan.
Besides Pfizer-Allergan, other pending inversion deals that have not yet closed include the proposed $16.5 billion merger of Johnson Controls Inc with Ireland-based Tyco International Plc, Waste Connections Inc's $2.67 billion deal with Canada's Progressive Waste Solutions Ltd, and IHS Inc's $13 billion acquisition of London-based Markit Ltd.
In all these cases, the shares of the target companies fell only slightly. Johnson Controls and Tyco said they would respond after conducting a review of the new rules.
Waste Connections and Progressive Waste Solutions said they expected the rules would impact less than 3 percent of the combined adjusted free cash flow in their first year after the deal.
IHS and Markit said they believed the rules would not affect their adjusted effective tax rate guidance of a low to mid-twenties percentage range.
Under previous rules which still apply, Allergan shareholders needed to own at least 40 percent of the combined company for the two companies to enjoy the full tax benefits of an inversion, and more than 20 percent to have any inversion benefit at all.
But a new 'three-year-look-back rule' issued by the Treasury on Monday made this much harder for Allergan, and appeared to take aim directly at it because of how the company was put together.
The new rule does not allow stock accumulated through a foreign company's U.S. deals in the last three years to count towards the book value needed to meet the inversion threshold.
This weighed on Allergan heavily because of its significant deals in this timeframe. These include the $66 billion merger of Allergan and Actavis Plc, the $25 billion purchase of Forest Laboratories and the $5 billion takeover of Warner Chilcott.
"The serial acquisition portion of the regulations will cause Pfizer to be treated as an 'expatriated entity' (under the terms of its existing deal with Allergan)," Robert Willens, a corporate tax and accounting analyst, wrote in a note.
In a second change to the rules, the Treasury also said it would seek to limit a practice known as earnings stripping that is often undertaken following, but not limited to, an inversion. The new Treasury rules would restrict related-party debt for U.S. subsidiaries in dealings that do not finance new investment in the United States.
Without Allergan's new, fast-growing medicines, Pfizer may need to look for other companies with attractive products, such as U.S. drugmakers Biogen Inc, Regeneron Pharmaceuticals Inc and AbbVie Inc, said Raghuram Selvaraju, managing director of brokerage H.C. Wainwright.
Pfizer had planned to make a decision by 2016 whether to split off its hundreds of generic medicines, but delayed the decision until 2019 after announcing its merger with Allergan. Morningstar analyst Damien Conover had said the decision could be moved to late 2017 or 2018 if the deal with Allergan collapsed.
Pfizer, which announced the deal in November, had said its tax rate would drop to about 17 or 18 percent after the deal, from around 25 percent. That would have represented more than $1 billion in annual cost savings.
The deal's collapse is also a blow to the investment banks involved. Guggenheim Partners LLC, Goldman Sachs Group Inc, Centerview Partners Holdings LLC and Moelis & Co stood to share $94 million in fees advising Pfizer had the deal closed, while Allergan would have paid its advisors, JPMorgan Chase & Co and Morgan Stanley, $142 million in total, according to the latest estimates by Freeman & Co LLC.
Bankers may now get paid only 10 percent of these amounts, according to Freeman.
This is not the first time a tightening of the U.S. inversion rules have caused a merger to unravel. U.S. pharmaceutical company AbbVie abandoned its $55 billion takeover of Ireland-domiciled peer Shire Plc after the Obama administration cracked down on inversions in 2014. AbbVie had to pay Shire a $1.6 billion break-up fee.
This story first appeared on NBCNews.com.