The “shackles” are off — Donald Trump is free of the Republican Party, the mogul announced in a Tuesday morning tweetstorm.

“It is so nice that the shackles have been taken off me and I can now fight for America the way I want to,” Trump announced, declaring that he’s no longer bound by the Republican Party.

A follow-up tweet from the party nominee bashed the GOP — and praised the Democratic Party.

“With the exception of cheating Bernie out of the nom the Dems have always proven to be far more loyal to each other than the Republicans!” Trump said.

In other tweets, Trump tore into House Speaker Paul Ryan, calling him a “weak and ineffective leader” after the nation’s top elected Republican virtually ditched the GOP presidential campaign.

“Our very weak and ineffective leader, Paul Ryan, had a bad conference call where his members went wild at his disloyalty,” Trump tweeted.

Trump is irate that some members of his party — led by Ryan — are abandoning him.

Ryan on Monday told his members to worry about saving their own seats before campaigning for Trump.

About 30 minutes before targeting Ryan on Tuesday, Trump told his supporters that “it is hard to do well” when members of his own party are running for the hills.

“Despite winning the second debate in a landslide (every poll), it is hard to do well when Paul Ryan and others give zero support!” Trump wrote.

Trump cited non-scientific online polls — from outlets such as Drudge Report and Breitbart — as proof of “winning” Sunday’s debate against Hillary Clinton.

But other surveys showed viewers generally believed Clinton got the better of Trump during the showdown in St. Louis.

A poll for Politico and Morning Consult showed that 42 percent of voters believed Clinton won Sunday night, while 28 percent sided with Trump.

Trump’s campaign has been under fire over a leaked 2005 video showing him making crude remarks about women.

The bombshell recording prompted dozens of GOP lawmakers to yank their endorsements.

While GOP officials have called for Trump to step down, a majority of Republican voters are standing by him, according to pollsters.

The Politico/Morning Consult poll showed that 74 percent of Republican voters, who were interviewed after the “Access Hollywood” scandal broke, said their party should keep supporting Trump.

A Ryan spokesman issued a statement saying: “Paul Ryan is focusing the next month on defeating Democrats, and all Republicans running for office should probably do the same.”