Pete Buttigieg’s high-flying presidential campaign said Wednesday it would refund the donations it received from two lawyers who represented Supreme Court Justice Brett Kavanaugh during his contentious Senate confirmation hearings.

His campaign made the move after reporters from Britain’s The Guardian raised questions about the contributions from attorneys Alexandra Walsh and Beth Wilkinson, who are law partners.

The two donated a combined $10,000 from the pair, $3,150 of which had already been returned because it exceeded contribution limits.

“With nearly 700,000 donors, a contribution we would otherwise refuse sometimes gets through,” the campaign told the publication in a statement. “We believe the women who have courageously spoken out about Brett Kavanaugh’s assault and misconduct, and we thank the Guardian for bringing this contribution to our attention.”

“[Kavanaugh] should have never been put on the supreme court and this campaign will not accept donations from those who played a role in making that happen,” the spokesperson added. “Accordingly, we will be returning this contribution and others from this firm.”

The stumble comes as polling shows Buttigieg — the mayor of South Bend, Indiana — charging to the front of the Democratic Party’s 2020 presidential contest in Iowa.

Walsh and Wilkinson — who regularly donated to Democrats in the past — worked for Kavanaugh as he battled bombshell allegations that he sexually assaulted a high school classmate, Christine Blasey Ford.

Ford’s emotional testimony and Kavanaugh’s angry rebuttal denying the charges before the Senate Judiciary Committee captivated the nation and nearly sank his nomination.

He was eventually confirmed to the Supreme Court in October 2018 in a vote that went largely along party lines.