Security around London's landmarks was back in the spotlight this weekend after a man was arrested brandishing a 4ft sword outside Buckingham Palace.
The 26-year-old, who caused minor injuries to three police officers, was being questioned by counter-terrorism police last night.
In March, the jihadist Khalid Masood managed to enter the parliamentary estate through an open gate after running over pedestrians on Westminster Bridge. Masood fatally stabbed Pc Keith Palmer, an unarmed officer, and got around a dozen meters into a courtyard behind the security perimeter before being shot. The attack raised
serious questions about Parliament's security, with footage emerging of Theresa May being scrambled into a car and a motorbike entering the grounds unchecked in the aftermath.
But it was not the first time vulnerabilities had been laid bare. This newspaper has learnt that the remarkably lifelike "resilience test" carried out just weeks earlier had exposed weaknesses.
Dozens of police officers and volunteers were placed in the Palace of Westminster at night to recreate the security conditions during the day. The test was conducted while Parliament was on recess, meaning MPs and peers were unlikely to be around - minimising the chance of it becoming public.
A group acting as terrorists approached Parliament by boat. They gained access via a terrace before storming the Commons Chamber, where debates are held. The time between starting the "attack" and entering the Chamber was less than five minutes, sources said. Simulations showed more than 100 MPs could have been killed.
Those briefed on the drill were left shocked. One source said: "I remember thinking 'Jesus Christ, if that's where we are at and that can happen, then the public would be horrified."
Another said: "They [the public] would be scared stiff. They wouldn't come back to the place. It is not safe. We are sitting ducks in Parliament."
Measures have already been taken to improve security, with an armed officer now guarding the river entrances. Further changes have been recommended.
A spokesman for the Houses of Parliament said: "The security of Members, staff and the visiting public is our highest priority. While we cannot comment on the specifics of our security, we work closely with the police, security services and others to ensure our security measures are effective and meet whatever level of risk Parliament faces. These measures are always under review."