US tech company has sued London mayor after he prevented it from working with Metropolitan police

Sadiq Khan has agreed for his text messages and emails to be searched as part of a legal battle with Palantir, the high court has been told, after he prevented the US technology company from working with the Metropolitan police.

The London mayor stepped in to block a £50m deal between Palantir and the Met in May, with the artificial intelligence developer suing Khan’s office over the decision.

Legal representatives for the mayor said they “did not originally consider it necessary” for Khan to be among those to have their communications searched before next year’s court case. But they relented, citing persistence from Palantir.

Sarah Brown, Khan’s former director of communications, who now works for the prime minister, Andy Burnham, will also have her correspondence searched.