"In response to this rapidly evolving public health crisis, the City of Oakland has declared a local emergency, issued an order to cancel all large public events at City-owned facilities, and expanded sanitation services for all unsheltered residents," the city said in a statement.
The ban will be in effect until at least March 31.
RELATED: Santa Clara County cancels mass gatherings, officials say virus spreading too quickly
This means the A's verse Giants preseason "Battle of the Bay" game on March 23, and Opening Day on March 26 will be impacted.
"The Oakland A's are working with Major League Baseball on alternative plans for our games that will be impacted at the Oakland Coliseum," the team said in a statement. "We will provide more information about our plans for the games, including our ticket policy for impacted games, as soon as possible."
The city is also expanding sanitation services to the homeless population.
There are currently no confirmed cases of COVID-19 in Oakland, but Mayor Libby Schaaf says it is important to take precautionary measures.
"This action is a prudent, precautionary step that will position the City to respond to the emerging challenges posed by the potential spread of COVID-19 in our community," she said.
RELATED STORIES & VIDEOS:
- Live updates about coronavirusoutbreak in US, around the world
- What to know about COVID-19 in Calif., how it'saffecting San Francisco Bay Area
- Coronavirus: Cancellations, suspensions and shortages related to the global virus outbreak
- How coronavirus compares with the flu
- No masks but here are 100+ products that may help protect you against novel coronavirus germs
- Everything Americans need to know about coronavirus
- Coronavirus Prevention: How to properly wash your hands
- Busting COVID-19 coronavirus myths: Facts from the Centers for Disease Control
- Here's a look at some of history's worst pandemics that have killed millions
- Coronavirus Outbreak: 7 questions answered
- Is the new COVID-19 virus more 'deadly' than flu? Not exactly
- Coronavirus outbreak: Health expert shares tips for preparedness, emergency supply list to stay healthy
- Coronavirus: SF artist creates realistic-looking custom respirator masks that unlocks iPhones
- Coronavirus outbreak: SF doctor explains how to protect yourself, stay healthy
- Coronavirus: SF State educator addresses xenophobia in the Bay Area
- SF Mayor London Breed explains declaring state of emergency over coronavirus