The Islamic militants who held and murdered Steven Sotloff, and fellow American journalist James Foley before him, maintain a stronghold in northeastern Syria not far from the border with Turkey.
"You stand on one side, on the very tip of NATO's southern flank, and a hundred yards across the barbed-wire fence is the Islamic State," says the BBC's Ian Pannell, who just returned from visiting the Turkish side of border and saw firsthand the "state" that the militant group ISIS has proclaimed.
The residents of Turkish towns close to Syria had been accustomed to a border that Pannell says was "wide open" for years.
"We went across, other journalists went across, aid workers went across — and so did foreign fighters," Pannell says. "We always used to see this mingle of fighters coming in from across Syria, foreigners appearing at the airport. We almost used to joke that some of the planes landing in the local airport were like Jihadi Airways."
But that was when ISIS was a useful but troublesome force against the Syrian regime. Now it's a self-described country with radical goals and hunger for more territory. Turkey is now making some moves to clamp down on border crossings and keep extremists from getting into Syria — or from coming back to wreak havoc at home.
Pannell notes that many of the young foreigners who streamed across Turkey's border with Syria came before ISIS existed. "Many of them came because they were adamant that they should support what they saw as justified struggle against President Assad," he says.
What's more, they weren't rejected by the Turks. "The argument that you hear ... from people locally and those who have been involved in the struggle in Syria, is that because the West did not intervene, because no help came, they welcomed the jihadis with open arms," Pannell says.
During his visit to the Turkey-Syria border, Pannell talked with a man who said he had trained a suicide bomber, a US citizen who grew up in Florida and called himself Abu Hurayra al-Amriki. The man said he met Amriki in a camp for displaced Syrians. The young American hadn't come to Syria to fight, but was moved by the plight of the orphans.
According to the man, Amriki was convinced to attend a jihadi training camp with hundreds of others, many of them foreigners. Once there, he became radicalized and signed on to join Jabhat al-Nusra, al-Qaeda's affiliate in Syria. Last May, Amriki detonated a suicide bomb in Syria's Idlib province.
It's a story of radicialization that's been repeated time and again. Turkey's border measures are intended in part to prevent such recruitment from taking place. But Pannell says the efforts might be too late.
"When you hear politicians talking about how to deter people from coming out to Syria, how to stop joining ISIS and the Islamic State, it feels a little bit like trying to close the stable door after the horse has bolted," Pannell says. "The challenge is, how do you deal with the Islamic State that flies its flag on NATO's border, and how do you deal with the foreign jihadis who threaten to bring the fight home?"
Sign up for The Top of the World, delivered to your inbox every weekday morning.