Actor Hill Harper, who is now running for U.S. Senate, will not return to ABC’s The Good Doctor.

In a statement to TVLine, Harper’s campaign spokesperson said the actor is preparing to address “a crisis in American democracy.”

“Too often, government only works for the rich and powerful while the rest of us struggle to find a voice,” the spokesperson told TVLine. “Hill is dedicating his efforts full time to fixing that, and he’s running for the U.S. Senate as an active union member to give working people more of a voice in Congress.”

Hill Harper is leaving 'The Good Doctor'

Harper is running for office in Michigan, challenging Democratic Rep. Elissa Slotkin. Senator Debbie Stabenow, who currently holds the seat, will give up the position in 2025 after serving four six-year terms, Entertainment Weekly reported.

Harper, 57, played as Dr. Marcus Andrews on The Good Doctor. However, his character resigned as the hospital president in the Season 6 finale. The ABC show is now set to return for a seventh season in February without Harper.

The Brown University graduate, who also studied at Harvard Law, previously served as a lawyer. In his acting career, Harper starred as Dr. Sheldon Hawkes on the CBS series CSI: NY, which ran for nine seasons and ended in 2013. Additionally, Harper has made appearances in several other popular films and shows, including Married…with ChildrenGet on the Bus and Beloved.

Harper’s campaign website states that he is focused on advocating for universal healthcare, climate justice, raising the federal minimum wage, and eliminating the filibuster from the U.S. Senate.

In July, when Harper first announced his decision to run for office, he vowed to be somebody who gets things done for the people.

“We can all feel it: D.C just isn’t getting things done for people,” he wrote at that time, according to the Jackson Progress-Argus. “We need representatives who’ll take on special interests, get money out of politics, and make our government work for all of us. That’s why today, I’m announcing my campaign for U.S. Senate in Michigan!”