A Republican attempt to dismantle Obamacare fell apart in the U.S. Senate on Tuesday for the second time in two months in a serious defeat for President Donald Trump's domestic agenda.

The party was unable to win enough support from its own senators for a bill to repeal the 2010 health care law and decided not to put it to a vote, several Republicans said.

"We basically ran out of time," said Sen. Ron Johnson, a co-sponsor of the measure with Sens. Bill Cassidy and Lindsey Graham, who told reporters the party would target health care again after trying to reform the U.S. tax code.