LONDON - The rooftop missiles might have scared them off. Then again, it might have been the imposing warship or the army of undercover agents. Whatever the case, London's Summer Olympics have been terror-free so far.
The success of the Olympic security operation, however, was not an accident. It involved years of planning and steady diligence.
A day after Britain won the Olympic bid in 2005, homegrown suicide bombers struck during London's morning rush-hour. Because of it, Britain's security, intelligence and eavesdropping agencies - MI5, MI6 and GCHQ - have since received more money, manpower and equipment and thwarted dozens of terror plots - a major factor they say has helped to keep the games safe.
But with post-Olympics celebrations stretching into the week and the Paralympics not wrapping up until September, Britain's security officials say their job is far from over.
Hundreds of personnel have been told to forget about vacations until next month. And the private security contractor for the Olympics, G4S, says some 5,000 guards will be on hand for the Aug. 29-Sept. 9 Paralympics.
"There is an ever-present risk in this country and that is something we will have to be aware of," Britain's policing minister Nick Herbert said Friday.
Britain was America's closest ally in Afghanistan and Iraq, making it a prime target of Islamic terror groups. And dozens of recent terror plots, including the 2006 plot to blow up nearly a dozen trans-Atlantic airliners, have been hatched within Britain's sizeable Muslim population, more than 1 million of whom have ties to Pakistan.
Some minor incidents did happen - an Olympics security trainee was charged with making a bomb threat ahead of the games, three Muslim men were charged for heckling soldiers guarding Olympic venues over Britain's involvement in Afghanistan and a G4S guard spat at a serviceman. And weeks before the games, G4S had to admit a shortfall of security workers, but the military stepped in to make up the difference.
The only suspected terror plot that came close to involving British interests happened overseas, when Spanish authorities took two Russians and a Turk into custody last week. Two European security officials who spoke on condition of anonymity because they were not authorized to talk to the press said the plot involved possible targets in the British territory of Gilbraltar.
Although there were no credible or specific plots aimed at the Olympics, police arrested dozens of terror suspects prior to the games. Many of those suspects have since been released.
A senior Iraqi intelligence official told The Associated Press that about one month before the opening of London Olympics, Iraqi authorities provided Britain with information about contacts between terrorist groups in Iraq and the U.K. The official spoke on condition of anonymity because he was not authorized to release the information.
British officials got an expected an increase in tips and intelligence ahead of the games, but some of the tips never came to anything.
"Over the years, we've managed to make Britain a difficult place to operate in if you're a terrorist," a British security official told the AP on condition of anonymity because he was not authorized to speak to the press. "The security around the games has also been an off-putting factor. But the threat still is, and has been, real."
Since the 2005 suicide bombings, Britain has seen several serious terror plots hatched on its soil.
In a plot that had a far-reaching impact on air travel, British and American investigators in 2006 thwarted attacks against several trans-Atlantic jets by terrorists using liquid explosives.
A year later in 2007, a man tried to drive an explosive-laden vehicle into a Scottish airport while another tried to blow up a car outside a London nightclub.
Dozens more plots have followed since, including a 2010 plot to attack the U.S. Embassy and the London Stock Exchange.
Al-Qaida, whose leadership has been weakened by strikes that have killed top leaders and strategists, has traditionally gone for softer targets rather than big security events like the Olympics.
"It has become much more difficult for them to launch attacks and they know that they will be watched in Britain, so they look for other targets," said Noman Benotman, a former jihadist with links to al-Qaida who is now an analyst at London's Quilliam Foundation. "But they're still determined and I don't think it will be any time in the near future that they will give up on attacking the West."
Israeli terrorism experts said robust British counterterrorism efforts, coupled with a weakening of terror organizations abilities, have prevented attacks at the Olympic games in London.
"The British didn't leave any stone unturned," said Israeli terrorism expert Ariel Merari.
An official from Israel's Shin Bet intelligence agency, speaking anonymously because the official was not permitted to discuss the matter with reporters, said Israel and Britain cooperate on security issues but would not discuss Israeli tips on possible attacks.
Associated Press writers Qassim Abdul-Zahra contributed to this report from Boston, David Stringer and Raphael Satter from London and Daniel Estrin from Jerusalem.