The fight between mainline Democrats in the state Senate and a breakaway group known as the Independent Democratic Conference has turned vulgar, according to IDC officials.

An automated phone poll conducted in the Queens district of state Sen. José Peralta, the latest member of the IDC, asked supporters to press “1” to show their support.

When they did, the message they got was “F–k you,” IDC officials said.

The IDC is asking the state Board of Elections to investigate the poll, which it claims was the work of members of the Working Families Party.

“Now that rogue [party director] Bill Lipton and his breakaway political party has claimed ownership of this shameful and vulgar push poll we look forward to a review by the State Board of Elections,” said IDC spokeswoman Candice Giove.

Lipton admitted his party was behind the poll, but denied it included any improper language.

“That’s ridiculous,” he said.

IDC officials say the Working Families Party released a press release about the phone poll that disparaged the Democratic splinter group as allied with “Trump Republicans” in the state Senate.

IDC members say their constituents called to complain about nasty language in the poll.

The IDC is in an increasingly bitter war with other Democrats who accuse them of being turncoats for supporting the GOP majority in the Senate.