sentences:  However, the open sea mouth caused flooding problems in the hinterland and in 1544 the Emperor Charles V gave orders to close the harbour with lock gates, which were built in the town centre in 1569.This resulted in the harbour silting up and the ship building industry went into a decline by the end of the 17th century.The cheese market was the primary resource of the economy of Edam in the 16th century.