In 1868 the world’s first traffic light was installed outside the Houses of Parliament. The gaslit signal controlled the flow of London carriages—at least for a few weeks.