[cnn-photo-caption image= http://i2.cdn.turner.com/cnn/2008/images/07/24/art.obamawall.jpg caption="Obama visited the Western Wall early Thursday."]
(CNN) - Barack Obama has been greeted by enthusiastic - at times even wild - crowds throughout his trip abroad, but at least one man wasn't happy with the Democratic presidential candidate's visit to one of the most sacred spots in Jerusalem early Thursday morning.
During an unannounced visit to the Western Wall - during which he was escorted by the Wall's rabbi, Shmuel Rabinovich, a man only yards away from the Illinois senator repeatedly yelled "Obama, Jerusalem is not for sale! Obama, Jerusalem is not for sale!"
The comments come a day after Obama reiterated his stance Jerusalem should remain the capital city of Israel. Though he noticeably did not repeat his headline-grabbing June comment that the city should remain “undivided.”
Shortly before he arrived in Jerusalem Wednesday, a group of religious leaders there charged him with flip-flopping on the status of Israel’s capital, and called on him to re-commit to that position.
"I also have said that it is important that we don't simply slice the city in half, but I've also said that that's a final status issue. That's an issue that has to be dealt with with the parties involved — the Palestinians and the Israelis. It's not the United States' job to dictate the form in which that will take, but rather to support the efforts that are being made right now to resolve these very difficult issues that have a long history," he told reporters Thursday.
Jerusalem has also been claimed by Palestinian leaders as the capital of any future state. Congress passed a law declaring the city the capital of Israel, and saying it should remain undivided, but the U.S. Embassy has remained in Tel Aviv.
After a brief prayer, Obama walked to the Wall and left a note, as is custom, before placing his hand in the Wall and bowing his head. Meanwhile, the heckler continued his chant as Obama left the site.
Others who had gathered around attempted to obscure the heckler's words with chants of "Obama, Obama."
Obama's visit at the Wall lasted about 10 minutes. Obama noted later to reporters that his visit there was “rowdier than the last time.”