Negotiators for Canada’s autoworkers union, Unifor, and Ford have reached a “historic” agreement that will see the Oakville plant build electric models well into the future.

Although Ford has not made much mention of the deal, Unifor president Jerry Dias is celebrating the deal as saving more than 1,000 jobs, per Carscoops.

The plant will build five electric models, with the first models rolling off the line in 2025. The last model will start rolling off the line in 2028. All told, the changeover to electric production will require a nearly $2 billion CAD investment in the plant.

Dias also says that Ford’s Windsor engine plant will start building 6.8-liter engines.

The agreement still has to be approved by Unifor members, but Dias says the negotiators worked hard “set a pattern that secures future jobs for our members, and makes significant wage and benefit gains.”