Roman Esenzolov / EyeEm via Getty Images The European Union has approved new car technology that aims to deter drivers from speeding.

FRANKFURT — The European Union is moving to require cars and trucks to have technology that would deter speeding as well as data recorders to document the circumstances of accidents. Those are among the safety features included in a provisional agreement announced Wednesday by the EU's executive commission.

The package would force vehicles to have so-called intelligent speed assistance, which recognizes speed limits using mapping systems and help drivers observe them by restricting engine power. The driver can override the system by pushing harder on the gas pedal. Earlier versions of the measure envisioned a system that could not be overridden, but that was changed. The onboard data recorder would further deter speeding by registering the car's speed. "Every year 25,000 people lose their lives on our roads," said Elzbieta Bienkowska, the European Commissioner responsible for internal market and industry. "We can and must act to change this." The European Commission, the executive arm of the 28-country EU, said that the features would be required on all vehicles on European roads from 2022.

We made an important step towards improving #RoadSafety across Europe! New rules on #GeneralSafetyRegulation agreed between EUinstitutions have potential to save thousands of lives. Thank you @rozathun@ro2019eu for your work on this very important new law https://t.co/3D9LTJoV0lpic.twitter.com/gQr0nXIc9s — Elżbieta Bieńkowska (@EBienkowskaEU) March 26, 2019