When was the traffi light invented?

If you are asking about a traffic light then it was invented to prevent car accidents.