LONDON — The food-delivery firm Deliveroo thanked Benedict Cumberbatch on Saturday after a newspaper reported that the “Sherlock” star had fought off muggers who were attacking one of its cyclists.

Uber driver Manuel Dias told the Sun newspaper that he was driving Cumberbatch and his wife Sophie Hunter along London’s Marylebone High Street when they saw a cyclist being hit with a bottle.

He said Cumberbatch jumped out of the car and grabbed one of the attackers.

“I had hold of one lad and Benedict another,” Dias was quoted as saying. “He seemed to know exactly what he was doing. He was very brave.”

Thank you Benedict Cumberbatch for your brave actions. Deliveroo riders are heroes - their safety is our priority and any violence against them is totally unacceptable. So on behalf of everyone at deliveroo: thank you. pic.twitter.com/NGCkQB3z7J — Deliveroo (@Deliveroo) June 2, 2018

“Here was ‘Sherlock Holmes’ fighting off four attackers just round the corner from Baker Street,” he added.

The fictional detective’s home address in London is around the corner from the scene of the attack.

Cumberbatch’s spokeswoman declined to comment.

The newspaper didn’t say when the incident occurred. Police said a delivery cyclist was assaulted in the street in November.

On Saturday, Deliveroo praised Cumberbatch “for his heroic actions.”

“On behalf of everyone at Deliveroo: Thank you so much,” it said.