After the Peace of Westphalia, several border territories were assigned to the United Provinces.