The lightning port for Apple was introduced back in September 2012. 12 years later, it will have to go by the wayside for the much more versatile USB-C option.

Products from Apple and other smartphone manufacturers will have to use the same charger under a landmark deal provisionally approved by European lawmakers on Tuesday, bringing years of debate to a close and overriding the tech giant’s complaints that such regulation would hamper innovation and harm consumers.

By Fall 2024, all mobile phones, tablets and cameras sold in the European Union must be equipped with the same USB-C charging port for wired charging, according to a provisional agreement announced by European lawmakers.

The requirement will apply to a string of devices including smartphones, headphones, e-readers, handheld gaming consoles, portable speakers and tablets “regardless of their manufacturer” and will also ensure charging speed is “harmonized” for devices that support fast charging.

Laptop makers must also comply, though they will have an additional 40 months after the new rules come into force to make the change.

The legislation, which has been negotiated within EU institutions for years, still needs formal approval from the European Parliament and European Council, which it is expected to secure later this year.