Five people have died and at least 40 were injured after an attacker drove a car along a pavement in Westminster, stabbed a policeman and was shot dead by police in the grounds of Parliament.

The dead officer has been named as PC Keith Palmer, 48, a husband and father.

PM Theresa May said the attack on Wednesday was “sick and depraved” and struck at values of liberty, democracy and freedom of speech.

The attacker has not been named by police.

Acting Deputy Commissioner and head of counter terrorism at the Metropolitan Police, Mark Rowley, said they think they know who he is and that he was inspired by international and Islamist-related terrorism, but gave no further details.

The attack unfolded at about 14.40 GMT on Wednesday when a single attacker drove a grey Hyundai i40 along a pavement over Westminster Bridge, near the Houses of Parliament in central London, killing three people and injuring many more.

The car then crashed into railings outside the Houses of Parliament.

The attacker, armed with a knife, ran to Parliament where he was confronted by the police. PC Palmer – who was not armed – was then stabbed and killed.

The attacker was shot dead by armed officers.

Mr Rowley paid tribute to PC Palmer, saying: “He was someone who left for work today expecting to return home at the end of his shift, and he had every right to expect that would happen.”

“Heartbroken” former colleague, Conservative MP James Cleverly, paid tribute to the “lovely man” he had known for 25 years. The pair had served together in the Royal Artillery before PC Palmer became a policeman.

Foreign Office minister Tobias Ellwood – a former Army officer whose brother died in the Bali terrorist bombing in 2002 – attempted mouth-to-mouth resuscitation of Pc Palmer.

The attacker’s other victims have not been named yet. One is known to be a woman.

Mrs May said the attack was a “sick and depraved” attack on the heart of the capital. Such attempts to defeat UK values were “doomed to failure”, she said.

She paid tribute to the “exceptional men and women” of the police force who responded to the attack, saying: “We will all move forward together, never giving in to terror and never allowing the voices of hate and evil to drive us apart.”

The prime minister added: “The location of this attack was no accident.

“The terrorist chose to strike at the heart of our capital city where people of all nationalities, religions and cultures come together to celebrate the values of liberty, democracy and freedom of speech.”

She is expected to make a statement in the Commons later.

Brendan Cox, the husband of murdered MP Jo Cox, said it was important to remember that “this was a story about people who didn’t come home yesterday”.

London Mayor Sadiq Khan said: “My message to those that want to harm us and destroy our way of life is: You won’t succeed; you won’t divide us; we won’t be cowed by terrorists.”

BBC Newsnight reported there was a suggestion the car used in the attack was hired from an address in Birmingham. However, this has not been confirmed.

Armed police carried out a raid on an address in Hagley Road in the city last night. A witness told the Press Association: “They came and arrested three men.”

The BBC’s home affairs correspondent Danny Shaw understands it is linked to the London attack.

West Midlands Police referred inquires about the operation to Scotland Yard.

In latest developments:

  • There will be more armed and unarmed officers on duty in London and across the country as a “precautionary measure”
  • The prime minister said the UK terror threat level would remain at severe – its second highest – meaning an attack is “highly likely”
  • Home Secretary Amber Rudd urged everyone to remain calm but be vigilant and if they see anything they are concerned about report it to the police
  • A group of French schoolchildren were on the bridge and three were injured
  • One woman was rescued after falling into the River Thames as the attacker drove on the pavement of Westminster Bridge
  • 13 students from Edge Hill University in Lancashire were also caught up in the incident – two were taken to hospital and described as walking wounded; two others had minor injuries
  • Westminster underground station is shut and remains open open for interchange only
  • People worried about family and friends can call the police casualty bureau on: 0800 056 0944 or 0207 158 0010. Anyone with images or footage of the incident is urged to send them to www.ukpoliceimageappeal.co.uk