San Francisco will place a moratorium on public events holding more than 1,000 people as part of an effort to slow the coronavirus outbreak, Mayor London Breed announced Wednesday. 

The ban, which will apply to Golden State Warriors games, will be in effect for two weeks and may be reauthorized by the city’s health officer if necessary, the mayor’s office said. 

We know that this Order is disruptive, but it is an important step to support public health, Breed said in a statement. Were following the recommendations of public health officials to slow the spread of COVID-19 in our community. This order mirrors actions being taken by other local governments and is informed by the Centers for Disease Control and Prevention (CDC) guidelines.”

Breed added that she spoke with the Warriors organization about the need to cancel public events and the team supported the efforts. 

The moratorium came the same day that the World Health Organization (WHO) declared the coronavirus a global pandemic and as the U.S. tally of confirmed cases of the virus surpassed more than 1,000. 

Washington state and Washington, D.C., have introduced similar measures to prevent the spread of the virus. Gov. Jay InsleeJay Robert InsleePence says he and Trump will continue to shake hands despite coronavirusStates race to combat coronavirus as cases mountBusiness as usual for Trump as coronavirus spreadsMORE (D) banned public events holding more than 250 people in three Washington counties hit particularly hard by the disease.