January 17, 1920, marked a dark day for American brewers. At the stroke of midnight, America became a dry country under Prohibition, with over a thousand producers swiftly banned from selling their chief commodity: alcohol.

Prohibition forced brewing companies to adapt or die—and many did. According to Maureen Ogle, author of Ambitious Brew: The Story of American Beer, out of the more than 1,300 brewers in operation in 1915, no more than 100 survived. However, they included some of the most iconic names in brewing—such as Anheuser-Busch, Coors, Miller, Pabst and Yuengling.

“What separated the companies that made it from the ones that didn’t is what they had to begin with at the start of Prohibition,” Ogle says. “The Pabst, Busch and Miller families had all invested in real estate holdings across the United States.”

These now-dominant companies had also expanded into making non-alcoholic drinks some two decades before Prohibition became the law of the land, including soft drinks, malted milk and fruit juices. “They understood that if they wanted to stay competitive, they were going to have to make not just beer but beverages that non-alcoholic drinkers wanted,” says Ogle.

At the start of Prohibition, many brewers pinned their hopes on non-intoxicating beers that were legal under Prohibition as long as they had less than 0.5% alcohol content. But it turned out that near beers weren’t near enough for many consumers. They wanted the real thing, and when the proliferation of bootlegging and speakeasies made real beer easy to come by, the near beer market tanked.

Ogle says not many brewers expected Prohibition to last as long as it did: 13 years in total. “They thought they would be fine if they could hang on for two or three years. But by 1925, it’s clear the near beer industry was a total bust, and more and more brewers shifted into bottling other beverages.” Brewing companies even reconfigured their production lines for dyes, which were in short supply after World War I.

The sale of malt syrup and yeast also helped brewers stay afloat. Prohibition banned the sale of beer, but not the ingredients for making it. Although malt syrup was advertised as a baking ingredient, many buyers used the extract to make beer. An in-store cardboard sign display for a Budweiser-brand barley malt syrup even featured a grocer winking knowingly at customers.

When the beer began to flow again in 1933, the brewing companies that did survive found little competition remaining. Here’s how five of America’s most iconic brewers kept their doors open for 13 dry years:

Anheuser-Busch 

C.P. Cushing/Classic Stock/Everett Collection
An Anheuser-Busch ice cream truck.

The Busch family was not caught unprepared by the arrival of Prohibition. “Adolphus Busch was in tune with what was happening in the United States and saw the potential for national Prohibition as early as the 1890s,” says Tracy Lauer, Anheuser-Busch’s archives director.

In 1908, Busch directed his chief chemist to develop a non-alcoholic cereal beverage that tasted nearly the same as beer. It was called Bevo, and it was an immediate success after its 1916 introduction, selling more than 2.2 million cases in six months. The company was so bullish on Bevo that it invested $10 million to build the largest bottling facility in the world, which opened in 1918.

In the 1920s, though, Bevo sales cratered with the rest of the near beer market, and it was eventually discontinued. “The company hadn’t anticipated that people would be so willing to break the law to buy bootlegged beer,” Lauer says.

Forced to adjust strategy, Anheuser-Busch sold half of its considerable real estate holdings and rolled out more than 25 different nonalcoholic products from infant formula to frozen eggs to carbonated coffee and tea products called Kaffo and Buschtee. The most imaginative products came from the company’s vehicle department, which rolled out the Lampsteed Kampkar, a camper that fit on top of a Ford chassis, as well as the Bevo Victory Boat, a vehicle designed for use on land and water. The brewer even built police vans that were used by Prohibition officers to round up moonshiners and bootleggers.

Courtesy of MillerCoors
The Coors Porcelain Company interior.

Coors Brewing Company 

Four years before the rest of the United States, beer sales were banned in Colorado, where German immigrant Adolph Coors co-founded his brewery in 1873. Forced to diversify, Coors became one of the leading producers of malted milk, which was sold to soda fountains and candy companies and marketed as a food for infants.

Throughout Prohibition, Coors also shifted resources to a laboratory ceramics and pottery business that he had assumed ownership of several years earlier. The Coors Porcelain Company tapped Colorado’s clay to make everything from tea sets and dinnerware to spark plugs and labware used by Thomas Edison. The porcelain company, now known as CoorsTek, thrived and today is the largest engineered ceramics manufacturer in the world.

Courtesy of MillerCoors
A soft drink produced by the Miller Brewing Company.

Miller Brewing Company

The Milwaukee-based Miller Brewing Company barely survived Prohibition. In fact, the Miller family put the company up for sale in 1925 but found no takers. Like other brewers, Miller produced a near beer called Vivo along with soft drinks, malted milk and malt syrup. The company managed to survive in large part due to its real estate holdings and investment income. Prior to Prohibition, Miller owned saloons in which it distributed its beer. The company sold some of those prime city locations and also profited from its considerable investments in municipal and international bonds, mortgage loans and government securities.

Pabst Brewing Company

Also based in Milwaukee, Pabst Brewing Company survived by selling malt syrup, purchasing a soft drink company and leasing part of its plant space to motorcycle manufacturer Harley-Davidson. The brewer, however, most notably diversified by selling another popular Wisconsin product—cheese. During Prohibition, Pabst sold more than eight million pounds of a processed cheese spread called Pabst-ett that was aged in the brewery’s ice cellars. After the repeal of Prohibition, Pabst sold the cheese line to Kraft.

Courtesy of D.G. Yuengling & Sons, Inc.
An ad for Yuengling ice cream.

D.G. Yuengling & Son, Inc.

Founded in 1829 in the coal mining town of Pottsville, Pennsylvania, D.G. Yuengling & Son had been in operation for nearly a century before the onset of Prohibition, and it was a frozen concoction that helped it hang on.

“As America’s oldest brewery, we have a long history of perseverance,” says sixth-generation Yuengling family member Debbie Yuengling. “In the 1920s we survived the national prohibition of alcohol through individual tenacity and unwavering dedication to the business. As a result, we started producing near beer and ice cream, which were tremendously popular during Prohibition.”

Soon after the enactment of Prohibition, D.G. Yuengling & Son opened a dairy across the street from its brewery and began the production of ice cream, which could be stored in its massive refrigeration facilities. (Anheuser-Busch and the Detroit-based Stroh Brewery Company, currently owned by Pabst, also turned to ice-cream manufacturing. Stroh’s Ice Cream is still sold today.) The dairy remained in business until 1985, and Yuengling’s Ice Cream brand was revived in 2014.