By the end of the 18th century, the basic structure of the royal suburbs of the Königsvorstadt had been developed. It consisted of irregular-shaped blocks of buildings running along the historic highways which once carried goods in various directions out of the gate. At this time, the area contained large factories (silk and wool), such as the "Kurprinz" (one of Berlin's first cloth factories, located in a former barn) and a workhouse established in 1758 for beggars and homeless people, where the inmates worked a man-powered treadmill to turn a mill.