We’ve been through shutdowns like this before.

In September of 1918, a global flu pandemic made entry into California. As with the coronavirus, the first cases were detected among travelers — a man who had returned to San Francisco from a trip to Chicago and seamen aboard a vessel that arrived to the harbor in Los Angeles.

What happened over the fall and winter will sound familiar. City officials imposed “stay at home” orders and forced the closure of schools and places of “public amusement.” Court proceedings and church services moved outdoors. Tents, hotels, and large halls served as makeshift hospitals. Panic was everywhere.

As the death toll climbed, measures became more severe, with forced quarantines and mandatory mask ordinances. Cops arrested so-called “mask slackers” by the hundreds.

By the time the pandemic subsided in 1920, at least 50 million people had died worldwide. More than 600,000 of those were Americans, far more than who died in World War I.

In California, outcomes appeared to vary according to the quickness and aggressiveness of the response in the state’s largest cities. Los Angeles lost more than 2,700 souls. The toll in Oakland was about 1,400. In San Francisco, which researchers say acted more slowly, the death rate was substantially higher, leaving more than 3,000 people dead.

Below is a visual look back at the way California responded to the 1918 influenza pandemic, with images retrieved from the digital archives of libraries, museums, and other sources.

Corpsmen in the influenza ward of the U.S. Naval Hospital on Mare Island, December 10, 1918.

U.S. Navy

San Francisco Supervisor Andrew Gallagher, left and two men in Mill Valley.

California State Library; Raymond Coyne/Mill Valley Public Library

An emergency flu hospital staffed by Naval corpsmen was set up in San Francisco’s Civic Center.

Underwood Archives/Getty Images

Congregants prayed for an end to the flu pandemic at the Cathedral of Saint Mary of the Assumption in San Francisco.

Bettmann archive, via Getty Images

Handing out flu masks in San Francisco.

California State Library

An open-air barber shop in Berkeley.

National Archives

This article is from the California Sun, a newsletter that delivers must-read stories to your inbox each morning — for free. Sign up here.