As a soldier he fought in French service in the Franco-Dutch War (1672–1678) and then in the Irish Army in the Williamite War (1688–1690) where he fought on the losing side in the battles of Newtownbutler and the Boyne.