BILLINGS, Mont. (AP) — The Libertarian candidate in Montana’s U.S. Senate race threw his support behind Republican Matt Rosendale on Wednesday in response to an election mailer from an unknown group that appeared aimed at undermining Rosendale’s support among conservatives.

Rosendale, Montana’s state auditor and insurance commissioner, is in a tight race against two-term Democratic Sen. Jon Tester, with the balance of power in the closely divided Senate potentially at play.

Libertarian Rick Breckenridge has virtually no chance of winning. But his participation has threatened to peel away votes that might otherwise go toward the Republican and boost Tester’s chances next week.

The mailer comes two days before President Donald Trump plans to hold a campaign rally in Bozeman supporting Rosendale — the president’s fourth visit to the state and an indication of how much the White House wants to unseat Tester. Trump has blamed the Democrat for derailing the nomination of his first choice to head the Veterans Affairs department.

Breckenridge said in an interview that he doesn’t know the source of the mailer, which promoted him as a “true conservative” and claimed that Rosendale supports using drones to spy on private citizens.

He said it appeared to be an attempt by so-called dark money groups to influence Montana’s election and that he’s decided Rosendale is the best candidate to stop such efforts. Federal election laws require campaign materials to disclose their funding source.

“The reality is I’m only going to get 3 or 4 percent of the vote, and he (Rosendale) has the character to combat this issue,” Breckenridge said. “I’m standing in unity and solidarity with Matt to combat dark money in politics.”

He said he disagreed with Rosendale on some issues, particularly the Republican’s support for building a wall on the U.S.-Mexico border, and shared Tester’s concerns about Supreme Court Justice Brett Kavanaugh’s stance on privacy issues. But dark money in elections is more important, Breckenridge said.

The endorsement came as a surprise to other Montana Libertarians, according to Andrew Forcier, a member of the party from Columbus.

Forcier said it was distressing for a Libertarian nominee to get behind a Republican candidate and that Breckenridge had never made a personal investment in the campaign to demonstrate his seriousness.

“From my standpoint, Rick just wanted media exposure, and this is his way to get it,” Forcier said.

The mailer is reminiscent of tactics used by Democratic-friendly groups in Tester’s 2012 race to promote Libertarian candidate Dan Cox and siphon Republican voters from Rep. Denny Rehberg.

Tester won the race by 4 percentage points, and Cox captured more than 6 percent of the vote — enough to swing the election if those ballots had gone for Rehberg.

Rosendale said during a Thursday conference call with Breckenridge hosted by the Republican’s campaign that he was honored to have the Libertarian’s backing. Rosendale alleged that the flier was distributed by “Jon Tester’s allies” but offered no definitive proof.

Tester campaign spokesman Chris Meagher said Rosendale’s suggestion that the Democrat was involved in the mailer were false.

“Jon believes all campaign expenditures should be disclosed,” Meagher said. “We condemn this mailer and any other efforts like it.”

It’s uncertain who sent the mailer or how many people received it. Rosendale campaign spokesman Shane Scanlon said it went out to voters in the Billings and Flathead areas and possibly elsewhere.

A copy of the mailer provided by Rosendale’s campaign and addressed to a resident in Huntley did not have a return address or say who paid for it.

The claim that Rosendale supports drones for government surveillance stands in stark contrast to an advertisement from Rosendale during a failed bid for the U.S. House in 2014. It showed the candidate shooting down a drone with a rifle.