President Trump does not share some of the most controversial views expressed by Roy Moore, the GOP nominee in the Alabama Senate race, despite his endorsement of Moore this week, White House press secretary Sarah Sanders said on Thursday.

"I would certainly say we don't agree with those comments," Sanders told reporters at the White House on Thursday.

Moore beat the Republican candidate on Tuesday who Trump had backed in the GOP primary, and Trump quickly threw his support behind Moore in the upcoming general election.

However, the former state supreme court judge has a history of making incendiary comments.

For example, Moore has suggested outlawing homosexuality, referred to Native Americans and Asian Americans as "reds" and "yellows," and has clung to the discredited theory former President Barack Obama was not born in the U.S.

"I have not taken a deep dive on every comment that the Senate nominee has made," Sanders said on Thursday.

The White House spokeswoman noted she "wouldn't see any parallels between the two of them on that front," referring to Moore's litany of controversial comments.