Kansas Secretary of State Kris Kobach on Wednesday confirmed his office secured its first conviction of a noncitizen who illegally voted in an election.

Victor David Garcia Bebek, a Peruvian national who only became a U.S. citizen in 2017, pleaded guilty to voter fraud for casting ballots in the 2012 special election, as well as the 2012 and 2014 general elections.

Following his naturalization ceremony this year, Bebek was offered the chance to register to vote.

"This gentleman did so, and then when the Sedgwick County election office went back to the office to enter his information, they found that he had been on the voter rolls since 2011," Kobach, a Republican, told the Kansas City Star.

Kobach serves in the only state in the country where a secretary of state has the authority to prosecute voter fraud. He has previously convicted eight people in voter fraud cases since 2015, but only individuals who had "double-voted" or were residents of different states.

Kobach, who advised President Trump on immigration issues during the 2016 election, had been floated as a potential administration hire. Trump has tweeted that millions of people illegally voted in the 2016 presidential election.

Bebek will have to pay a $5,000 fine and serve unsupervised probation for up to three years. Kobach's office said it was not aware of Bebek's political affiliation.