In 1409, the second Samogitian uprising against the Teutonic Knights escalated into the Polish–Lithuanian–Teutonic War. Joint Polish–Lithuanian forces defeated the Knights in the decisive Battle of Grunwald in 1410. However, the war did not resolve all the disputes and by 1413 Poland–Lithuania was preparing for another war with the Knights (see Hunger War). These developments encouraged Poland and Lithuania to review their relationship.