The Bay Area was affected by a 'shelter in place' order that went into effect Tuesday at midnight. The effort is part of a city-mandated measure for health precautions. These photos show a look at the city after the order for a San Francisco Coronavirus lockdown.

According to CNN, approximately 7 million people were affected by the order. Bay Area officials ordered residents to stay inside their homes except for obtaining essential needs.

Spectators took to Twitter to post about it.

Jonathon Bloom, a reporter for NBC Bay Area, posted a series of photos showing the empty streets.

He wrote, "This is what a #coronavirus commute looks like in San Francisco. No traffic jams. Empty sidewalks. Pedestrians crossing the street with toilet paper and cleaning supplies. A scooter rider wearing a surgical mask. (These photos were taken about a minute apart, shown in order.)"

Famous landmarks such as Fisherman's Wharf, North Beach, and buzzing roadways such as The Embarcadero look utterly different without pedestrian traffic.

AFP News Agency posted a video driving along the Golden Gate Bridge without another car in sight.

In the clip, San Francisco is compared to other emptying cities around the world that are practicing social distancing.

"VIDEO: Streets in cities across the globe -- from San Francisco to Kuala Lumpur, Paris, and Prague -- lie practically empty as countries close schools, shops, public places, and put cities on lockdown to fight the #coronavirus pandemic."

This was the first measure of its kind in the U.S. enacted to curb the spread of Coronavirus. On March 16, San Francisco's Mayor London Breed shared the order.

"Effective at midnight, San Francisco will require people to stay home except for essential needs. Necessary government functions & essential stores will remain open. These steps are based on the advice of public health experts to slow the spread of #COVID19.

This local reporter for KTVU shared an aerial video of the city.

The 'shelter in place' order permits supermarkets, gas stations, pharmacies, and banks to stay open, along with other government agencies deemed essential. Restaurants are only open for takeout.

This mandate came only a day after California's Governor Gavin Newsom told all California residents 65 years and older to stay in their homes. Bars, wineries, nightclubs, and breweries also closed the same day.