Soviet powers merged Nõmme with Tallinn already in 1940. They also separated Tallinn from Harju County and it became a centrally administered town. The same was applied to Paldiski in 1941. The German occupation of 1941-1944 left only Tallinn separated from Harju County. The Soviet reoccupation brought Paldiski back to central administration. Tallinn was divided into four urban raions in 1945 and it gained several new territories from its surrounding parishes. Aegviidu (then in Järva County), Järvakandi and Kohila (both now in Rapla County) and Kehra were named boroughs. The central administration of Paldiski was abolished in 1950 when Paldiski was merged with Keila Raion. Tallinn absorbed Saue in 1960 and Maardu in 1962 and the latter became a town within the municipality of Tallinn in 1980.