From the Middle Ages onwards, industry in Dutch towns was controlled by guilds. Though they had a role in social and religious life, their main purpose was to protect the economic interests of their members.