Before the 13th century almost all buildings were made of timber, but a shift began towards stone. Early Swedish stone buildings are the Romanesque churches on the country side. As so happens, many of them were built in Scania and are in effect Danish churches. This would include the Lund Cathedral from the 11th century and the somewhat younger church in Dalby, but also many early Gothic churches built through influences of the Hanseatic League, such as in Ystad, Malmö and Helsingborg.