An ally of late State Senator Jose Peralta blasted politicos for issuing statements mourning his death — after she claims they failed to help re-elect him this year.

“I am shocked beyond words. I am also angry beyond words,” Sen. Diane Savino (D-SI) tweeted.

Savino said some Democratic Party leaders and activists treated Peralta as a pariah over the past 18 months after he joined the Independent Democratic Caucus, a renegade faction that aligned

itself with Republicans.

Savino was also part of the IDC, which disbanded in the spring after its members — including Peralta and Savino — re-unified with the Democratic caucus.

But some Democratic activists and unions never forgave Peralta.

They backed his Democratic primary challenger Jessica Ramos, who defeated the four-term incumbent and went on to win the general election.

Among those who issued statements mourning Peralta’s death remained neutral in his primary, including neighboring Queens Sen. Michael Gianaris, who headed the party’s successful efforts to win back Democratic control of the Senate and Hector Figueroa, president of Local 32BJ.

“He risked it all for his district, and paid the price on Primary Day. I am sure all those who stood by and let him be vilified for simply wanting to be more effective in this totally f—ed winner take all game of politics will be posting tributes today,” Savino tweeted on Thanksgiving, hours after his death was reported.

“Save them, It t is really too late. If people really want to be productive, use this tragedy to examine how we are contributing to this brutal game of politics where we throw around inflammatory rhetoric, declaring who is `good’ and who is `evil,’” she said.

“Life is short. Don’t waste it hating people.”

Savino said she’d known Peralta for nearly 20 years. As a then-union official, she campaigned to help get Peralta elected to the state Assembly in 2002, and he returned the favor by

campaigning with her when she won her Senate seat in 2004.

Peralta was elected to the Senate in 2010.

“He was and always has been a fierce advocate for workers and his community. All he ever wanted to do was make a difference. He joined us in the IDC in 2017, and took the attacks in stride,” Savino said.

Savino, contacted on Friday, said her tweets on the matter “speak for themselves.” She wouldn’t identify people she was referring to by name, saying “they know who they are.”

Savino’s angry reaction shows there are still hard feelings and divisions in the party after six of the eight former IDC members lost their primaries to insurgent candidates.

Among the casualties was Savino’s boyfriend, Bronx Sen. and former IDC head Jeff Klein, who lost his primary to challenger and Senator-elect Alessandra Biaggi.

Her remarks are also striking because Democrats recaptured control of the Senate for the first time in a decade, winning 40 out of 63 seats, in the Nov. 6 general election.

Senate Democratic spokesman Mike Murphy declined comment on Savino’s blast and instead offered condolences to Peralta’s family and friends.