 By the end of the century, there were tobacco factories, iron foundries and machine shops.At the beginning of the 20th century, Roskilde first prospered as a satellite community for Copenhagen but then, as ships increased in size, suffered from the fact that the harbour was too small and Roskilde Fjord too shallow for navigation.Industries began to move out of the harbour area but were still the largest source of employment, thanks in part to the spirits factory ("De Danske Spritfabrikker") and the slaughterhouse ("Roskilde Andelssvineslagteri").