Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

AUGUSTA, Maine (AP) — Republican Gov. Paul LePage on Tuesday offered an erroneous history lesson about racial segregation to a black Georgia congressman who risked his life to fight for civil rights, and he called on the NAACP to apologize to white people.

Democratic U.S. Rep. John Lewis, who was beaten while marching in Selma, Alabama, with Dr. Martin Luther King Jr., should be grateful to Republican presidents and shouldn't question the legitimacy of GOP President-elect Donald Trump's victory, LePage said.

"You know, I will just say this: John Lewis ought to look at history," LePage, who's white, said on WVOM-FM. "You know, it was Abraham Lincoln that freed the slaves. It was Rutherford B. Hayes and Ulysses S. Grant that fought against Jim Crow laws. A simple 'thank you' would suffice."

The Maine NAACP released a statement to NBCBLK calling the governor's remarks "troubling" and demeaning to the entire civil rights movement.

"Governor LePage, as the spokesman for our State must apologize to the Nation for his intentional disrespect and blatant ignorance. Congressman Lewis does not need to “learn his history” – he already made history by marching at Selma, working alongside Dr. King and serving in Congress for three decades. Furthermore, the NAACP’s existence was necessitated by the basic fact that despite the bloodshed of our sons from all heritage during the Civil War, the precious Freedom fought for has continued to be denied to people of color up until today.”

Lincoln signed the Emancipation Proclamation in 1863 and pushed for the 13th Amendment, which abolished slavery. But historians say LePage is wrong about Jim Crow laws, which legalized racial segregation.

Jim Crow laws didn't exist during the Grant administration and an electoral deal that put Hayes in office led to the end of Reconstruction and the removal of federal troops, setting the stage for the creation of Jim Crow laws that followed, said Colby professor Dan Shea.

Gov. Paul LePage speaks at a news conference at the State House on Jan. 8 in Augusta, Maine. LePage apologized for his remark about out-of-state drug dealers impregnating "young white" girls, saying it was a slip of the tongue. Robert F. Bukaty / AP

"Paul LePage is going to give John Lewis a tutorial on the history of black oppression in the United States? That's rich," Shea said.

The Morning Rundown Get a head start on the morning's top stories. This site is protected by recaptcha

LePage's criticism of Lewis comes on the heels of Lewis' comments last week that he would not attend Trump's inauguration.

"You know, I believe in forgiveness. I believe in trying to work with people. It will be hard. It's going to be very difficult. I don't see this president-elect as a legitimate president," Lewis said in an interview with NBC's "Meet the Press" that aired Sunday.

Lewis' spokeswoman said Tuesday that the facts of history refute LePage's statements about the Jim Crow laws.

Some took to twitter expressing the same sentiment.

John LePage, John Lewis doesn't need a lesson in history; he is a lesson in history! — Arica L. Coleman (@ALCPHD) January 17, 2017

Later in the afternoon, the governor tried to clarify his remarks to the Portland Press Herald by saying he felt all white people were being lumped together. He said that the "NAACP should apologize to the white people, to the people from the North for fighting their battle."

The NAACP was founded on Feb. 12, 1909 by not only African American activists, but also several white activists: Oswald Garrison Villard, journalist, Lillian Wald, nurse, Mary White Ovington, William English Walling, and Dr. Henry Moskowitz.

The governor also said that "the blacks, the NAACP" paint white people with one brush and added that "to say every white American is a racist is an insult." The governor has also stated that a racist "is the absolute worst, most vile thing you can call a person" and last summer left an expletive-laced voicemail for a Democratic legislator that he thought called him a racist.

LePage said he knows many Maine families who had ancestors who fought in the Civil War. Maine, the nation's whitest state, is 95 percent white, according to 2015 census estimates.

Related: Why Trump’s Attack on John Lewis Came at a Particularly Bad Time

This isn’t the first time LePage has come under fire for racially charged remarks. During a town hall meeting on Maine’s heroin epidemic in January 2016, LePage said men with names like “D-Money” or “Shifty” were coming to the state selling drugs and while there, “impregnate a young, white girl before they leave.” He also said, “people of color or people of Hispanic origin” are the enemy.

LePage on Tuesday also had harsh words for a Maine congresswoman who is among more than 40 House Democrats so far to say they are skipping Trump's inauguration. He said Rep. Chellie Pingree should resign if she doesn't attend.

"They're trying to bully us out of believing our Constitution," LePage said of Democrats.

Pingree said Monday that "President-elect Trump's actions go beyond any kind of reasonable debate, they threaten the constitutional values our country is based on."

Pingree's office on Tuesday called LePage's remarks about Lewis divisive and inaccurate.