The company's offer to pay $200,000 (£120,000) annually for a minimum of three years was backed by the city council.

Ray Mueller, the Menlo Park mayor, shrugged off suggestions that Facebook could get special treatment, saying: "The only way you'd have a conflict of interest is if someone tried to exert influence over our police force.