Brandon Nelson, a 19-year JetBlue veteran who has been general counsel since 2018, will step down Aug. 5 and then serve as a senior adviser until Nov. 1, the Long Island-based low-fare airline said in a securities filing late Tuesday.

JetBlue said Nelson’s successor will be Eileen McCarthy, who spent 14 years at the airline, rising to associate general counsel, before leaving in 2021 for the Hungarian software company Uipath, where she is senior vice president of legal.