A Canadian police official says that a British Airways flight from Las Vegas to London has been diverted to Montreal after a bomb threat.

The official confirmed the threat aboard the Wednesday flight to the Associated Press. The official spoke on condition of anonymity because he was not authorized to speak publicly about it.

A British Airways spokeswoman said in a statement the plane landed safely in Montreal on Wednesday after the captain took the decision to divert the aircraft as a precaution. The airline is providing hotel rooms for the passengers and will rebook them on other flights as soon as they can.

British Airways says it is working with Canadian authorities. The airline declined to confirm the diversion was triggered by a bomb threat.