BMW has signed a letter of intent with Great Wall Motor to build battery-electric Mini vehicles in China.

The two carmakers had been in talks since late last year about joining forces and it is only now that steps are being made to make the partnership official. Following the signing of the letter of intent, BMW and Great Wall will discuss details of a possible joint venture and cooperation agreement while agreeing on details including production location and concrete investments.

Further specifics haven’t been disclosed but BMW confirmed that while future electric Mini vehicles will be produced in China, the brand’s first electric model will also be manufactured at its main plant in Oxford, UK starting in 2019.

BMW already has a Chinese joint venture with Brilliance and together, the duo operates two automobile production locations and an engine plant which includes a battery factory for electric BMW models.