By the 1940s there were already ten tram lines. On 2 June 1944 the city was bombed, and the tramway system was seriously damaged. It was repaired by 1947, and seven tram lines served the city until the 1970s, which brought a decrease in the popularity of trams. Tramways were demolished all over the country, the role of trams was taken over by buses. Today Debrecen is one of only four Hungarian cities to have a tram line, but even here only one line survived. The importance of DKV decreased, and the company lost its leading role in the public transport of Debrecen.