BARACK OBAMA: “Similarly, with respect to the rights of gays and lesbians, I’ve been consistent all across Africa on this. I believe in the principle of treating people equally under the law, and that they are deserving of equal protection under the law and that the state should not discriminate against people based on their sexual orientation. And I say that, recognizing that there may be people who have different religious or cultural beliefs. But the issue is how does the state operate relative to people.

“If you look at the history of countries around the world, when you start treating people differently -- not because of any harm they’re doing anybody, but because they’re different -- that’s the path whereby freedoms begin to erode and bad things happen. And when a government gets in the habit of treating people differently, those habits can spread.

“And as an African-American in the United States, I am painfully aware of the history of what happens when people are treated differently, under the law, and there were all sorts of rationalizations that were provided by the power structure for decades in the United States for segregation and Jim Crow and slavery, and they were wrong.

“So I’m unequivocal on this. If somebody is a law-abiding citizen who is going about their business, and working in a job, an obeying the traffic signs -- (laughter) -- and doing all the other things that good citizens are supposed to do, and not harming anybody -- the idea that they are going to be treated differently or abused because of who they love is wrong. Full stop. And the state does not need to weigh in on religious doctrine. The state just has to say we’re going to treat everybody equally under the law. And then everybody else can have their own opinions. All right?”