Outspoken chief executive Michael O'Leary has agreed to extend his contract as head of Ryanair until April 2032, the Irish airline said on Friday.Ryanair's board said it had agreed a contract with O'Leary that would allow the long-serving CEO to stay in the role for the next six years, following months of discussions.O'Leary became chief executive in 1994, transforming the airline from a loss-making fledgling into Europe's largest carrier by passenger numbers.His new contract includes "a modest annual salary and a capped annual bonus," the no-frills carrier said, without disclosing the amounts.According to Ryanair's latest annual report, O'Leary received a fixed base salary of 1.2mn euros ($1.4mn) per year, with an annual bonus capped at 50% of that amount.Under the new contract, he will qualify for a one-off option to purchase over 10mn shares at 26.70 euros per share, provided he remains in position until April 2032 and meets what the airline called "very ambitious" profit targets.Ryanair last month reported a sharply higher annual profit but warned that the war in the Middle East had clouded its outlook for the year ahead.In 1988, O'Leary cut short a career in retail when Tony Ryan, the Ryanair founder, persuaded him to become his personal assistant and financial adviser.Three years later, Ryan sent him to the United States to scope out Southwest Airlines, a successful budget carrier, and to import the model to Europe, helping pave the way for his swift rise to the top of Ryanair.