Below is the timeline for the Duke of Berwick during this period:
"In 1689, the Duke of Berwick served under James II in the campaign in Ireland, and, on 12 July 1690, was present at the Battle of the Boyne during which he led a charge, was unhorsed and almost killed in the melee. When his father departed for France after the Boyne, Berwick remained with the Jacobite Irish Army as commander-in-chief during the retreat to Limerick. On 22 June 1691, Berwick was present at the Battle of Aughrim. He then took part in the unsuccessful defence of Limerick.
The Duke of Berwick then took service in the French army, fought under Maréchal Luxembourg in Flanders. In 1692, it took part in the Battle of Steenkerque; and in 1693, in the Battle of Landen, where he was taken prisoner. He was, however, immediately exchanged for the Duke of Ormond, and afterwards he served under Villeroy."
"During the Nine Years' War (1688-1697), on 27 March 1693, Villeroy was promoted to maréchal de France, without having assumed any major command. In 1695, he commanded the French army who uselessly bombarded Bruxelles and lost the city of Namur."