In the meantime, Charles was attempting to reclaim his throne, but France, although hosting the exiles, had allied itself with Oliver Cromwell. In 1656, Charles turned instead to Spain – an enemy of France – for support, and an alliance was made. In consequence, James was expelled from France and forced to leave Turenne's army. James quarrelled with his brother over the diplomatic choice of Spain over France. Exiled and poor, there was little that either Charles or James could do about the wider political situation, and James ultimately travelled to Bruges and (along with his younger brother, Henry) joined the Spanish army under the Prince of Condé in Flanders, where he was given command as Captain-General of six regiments of British volunteers and fought against his former French comrades at the Battle of the Dunes.