TOPEKA, Kan. — Kansas Secretary of State Kris Kobach stepped aside from his duties as the state’s top elections official Friday until his closely fought primary race with Governor Jeff Colyer is resolved.

But Kobach rejected Colyer’s accusations that the advice he has been giving local election officials on handling ballots violates state law.

Kobach said in a letter to Colyer that he was turning his election duties over to his top deputy.

Colyer had demanded in his own letter Thursday to Kobach that the secretary of state stop providing guidance to county officials as they counted late mail-in ballots from Tuesday’s Republican primary and prepared to count other ballots next week.


‘‘Although I would discharge my duties ethically, impartially, and responsibly, I have carefully considered your request and have decided that it is in the best interest of the citizens of Kansas that I permit another to perform the duties of the secretary of state until the conclusion of the 2018 primary election process,’’ Kobach wrote.

Under state law, mail-in ballots are counted if they were postmarked Tuesday and arrive in county election offices by Friday. The secretary of state’s office was updating vote totals as it received new numbers from individual counties.

With 25 of the state’s 105 counties reporting, Kobach’s lead almost doubled to a still-tiny 241 votes out of more than 311,000 cast. It had been 121 votes after discrepancies were found between results reported by two counties and what Kobach’s office posted on its website.

Kobach is a conservative lightning rod who alienates even some fellow Republicans, but he is perhaps President Trump’s closest political ally in Kansas and had Trump’s tweeted endorsement. Colyer, backed by the National Rifle Association and a strong abortion opponent, is trying to avoid becoming the first Kansas governor to lose a primary since 1956.


Colyer, already has accused Kobach of giving county election officials guidance ‘‘not consistent with Kansas law,’’ and said Friday on Fox News that he is worried that some mail-in ballots in Tuesday’s governor’s race are not being counted as required. He said he is ‘‘not entirely’’ comfortable with the counting of remaining votes.

Even with late mail-in ballots tallied, the counting is not complete because county officials also must review nearly 9,000 provisional ballots, given to voters at the polls when their eligibility is in question. The counties have until Aug. 20 to finish.

Kobach had pledged Thursday night on CNN to remove himself from further counting, but Colyer said that was not enough. Colyer’s campaign also announced plans to have representatives in all 105 counties when provisional ballots are reviewed.

The secretary of state’s role in the actual counting of ballots is limited: His office provides guidance, compiles statewide vote tallies, and provides general supervision. Kobach on Thursday night said staying out of further vote counting would be ‘‘symbolic’’ even as he pledged to do it.