US president Donald Trump described the terror attack at Westminster as "big news" as world leaders reacted with shock to the incident.
Mr Trump was speaking after having an update on the situation.
The US State Department said it was ready to assist the UK authorities in any way.
According to US network NBC, Mr Trump told reporters: "I was just getting an update on London.
"Some big news having to do with London just happened."
State Department spokesman Mark Toner said: "We are following the concerning situation outside the UK Parliament.
"Our hearts go out to those affected. We stand ready to assist in any way the UK authorities would find helpful.
"The safety and security of US citizens overseas is one of our priorities. Our embassy in London is monitoring the situation closely."
Trump reacts: “Hearing some big news having to do with London. It just happened.”
— Bradd Jaffy (@BraddJaffy) March 22, 2017
That's all he said for now. pic.twitter.com/caEJzWHEuE
Gibraltar's chief minister Fabian Picardo said: "Shocked at attack on London. Yesterday I spent the day at Westminster. Luckily not today.
"London's Parliament is the mother of democracy!"
Dutch Prime Minister Mark Rutte said: "Horrible images from London. The very heart of the city has been struck. "Our thoughts are with the British people."
Several EU leaders sent messages of concern and sympathy on social media.
Belgian Prime Minister Charles Michel, who earlier in the day had taken part in commemorations to mark the first anniversary of a terror attack in Brussels, said: "Our condolences are with those who mourn and all who are affected in London. Belgium stands with UK in fight against terror."
Danish PM Lars Lokke Rasmussen said: "Horrified by the images from London. My thoughts are with our British friends."
Lithuanian President Dalia Grybauskaite said: "Terrorism - weapon of cowards. Strongly condemn gruesome terrorist attack at the heart of Westminster."
The European Commission's chief Brexit negotiator Michel Barnier said: "My thoughts are with the people of London."
The US Department of Homeland Security said it "stands in solidarity alongside our friends in the United Kingdom in condemning the terrible attack at Parliament today".
It said: "With our partners in federal law enforcement, we are in close contact with our British counterparts to monitor the tragic events and to support the ongoing investigation."
Canadian Prime Minister Justin Trudeau said: "Our thoughts are with the victims of today's attack in London and their families. Canadians remain united with the people of the UK."
Why are you making commenting on The Herald only available to subscribers?
It should have been a safe space for informed debate, somewhere for readers to discuss issues around the biggest stories of the day, but all too often the below the line comments on most websites have become bogged down by off-topic discussions and abuse.
heraldscotland.com is tackling this problem by allowing only subscribers to comment.
We are doing this to improve the experience for our loyal readers and we believe it will reduce the ability of trolls and troublemakers, who occasionally find their way onto our site, to abuse our journalists and readers. We also hope it will help the comments section fulfil its promise as a part of Scotland's conversation with itself.
We are lucky at The Herald. We are read by an informed, educated readership who can add their knowledge and insights to our stories.
That is invaluable.
We are making the subscriber-only change to support our valued readers, who tell us they don't want the site cluttered up with irrelevant comments, untruths and abuse.
In the past, the journalist’s job was to collect and distribute information to the audience. Technology means that readers can shape a discussion. We look forward to hearing from you on heraldscotland.com
Comments & Moderation
Readers’ comments: You are personally liable for the content of any comments you upload to this website, so please act responsibly. We do not pre-moderate or monitor readers’ comments appearing on our websites, but we do post-moderate in response to complaints we receive or otherwise when a potential problem comes to our attention. You can make a complaint by using the ‘report this post’ link . We may then apply our discretion under the user terms to amend or delete comments.
Post moderation is undertaken full-time 9am-6pm on weekdays, and on a part-time basis outwith those hours.
Read the rules here