A Citroen prototype has crossed part of Spain without a driver.
The C4 Picasso set out on Monday from the Citroen factory in Vigo, in north-western Galicia and tackled 600 kilometres before reaching the factory in Madrid.
The “intelligent” auto uses a combination of GPS, camera sensors, radar and laser scanners to navigate.
The test could only be conducted after Spain’s traffic directorate adopted new regulations earlier this month to establish the framework for driverless cars.
But so far the regulations permit the car only on motorways and dual carriageways and restrict use in built up urban areas.
The cars could be on the road within five years.
"The PSA Citroen group intends to equip some of their production cars with self-driving systems from 2018,” Jose Leon Capitan, spokesman for Citroen Spain said at a press conference.
"As totally autonomous driving becomes possible in our vehicles by 2020, it will allow us to reduce sensibly the number of car accidents," he added.