[cnn-photo-caption image= http://i.l.cnn.net/cnn/2008/images/01/20/art.obamachurch.ap.jpg caption="Obama spoke at King’s old church a day before the holiday celebrating his birth."]ATLANTA (CNN) - After a bitter few weeks on the trail, Barack Obama spent Sunday morning talking unity at Ebenezer Baptist Church, where Rev. Martin Luther King Jr. once presided.
He recalled the legacy of discrimination against African-Americans - but challenged the audience at the historic black church to take a look at a few lingering prejudices among some within the community itself.
"And yet, if we are honest with ourselves, we must admit that none of our hands are entirely clean. If we’re honest with ourselves, we’ll acknowledge that our own community has not always been true to King’s vision of a beloved community," he said, citing homophobia, anti-Semitism and anti-immigrant sentiment.
Obama told the congregation Sunday morning that if King could forgive his jailers, "surely we can look past what divides us in our time."
Obama's visit to the city coincided with his Sunday endorsement by the Atlanta Journal-Constitution, which cited his "appeal across many of the lines that have divided America, adding that "both Clinton and Obama would make very good presidents, [but] Obama is the person; this is his time."
Georgia voters head to the polls February 5.
In New York City, Hillary Clinton spent the morning at another historic black church, the Abyssinian Baptist Church in Harlem, where she picked up the endorsement of its pastor, the Rev. Calvin Butts.
Obama's chief rival for the Democratic nomination also sounded a conciliatory note Sunday. "I have the highest regard and admiration for my friend and colleague Sen. Barack Obama. I am honored to be running with him," she said. "I hope that this election remains focused on the big challenges that confront us."
Related video: Watch Sen. Obama at the Ebenezer Baptist Church
Related video: Watch Sen. Clinton on Dr. King's legacy
Related video: Watch John Edwards on Dr. King's legacy