The first three-light electric traffic lights were installed in Detroit in 1920. Earlier, on 10 December 1868, the first gas traffic lights were installed outside the Houses of Parliament in London. They resembled the railway signals of the time, with semaphore arms and red and green gas lamps for night use. They exploded on 2 January 1869