Pedestrians pass in front of Gap Inc. and Old Navy Inc. stores in the Times Square area of New York, U.S., on Wednesday, Dec. 13, 2017. Bloomberg is scheduled to release consumer comfort figures on December 21. Photographer: Mark Kauzlarich/ Bloomberg
Pedestrians pass in front of Gap Inc. and Old Navy Inc. stores in the Times Square area of New York, U.S., on Wednesday, Dec. 13, 2017. Bloomberg is scheduled to release consumer comfort figures on December 21. Photographer: Mark Kauzlarich/ Bloomberg
PHOTO: Mark Kauzlarich/Bloomberg/Getty Images
Now playing
01:04
Old Navy is doing so well it's splitting up with Gap
PHOTO: Orangetheory Fitness
Now playing
02:13
This gym is actually opening studios during the pandemic
Now playing
02:24
How holiday spirit is surging despite the Covid-19 pandemic
NEW YORK, NEW YORK - NOVEMBER 19: A view of the window display as Macy
NEW YORK, NEW YORK - NOVEMBER 19: A view of the window display as Macy's Herald Square unveils Give, Love, Believe 2020 Holiday Windows on November 19, 2020 in New York City. (Photo by Eugene Gologursky/Getty Images for Macy's)
PHOTO: Eugene Gologursky/Getty Images North America/Getty Images for Macy's
Now playing
00:56
Macy's unveils holiday window display with gratitude theme
PHOTO: CNN/Target/Design by John General
Now playing
02:36
It's official: Black Friday is irrelevant
Now playing
02:23
Party City CEO: Consumers still want to celebrate together
NEW YORK, UNITED STATES - 2020/07/08: People wearing face masks shopping inside a retail store in Manhattan as the city enters phase 3 of reopening amid the coronavirus pandemic
As New York City enters phase 3 of reopening retail stores for indoor shopping, restaurants have been postponed for indoor dinning. The U.S. Department of Health recorded a total of 3,219,999 infections, 135,822 death and 1,426,428 recovered since the beginning of the outbreak. (Photo by Braulio Jatar/SOPA Images/LightRocket via Getty Images)
NEW YORK, UNITED STATES - 2020/07/08: People wearing face masks shopping inside a retail store in Manhattan as the city enters phase 3 of reopening amid the coronavirus pandemic As New York City enters phase 3 of reopening retail stores for indoor shopping, restaurants have been postponed for indoor dinning. The U.S. Department of Health recorded a total of 3,219,999 infections, 135,822 death and 1,426,428 recovered since the beginning of the outbreak. (Photo by Braulio Jatar/SOPA Images/LightRocket via Getty Images)
PHOTO: Braulio Jatar/SOPA Images/LightRocket/Getty Images
Now playing
01:38
US retail sales improved in September
PHOTO: thehouseofdrew.com
Now playing
02:01
Justin Bieber's footwear collaboration overwhelms site
PHOTO: Walmart
Now playing
01:01
See what's new inside Walmart stores
WHEATON, MARYLAND - APRIL 16: Customers wear face masks to prevent the spread of the novel coronavirus as they line up to enter a Costco Wholesale store April 16, 2020 in Wheaton, Maryland. Maryland Governor Larry Hogan ordered that all people must wear some kind of face mask to protect themselves and others from COVID-19 when on public transportation, grocery stores, retail establishments and other places where social distancing is not always possible. (Photo by Chip Somodevilla/Getty Images)
WHEATON, MARYLAND - APRIL 16: Customers wear face masks to prevent the spread of the novel coronavirus as they line up to enter a Costco Wholesale store April 16, 2020 in Wheaton, Maryland. Maryland Governor Larry Hogan ordered that all people must wear some kind of face mask to protect themselves and others from COVID-19 when on public transportation, grocery stores, retail establishments and other places where social distancing is not always possible. (Photo by Chip Somodevilla/Getty Images)
PHOTO: Chip Somodevilla/Getty Images
Now playing
02:32
How masks are reshaping the face of the retail economy
3119 E Third Street Dollar General in Dayton, OH on March 12, 2020.
3119 E Third Street Dollar General in Dayton, OH on March 12, 2020.
PHOTO: Maddie McGarvey for CNN
Now playing
06:07
Dollar General's business is booming. It's also vulnerable to crime, police say
Now playing
03:01
How private equity is gutting retail
Now playing
01:55
All retail bankruptcies are not the same. Here's what you need to know
Now playing
02:44
Is T.J.Maxx recession-proof?
LOS ANGELES, CA - APRIL 10:  Customers carry bags from  Bed Bath & Beyond store on April 10, 2013 in Los Angeles, California. The home goods retailer is expected to release fourth-quarter earnings figures after the closing bell.  (Photo by Kevork Djansezian/Getty Images)
LOS ANGELES, CA - APRIL 10: Customers carry bags from Bed Bath & Beyond store on April 10, 2013 in Los Angeles, California. The home goods retailer is expected to release fourth-quarter earnings figures after the closing bell. (Photo by Kevork Djansezian/Getty Images)
PHOTO: Kevork Djansezian/Getty Images
Now playing
00:58
Why Bed Bath & Beyond is in big trouble
A Kohl
A Kohl's Corp. store stands in Concord, California, U.S., on Tuesday, Feb. 24, 2015. Kohl's Corp. is expected to release earnings figures on Feb. 26. Photographer: David Paul Morris/Bloomberg via Getty Images
PHOTO: David Paul Morris/Bloomberg via Getty Images
Now playing
01:25
Kohl's needs to reinvent itself. Are Aldi and Amazon the key?
(CNN Business) —  

Gap and Old Navy have been trending in opposite directions for years. So they’re finally splitting up.

Gap said Thursday that it would break into two companies. One of the companies will contain Old Navy, while the other yet-to-be-named business, currently called NewCo, will comprise Gap, Banana Republic and other brands, including Athleta and Hill City.

The move is designed to allow Old Navy — which has grown to $8 billion in annual sales since it opened its first store in 1994 — to expand on its own. Meanwhile, the company can consolidate its older brands like Gap and Banana with its newer ones like Athleta and Hill City. NewCo will have about $9 billion in annual sales.

“We think the best way for each company to grow and meet the evolving needs of our customers is to allow them to pursue tailored strategies separately,” Gap CEO Art Peck told analysts Thursday. Peck will lead NewCo. Sonia Syngal, CEO of Old Navy, will keep running that company.

Wall Street cheered the decision: Gap (GPS) stock was up 25% in after-hours trading.

The separation is a tale of two vastly different businesses: Old Navy has thrived in recent years, and sales at stores open at least a year grew 3% in 2018.

Meanwhile, the Gap has struggled — its sales fell 5% last year. Banana Republic has been closing stores, which has helped the company improve sales.

“Old Navy continues to outpace Gap brand and Banana Republic, and is one the fastest-growing major apparel brands,” said Christina Boni, analyst at Moody’s.

The Gap, which was founded in 1969, used to be the coolest brand in retail: It rode the mall boom in the back half of the 20th century, and its logoed sweatshirts and turtlenecks won over everyone from teens to moms and celebrities like Sharon Stone.

But the brand fell out of touch with the Baby Boomers who grew up on the brand, and it failed to attract the Millennials who drive fashion trends today. Retailers such as Levi’s, Target (TGT) and fast-fashion sellers H&M and Zara lured away Gap’s denim shoppers with cheaper prices and trendier styles.

The company has been talking for a while about how to make the Gap a healthy part of the business again. In November, Peck described Gap’s store count as unprofitable. As of the end of last quarter, there were 1,242 Gap stores worldwide. 758 of them were in North America.

On Thursday, the company said it will close 230 Gap stores over the next two years as part of its plan to “revitalize” the Gap brand. The closures will affect “specialty” Gap stores, which includes mall-based stores.

Most of those stores will be in North America, Peck told analysts Thursday. Chief financial officer Teri Stoll added that the company focused on stores that were not delivering, were in the “wrong locations” or were not a “strategic fit.”

About 130 of those closures will happen this year, according to Gap. The company also plans to open Old Navy and Athleta locations. Athleta, which will be part of the new Gap company, is a women’s athleisure chain that has been a success. Hill City launched last year as Gap’s men’s athleisure brand.

Gap thinks it will save $90 million before taxes starting in 2021 because of its closure plans, according to a securities filing. It expects to finish splitting the companies in 2020.

But some analysts questioned why promising brands such as Athleta and Hill City were included in NewCo with the struggling Gap brand.

“This could have been an opportunity for a fresh start for Gap,” said Bob Phibbs, CEO of consultancy Retail Doctor. “It’s simply putting the NewCo brands though the ringer for another cycle of rinse and repeat.”

Correction: An earlier version of this article misstated how much Gap, Inc. will save by closing stores this year and next.