Under the leadership of their hereditary prince Gaius Julius Civilis, an auxiliary officer in the Imperial Roman army, the Batavi and their allies managed to inflict a series of humiliating defeats on the Roman army, including the destruction of two legions. After these initial successes, a massive Roman army led by the Roman general Quintus Petillius Cerialis eventually defeated the rebels. Following peace talks, the Batavi submitted again to Roman rule, but were forced to accept humiliating terms and a legion stationed permanently on their territory, at Noviomagus (modern day Nijmegen, The Netherlands).