The following article, originally published at 5:56 p.m. on Monday, Nov. 14, 2016, has been updated with comments from analysts.

It's true that Warren Buffett got burned by an airline investment in decades ago, and that he's long been skeptical about putting money into the industry again.

But even the Oracle of Omaha can change his mind, especially when he sees a solid profit potential: The billionaire CEO's company, Berkshire Hathaway (BRK.A) - Get Report , disclosed a stake in Monday regulatory filings in each of the three biggest U.S. carriers: American Airlines (AAL) - Get Report  , United Continental (UAL) - Get Report  and Delta (DAL) - Get Report

The moves reflect Buffett's "mindset as a value investor," Cathy Seifert, an analyst with CFRA Research, said in a phone interview. "It was a sector rotation into an area that has under-performed. He's going to go where he sees value."

Airline stocks may have become more attractive to Buffett after a spate of high-profile mergers in the past decade, including United's combination with Continental and Delta's purchase of Northwest Airlines, trimmed competition, and lower jet-fuel prices cut operating costs, TheStreet's Jim Cramer wrote in a column for the company's premium investing site Real Money. Additionally, a shortage of single-aisle commercial jets, the most widely flown planes, makes it tough for airlines to add seating capacity that could drag down ticket prices.

"In short, the group represents value, the price wars are subsiding and the companies all make oodles of cash, the exact opposite situation from when Buffett invested last," Cramer wrote. 

Berkshire's stock fell 0.91% to $234,500 in regular trading in New York on Tuesday, while the airline stocks soared. American Airlines increased 2.1% to $44.32, United Continental jumped 2.3% to $64.37, and Delta rose 0.3% to $47.63. 

Buffett's past pessimism toward the airline industry dates to his investment in USAir in 1989, on which he took a loss of $358 million. His "analysis of USAir's business was both superficial and wrong," Buffett said in a 1996 letter to investors, noting that he overlooked how deregulation would affect the company's profits.

"Investors have poured their money into airlines and airline manufacturers for 100 years with terrible results," Buffett said during an annual shareholder meeting"It's been a death trap for investors." 

Ironically, Berkshire's recent investment brings Buffett back to USAir, since its descendant, US Airways, merged in 2013 with American Airlines, which was in bankruptcy protection.

Omaha, Neb.-based Berkshire Hathaway has a $797 million stake in American Airlines, a $249 million investment in Delta, and a $238 million holding in United, according to the regulatory filing. As part of Berkshire's services operation, the company owns aircraft lessor NetJets and FlightSafety, which trains pilots. 

Buffett is also taking a stake in Southwest Airlines (LUV) - Get Report , CNBC reported Monday, though that wasn't reflected in the regulatory filing.

Keefe, Bruyette & Woods analyst Meyer Shields maintained his market perform rating on Berkshire, with a price target of $225,000, noting that the company's  "current valuation fully balances its strong cash flow prospects against its unique senior-management succession risk." Buffett celebrated his 86th birthday this year, while vice chairman Charlie Munger is 92.

Gains in Berkshire's portfolio so far this quarter were in the financials and energy sectors while holdings in technology, consumer staples and healthcare industries declined, Shields said.

One of the best performers is Wells Fargo with a 17% gain since the end of September, when the bank reported that more than 5,000 employees had been fired for setting up as many as 2 million phony customer accounts in order to meet sales targets.

Berkshire maintained its strong positions in Wells Fargo (WFC) - Get Report  as well as Kraft Heinz (KHC) - Get Report , American Express (AXP) - Get Report , and IBM (IBM) - Get Report , according to the quarterly regulatory filing, and added shares in  Phillips 66 (PSX) - Get Report , Bank of New York Mellon (BK) - Get Report , Visa (V) - Get Report , Wabco Holdings (WBC) - Get Report , Charter Communications (CHTR) - Get Report   and Liberty Global (LBTYA) - Get Report .

Buffett sold some of his holdings in Wal-Mart (WMT) - Get Report  in the three months through September and all of Berkshire's stakes in AT&T (T) - Get Report , Suncor Energy (SU) - Get Report , and Media General (MEG) .

Berkshire Hathaway didn't immediately return a message seeking comment.

EXCLUSIVE LOOK INSIDE: Visa, Kraft Heinz and Wells Fargo are holdings in Jim Cramer's Action Alerts PLUS charitable trust portfolio.Want to be alerted before Cramer buys or sells these stocks? Learn more now.