Air Canada has concluded a contract with Boeing to acquire wide-body aircraft.

The airline said that it reached an agreement with its pilots last week, Reuters reported. The contract was placed at risk after a disagreement with pilots last summer over operating issues and the airline was forced to cancel its order, which was made in April.

Under the terms of the contract, Air Canada will acquire up to 36 Boeing 777s and up to 60 Boeing 787s.