TORONTO -- American Express Canada says it has reached a deal with Aimia Inc. and Air Canada extend its term as a credit card partner in the Aeroplan rewards program.

The company says the renewed contract extends through to June 29, 2020, to end at the same time as Air Canada's participation in Aeroplan.

Aimia's stock price has struggled since Air Canada announced last year that it would be splitting with the loyalty points company to start its own rewards program.

Montreal-based Aimia announced in March that it was partnering with Amazon to earn points with purchases, but lost Imperial Oil's Esso gas stations as a partner in the same month.

The company is searching for a new CEO as it looks to prepare the company for life after Air Canada, after its current chief executive David Johnston announced in late April that he would leave once a replacement was found.

Visa also provides Aeroplan-branded credit cards through TD Bank and CIBC on contracts that expire in 2024. American Express's contract was set to expire this year.