A Massachusetts Republican Party lawyer says a gubernatorial candidate who sued to get on the GOP primary ballot demanded $1 million in exchange for dropping the legal challenge.

In a letter Tuesday to Republican State Committee members, a party attorney says he told a lawyer for tea party-affiliated candidate Mark Fisher that it is illegal to pay someone in exchange for dropping out of a political race.

Fisher's attorney, Thomas Harvey, confirmed to The Boston Globe that Fisher, who is suing for the right to face off against front-runner Charlie Baker in the primary, had asked for $1 million.

But Harvey said Fisher's request for compensation was reasonable and not illegal because the candidate had "put a lot" into the race and should be compensated.