William II, Duke of Bavaria died on 31 May 1417, without having achieved anything else with regard to the Frisian war. His death caused a renewed flare-up of the Hook and Cod wars, when his younger brother John III, Duke of Bavaria, with the support of the Cods, tried to take the countship from William's daughter Jacqueline, Countess of Hainaut, who had the support of the Hooks. As a result of the succession conflict, the status of the Frisian Freedom was reaffirmed by Emperor Sigismund.