Senate Majority Leader Mitch McConnell responded to a report that his ancestors owned slaves by comparing himself to former President Barack Obama.

“You know, I find myself in the same position as President Obama. We both oppose reparations, and we both are the descendants of slave owners,” he said Tuesday after NBC News reported that two of his great-great-grandfathers owned at least 14 slaves.

Last month, the Kentucky Republican said he opposes reparations for descendants of slaves — a position he defended in part by arguing that the US has dealt with its “original sin of slavery” because it elected Obama, the first African American president.

“I don’t think reparations for something that happened 150 years ago, when none of us currently living are responsible, is a good idea,” McConnell told reporters.

Obama — whose father was a black Kenyan and whose mother was a white Kansan — has said his mother’s ancestry could be traced to Confederate President Jefferson Davis, according to the Washington Post.

In 2007, a genealogist traced Obama’s roots and uncovered two slave owners in his maternal ancestry.

A later report by Ancestry.com suggested his mother also was a descendant of one of the first enslaved Africans brought to colonial America.

A spokesman for Obama at the time told the New York Times that Obama knew he was related to Davis — and said this new information made him “representative of America.”‘

“It is a true measure of progress that the descendant of a slave owner would come to marry a student from Kenya and produce a son who would grow up to be a candidate for president of the United States,” Bill Burton told the newspaper.

McConnell’s great-great-grandfathers James McConnell and Richard Daley owned 12 female and two male slaves, NBC News reported, citing the Limestone County “Slave Schedules” in the 1850 and 1860 censuses.

He did not say if he knew about his family’s ownership of slaves before the report was published Monday.

Several media outlets reported during Obama’s first presidential run in 2007 that his mother’s ancestors were slave owners.

Obama opposed reparations during the campaign, answering a questionnaire from the NAACP by saying, “The legacy and stain of slavery are immeasurable; nothing, including reparations, can fully compensate,” according to CNN.

He did say that while he appreciated the underlying sentiment in “recognizing the continued legacy of slavery, I would prefer to focus on the issues that will directly address these problems.”

In 2016, he told Ta-Nehisi Coates in The Atlantic that he would rather invest in a more widespread anti-poverty program than a specific reparations program.

“I have much more confidence in my ability, or any president or any leader’s ability, to mobilize the American people around a multiyear, multibillion-dollar investment to help every child in poverty in this country than I am in being able to mobilize the country around providing a benefit specific to African Americans as a consequence of slavery and Jim Crow,” Obama said.

Obama’s office declined to comment to CNN on McConnell’s remarks.