Didi Chuxing will begin picking up ride-hailing passengers with self-driving cars in Shanghai in just a few months, according to company CTO Zhang Bo (via Reuters). The plan is to roll out autonomous pick-ups in Shanghai first, starting in one district of the city, and then expand the program from there — finally culminating in the deployment of self-driving vehicles outside of China by 2021.

Like Uber’s autonomous test vehicles, Didi’s cars will be staffed with a human driver on board during the initial launch period, which awaits a few remaining licenses before it can actually begin serving human passengers. Self-driving rides will be free for customers, and Zhang said that more than 30 different vehicles will be offered for self-driving trips as part of the pilot.

After its initial pilot launch in Shanghai, Didi will look to expand its offerings to Beijing and Shenzhen as well, with hopes to be live in all three cities by 2020.

Didi is the largest ride-hailing company in China, and beat out an attempt by Uber to establish a presence in the market, resulting in Uber selling its Chinese business to Didi and exiting the market in 2016 (in exchange for a minority stake). We spoke to Didi’s CTO (who asked to be identified as “Bob” at the time, hence the lower-third in the video below) later that same year about why the company believes it has an advantage when it comes to data-driven technology development relative to Uber and other ride-hailing companies.

Aside from a general sense in the industry that autonomy is a likely, if not inevitable end goal for ride-hailing and other mobility services with a technological focus, Didi is also likely motivated by a need for drivers to meet demand — and drivers who can provide a safe and secure experience for passengers. The company revealed in July that it had proved more than 300,000 drivers didn’t meet its safety standards after overhauling those standards last year.

Earlier this month, Didi also announced that it was spinning out its autonomous driving unit as a separate company, with Zhang as CEO. It’ll look to develop tech for its own fleet, and work in partnership with automakers, including Toyota, in pursuit of commercializing and deploying autonomous driving.