United Airlines announced Thursday that CEO Oscar Munoz will turn over day-to-day management of the airline next spring to President Scott Kirby, who will become company's chief executive officer.

The change happens in May, when Munoz becomes executive chairman, succeeding Jane Garvey, 75, who is retiring from the board.

The announcement helped boost United's premarket share price by 1%. The move ends speculation Kirby could be hired to replace Doug Parker as CEO of American Airlines, where shares are down 26% in the last year. Kirby was Parker's top lieutenant for a decade as Parker merged America West with U.S. Air and later merged U.S. Air with American, creating the nation's largest airline. Kirby said in October he would not be leaving United.

GP: Oscar Munoz, chief executive officer of United Continental Holdings Inc., speaks during a Bloomberg Television interview in Chicago, Illinois, U.S., on Wednesday, April 24, 2019.

Jim Young | Bloomberg | Getty Images

A spokesperson for United told CNBC that rumors of the 52-year-old Kirby possibly leaving United did not play a role in the decision to elevate him to chief executive. Instead, the company said, the board and Munoz felt it was time to begin the process of a smooth transition to the next CEO.

"With United in a stronger position than ever, now is the right time to begin the process of turning over the baton to a new leader," Munoz said in Thursday's announcement.

The move is one many in the airline industry and on Wall Street have anticipated for some time. Kirby, who was hired by Munoz in 2016 with a mandate to improve the airline's execution, has been a driving force in improving United's performance and profit growth during the last two years.

In a videotaped message sent to United employees announcing the leadership change, Kirby thanked Munoz for hiring him in 2016. "I will be a much better executive today, will be a much better CEO and a better person, for what I learned from you and following in the footsteps of an incredible leader," Kirby said.

Munoz tenure: Turmoil then growth

Munoz, 60, will turn over the CEO job with United in much better shape than the day he took the job four years ago. Back then, Munoz, who was on the United board, was suddenly tapped to run the airline after Jeff Smisek was forced to resign as CEO due to a federal investigation into United adding flights to influence decisions made by a New York Port Authority official.

Within a month of becoming CEO, Munoz suffered a heart attack that forced him to take a medical leave. In early 2016 Munoz received a heart transplant, keeping him out of work for weeks.

When he returned, Munoz found an airline trailing its competitors in almost every important metric, including earnings growth, profit margin and customer service. Things got worse in April 2017, when a major scandal erupted after security officers dragged a passenger off a United flight that was oversold.

Video of the passenger, Dr. David Dao, being pulled down the aisle was played repeatedly on news reports around the world. United was blasted not only for forcibly having a passenger kicked off a flight, but also for how poorly it handled the crisis. Munoz made things worse when his initial comments about what happened were criticized as being cold and uncaring. "This is an upsetting event to all of us here at United. I apologize for having to re-accommodate these customers," Munoz said in a statement the morning after the incident. It took several days before Munoz and United changed their tone and fully apologized to Dao.

By then, the damage was done. Munoz's handling of the crisis prompted the United board to drop plans to elevate him to chairman. The CEO vowed to improve customer service and its image of treating passengers with indifference. That reputation was reinforced in early 2018 when a United flight attendant had a passenger put a pet dog in an overhead bin, where it died during a flight from New York to Houston. Once again, news reports portrayed United as a heartless airline. Within hours, Munoz issued a public apology and once again said his airline would do better.

Adding capacity, soaring in 2019

By early 2018, United was doing better in many areas, largely because of Kirby's initiatives. After years of cutting routes and service in smaller cities around the U.S., United switched started to aggressively increase capacity. It added flights from secondary cities like Rochester, Minnesota, to United's hubs, especially Chicago, Denver and Houston. The idea was that boosting traffic through hubs would lead to greater efficiencies and higher profit margins.

While many feared Kirby's plan would spark fare wars and dilute earnings, analyst Hunter Keay from Wolfe Research said the strategy was vintage Kirby, "Arguably, United has no choice but to either shrink drastically or to pursue this path, and Scott Kirby wasn't hired to shrink anything," Keay told clients.

The strategy has paid off with United growing its net profit from $2.1 billion in 2017 to $2.5 billion last year. In 2019 United has already earned $2.3 billion through the third quarter and raised its full-year earnings guidance in October.

Kirby's CEO strategy: Improve execution

After 20 years in the airline business where he has consistently boosted revenues and margins, Kirby is widely viewed as one of the best in the industry at making routes and operations more profitable.

As CEO, he'll oversee the third consecutive year where United grows capacity 4% to 6%. As has been a hallmark of his growth strategies in the past, Kirby is likely to further leverage traffic through United's hubs. And while the airline's profit margins have improved, they still trail Delta's.

In short, Kirby still has plenty of room to grow United's profits, especially if he can further improve United's performance when it comes to customer service. "I love the fact that almost every time I get feedback from employees, 99.9% of the time it is something about how do we make this airline better for our customers," Kirby said in a video e-mailed to employees. "That is an incredible amount of energy, innovations and creativity, and that's the foundation that a great airline is built on."