The first city in South Holland to receive city rights was Dordrecht, which did so in 1220. The city retained a dominant position in the area until it was struck by a series of floods in the late 14th century. The same century also saw a series of civil wars, the Hook and Cod wars, concerning the succession of count William IV. Both his daughter Jacqueline and his brother John, the latter supported by Philip the Good, Duke of Burgundy, claimed the throne. The conflict ended in 1490, with John victorious.