The aircraft was part of the carrier’s fleet for almost three decades.