What inspired Garrett Morgan to invent the traffic light?

Answer~He saw a car collide with a horse and carriage.