U.S. senators from Kansas voted in line with the president Thursday as lawmakers rejected competing plans to end a 34-day partial government shutdown.

The Republican proposal, which included the $5.7 billion President Donald Trump is demanding for a border wall with Mexico, fell 10 votes shy of the 60 needed, 50-47.

A Democratic proposal to reopen the government for two weeks while negotiating a long-term settlement failed 52-44.

Sen. Pat Roberts said he was glad to support the GOP plan as a way of moving the immigration debate forward.

"We must negotiate in good faith before further damage is done to our economy and to the people unfairly caught in the partisan crosshairs," Roberts said.

Sen. Jerry Moran said the GOP plan offered solutions for people on both sides of the aisle, including protections for the Deferred Action for Childhood Arrivals program. The Democrat plan, Moran said, had no chance of being signed by the president.

"It is wrong that so many suffer because of political infighting and dysfunction in Washington," Moran said. "Congress must pass a funding bill that the president will sign so we can return to a fully functioning federal government for our federal workers, farmers and ranchers, and the numerous individuals and businesses who are harmed by this shutdown."