Minnesota's attorney general race was running close early Wednesday between Democratic incumbent Keith Ellison and Republican challenger Jim Schultz, a political newcomer who tries to blame Ellison for rising crime.

Schultz, a 37-year-old hedge fund attorney with no courtroom experience, was seeking to become the first Republican to win Minnesota's attorney general race since 1966.

Ellison, who burst on the national scene as the first Muslim elected to Congress in 2006, left that safe seat behind for his first run as attorney general in 2018, saying it was his best chance to push back against the policies of Donald Trump. Ellison just squeaked into office, and his progressive policies have made him a polarizing figure in the eyes of some voters.

MIDTERM ELECTIONS 2022: LIVE UPDATES

Ellison led the prosecution team that won a conviction of former police Officer Derek Chauvin in George Floyd's killing, and obtained guilty pleas from other officers. He also stepped in to prosecute a suburban Minneapolis police officer who fatally shot a Black motorist, Daunte Wright, in the midst of Chauvin's trial. Ellison said his office had successfully prosecuted 50 serious crimes, and contrasted that with Schultz's lack of courtroom experience.

Minnesota Attorney General Keith Ellison

Minnesota Attorney General Keith Ellison at a speaking event on Oct. 22, 2022, in St. Paul, Minnesota.  (AP Photo/Abbie Parr, File)

Schultz made crime his top issue. He accused Ellison of being at the forefront of the "defund the police" movement that arose from Floyd’s death in Minneapolis, and he promised to shift the office’s attorneys away from their traditional duties of consumer and labor protection into a major expansion of the criminal division. He also accused Ellison of doing too little to stop a massive scheme that federal prosecutors say stole at least $250 million from a program to feed children during the pandemic.

DEMOCRATS HOLD KEY TOSS-UP SUBURBAN DISTRICT IN MINNESOTA

Ellison supported a failed Minneapolis ballot measure in 2020 that would have replaced the city’s police department with a vaguely defined public safety department. But he maintained that he never supported defunding police, just reforming law enforcement. And he accused Schultz of misstating the role of the attorney general’s office in fighting violent crime, pointing out that it can only take over a criminal case at the request of the local county attorney or the governor.

After the Supreme Court overturned the Roe legal precedent that guaranteed a national right to abortion, Ellison made the issue central to his campaign. He vowed to use his office to defend abortion rights, and reminded voters that Schultz had vowed to go on "offense, offense, offense" against abortion when he was trying to win the GOP nomination.

Schultz tried to avoid talking about abortion.

CLICK HERE TO GET THE FOX NEWS APP

"I’m pro-life and I’m not ashamed of that," he said, but accused Ellison of using the issue as a distraction.