Guelders was often at war with its neighbours. Not only with Brabant, but also with the County of Holland and the Bishopric of Utrecht. Its territory did not only grow because of its success in warfare, it also did very well in times of peace. William II, count of both Holland and Zeeland, gave Nijmegen in use to Guelders in return of a loan. However he was not able to repay the debts, so these lands became integral parts of Guelders. 