Top senators said Tuesday they would vote Thursday on two separate bills that could bring an immediate end to the record-breaking government shutdown.

One of the bills has the backing of President Trump, and includes $5.7 billion for his long-promised border wall.

The other would extend funding for shuttered agencies through Feb. 8, the New York Times reported.

The plan, a compromise between Senate Majority Leader Mitch McConnell and Minority Leader Chuck Schumer, could be a way to end the shutdown — though the fate of the border-wall-funding bill remained in doubt in both the Senate and the House.

And Trump could veto one or both of the bills, prolonging the partial shutdown, which enters its 33rd day on Wednesday.

“People are saying isn’t there a way out of this mess, isn’t there a way to relieve the burden on the 800,000 federal workers not getting paid, isn’t there a way to get government services open first and debate what we should do for border security later?” Schumer said.

“Well, now there’s a way.”

Hours earlier, McConnell tweeted that Trump’s counteroffer to Democrats was the only path to reopening the government.

“The proposal outlined by @POTUS would reopen the government fully. It is the only proposal currently before us that can be signed by the President and immediately reopen the government,” he wrote. Read more at NY Post