Former Attorney General Eric Holder said Wednesday that he’s considering a run for political office and will likely make a decision by the end of the year.

Holder signaled his interest in running for office in remarks at a Christian Science Monitor breakfast in Washington, D.C. When asked if he would consider running for president, Holder said: “We’ll see.”

While he mulls a potential candidacy, Holder will remain active in politics through his work with the National Democratic Redistricting Committee, a political group focused on gerrymandering that he formed last year with the backing of former President Barack Obama.

The organization is backing Democrats in gubernatorial and state legislative races in 2018, as part of its effort to give Democrats more input and veto power in the redistricting process after the 2020 national census.

The group is planning to spend tens of millions of dollars in the 2018 midterms to chip away at the structural advantage Republicans built for themselves after the last census, when GOP-controlled state legislatures created congressional district maps across the country that favored Republicans.

“During the redistricting process that occurred in 2011, Republicans used new technology to take gerrymandering to what I would say [were] unprecedented levels,” Holder said.

“By creating safe districts, they locked themselves into power over this past decade and shut out, I believe, voters from the electoral process,” Holder said, adding that minority communities were often the most adversely affected.

Holder’s comments came as the fight over gerrymandering is heating up in the courts. The Supreme Court is already considering two partisan gerrymandering cases this term, including one brought up by Maryland Republicans and another by Wisconsin Democrats.

Earlier this week, the Supreme Court declined to block a Pennsylvania Supreme Court ruling that ordered the GOP-controlled state legislature to redraw its congressional redistricting plan. The lower court had ruled that the maps violated the state’s constitution. The Supreme Court decision means the Keystone state will have to redraw its congressional district lines this year, and could have wider implications for the 2018 midterms as well.

In the midterms Holder’s group will be targeting traditional swing states — like Ohio, Florida, and Michigan — along with left-leaning states like Minnesota, where Republicans currently control both legislative chambers. The group has raised $16.2 million for the midterm cycle so far, Holder said.

Holder also said he met with Obama earlier this week, and said the former president would campaign in the midterms, with a focus on races important for redistricting. But Holder said it’s unlikely he or Obama would make any endorsements in primaries.

The former attorney general said his organization will also focus on ballot initiatives, and contesting gerrymandered electoral maps through litigation.