Democrats and Republicans appeared no way near to ending the 30- day shutdown that has hampered work , with President Donald Trump lashing out at his opponents after they dismissed a plan he’d billed as a compromise.

Nancy Pelosi and some of the Democrats turned down my offer yesterday before I even got up to speak. They don’t see crime & drugs, they only see 2020 – which they are not going to win. Best economy! They should do the right thing for the Country & allow people to go back to work. — Donald J. Trump (@realDonaldTrump) January 20, 2019

According to report by news agency AP, Trump had offered the previous day to temporarily extend protections for young immigrants brought to the country illegally as children and those fleeing disaster zones in exchange for $5.7 billion for his border wall. But Democrats said the three-year proposal didn’t go nearly far enough.

In a tweet, Trump branded House Speaker Nancy Pelosi a “radical” and said she was acting “irrationally.” The president also tried to fend off criticism from the right, as conservatives accused him of embracing “amnesty” for immigrants in the country illegally.

Nancy Pelosi has behaved so irrationally & has gone so far to the left that she has now officially become a Radical Democrat. She is so petrified of the “lefties” in her party that she has lost control…And by the way, clean up the streets in San Francisco, they are disgusting! — Donald J. Trump (@realDonaldTrump) January 20, 2019

“No, Amnesty is not a part of my offer,” Trump tweeted, noting that he’d offered temporary, three-year extensions — not permanent relief. But he added: “Amnesty will be used only on a much bigger deal, whether on immigration or something else.”

No, Amnesty is not a part of my offer. It is a 3 year extension of DACA. Amnesty will be used only on a much bigger deal, whether on immigration or something else. Likewise there will be no big push to remove the 11,000,000 plus people who are here illegally-but be careful Nancy! — Donald J. Trump (@realDonaldTrump) January 20, 2019

The criticism from both sides underscored Trump’s boxed in-position as he tries to win at least some Democratic buy-in without alienating his base.