The lone Republican candidate for attorney general is saying thanks, but no thanks to the state Independence Party “at this time.”

Staten Island DA Dan Donovan sent a letter to Indy party chairman Frank MacKay saying he is no longer interested in being considered for the nomination.

Donovan cited the allegations of misconduct by MacKay related to his position as chairman (he didn’t note anything specific, but The Post’s Dave Seifman has been relentless in his coverage of party cash being sent to benefit MacKay’s wife’s former computer firm and people associated with it).

“As the Richmond County District Attorney, it is my sworn duty and obligation to fully investigate any claims of wrongdoing,” Donovan wrote.

“In order to preserve the integrity of my office and the integrity of any possible investigation undertaken, given your role in our investigation, I hereby remove myself from your consideration for the Independence Party’s nomination.”

This is an interesting move by Donovan, particularly since MacKay is an ally of Mayor Bloomberg, the DA’s most prominent supporter.

In fact, it was a big contribution by Bloomberg that was used to hire a veteran Queens GOP operative and longtime political volunteer for the mayor, John Haggerty, that got the Indys in trouble with the Manhattan DA.

The Independence Party, like the Working Families Party, which is also under investigation (although by the US attorney’s office, not the Manhattan DA’s office), put a placeholder AG candidate on its ballot line, singaling a desire to wait and see what happens in the Democratic primary before making a final decision.

The party has endorsed Democratic gubernatorial candidates both this year (AG Andrew Cuomo) and in 2006 (former AG Eliot Spitzer), but has a habit of splitting its support among Democrats and Republicans.

It backed former Westchester DA Jeanine Pirro for AG against Cuomo in 2006, for example, and is a bit all over the map with its endorsements in legislative and congressional races this year.

Letter to Chairman MacKay (Final)