Nijmegen thus became part of the new Batavian Republic, but the division of Guelders caused the city to be reassigned to the Department of the Dommel and to lose its status as capital to 's-Hertogenbosch.