Roy S. Moore, who won a special Republican primary runoff for an Alabama Senate seat on Tuesday, is a staunch evangelical Christian, and his often-inflammatory political beliefs are informed by his strongly held religious views.

He has condemned homosexuality and used offensive language when talking about race, recently referring to Native Americans and Asian-Americans as “reds and yellows.”

His insistence on the primacy of religion over American law has twice led him to be taken off the Alabama Supreme Court: once in 2003, for refusing to remove a statue of the Ten Commandments from the courthouse, and again in 2016, when he asked state probate judges to disregard a federal ruling on same-sex marriage.

Here are some of the ways that Mr. Moore has described his own views in the past.

On gay marriage

Mr. Moore has long been virulently opposed to gay marriage and has condemned same-sex relations altogether.