A regular stage coach service ran between Bernard Street and Edinburgh's Old Town from the mid-18th century. By 1863 this had become a horse-drawn omnibus running every 5 minutes from 9am to 10pm. This was put on tracks sometime around 1880 effectively then becoming a horse-drawn tram. Leith was the first town in Scotland to electrify its tram system (1905). Leith Corporation Tramways were merged into Edinburgh Corporation Tramways as part of the 1920 merger of the two burgh councils. Tram services ran until 1956 and were then replaced by buses due to the contemporary perception of their greater flexibility.