Burger King is dominating fast food.
The company recently surpassed Wendy's to become the second-largest fast food burger company in America, according to Bloomberg.
Burger King had previously lost second place to Wendy's in 2013.
In just five years, Burger King is almost unrecognizable as a company.
The company is posting impressive sales during an industry-wide slowdown.
Burger King's young management team, led by 33-year-old Daniel Schwartz, is impressing analysts at RBC Capital Markets.
"Whopper aside, we see few similarities between the Burger King of 2010 and the Burger King of today," the analysts write.
Here's how Burger King managed a turnaround.
1. New management.
"These days ... Burger King is behaving more like a startup than a typical burger chain," writes Devin Leonard at Bloomberg Businessweek.
2. Refranchising virtually all company-owned restaurants.
By outsourcing the operations part of its business, Burger King has been able to retain more cash for investments.
3. Huge international expansion.
Executives made franchising easier for overseas restaurants, leading to rapid growth.
4. Focus on controlling costs.
Schwartz helped reduce Burger King's corporate headcount to 2,425 from 38,884 by refranchising restaurants, meaning those workers now report to franchise owners.
He also axed many executive perks, including lavish offices and a $1 million annual party at a chateau in Italy, Leonard writes.
5. US makeover.
The company pared down the US menu and got new equipment to speed up operations.
Burger King also doubled down on its marketing strategy to appeal to young and cash-strapped customers.
6. Tim Hortons acquisition.
Burger King recently acquired the Canadian coffee chain Tim Hortons. Morgan Stanley analysts believe that Tim Hortons will have more than 600 international locations in the next three years. The chain is also expected to add locations in the US.