Chlothar was made king at the instigation of Charles Martel following his victory over the forces of Chilperic II and the mayor of the palace, Ragamfred, at the Battle of Vincy on 21 March 717. This put Charles in control of most of Austrasia, although pockets still recognised Chilperic. The creation of a rival king in Chlothar IV served two goals: it legitimised Charles as mayor of the palace, an office which he claimed as an inheritance from his father, Pippin of Herstal, and it expanded his military resources by allowing him to raise a larger army through royal summons and the royal power to command.