The Flight of the Wild Geese was the departure of an Irish Jacobite army under the command of Patrick Sarsfield from Ireland to France, as agreed in the Treaty of Limerick on 3 October 1691, following the end of the Williamite War in Ireland. More broadly, the term Wild Geese is used in Irish history to refer to Irish soldiers who left to serve in continental European armies in the 16th, 17th and 18th centuries. An earlier exodus in 1690, during the same war, had formed the French Irish Brigade, who are sometimes misdescribed as Wild Geese. By country Spanish service The first Irish troops to serve as a unit for a continental power formed an Irish regiment in the Spanish Army of Flanders in the Eighty Years' War in the 1590s. The regiment had been raised by an English Catholic, William Stanley, in Ireland from native Irish soldiers and mercenaries, whom the English authorities wanted out of the country. (See also Tudor conquest of Ireland). Stanley was given a commission by Elizabeth I and was intended to lead his regiment on the English side, in support of the Dutch United Provinces. However, in 1585, motivated by religious factors and bribes offered by the Spaniards, Stanley defected to the Spanish side with the regiment. In 1598 Diego Brochero de Anaya wrote to the Spanish King Philip III: that every year Your Highness should order to recruit in Ireland some Irish soldiers, who are people tough and strong, and nor the cold weather or bad food could kill them easily as they would with the Spanish, as in their island, which is much colder than this one, they are almost naked, they sleep on the floor and eat oats bread, meat and water, without drinking any wine. The unit fought in the Netherlands until 1600 when it was disbanded due to heavy wastage through combat and sickness. Following the defeat of the Gaelic armies of the Nine Years' War, the "Flight of the Earls" took place in 1607. The Earl of Tyrone Hugh O'Neill, the Earl of Tyrconnell Rory O'Donnell and the Lord of Beare and Bantry, Donal O'Sullivan, along with many chiefs, Gallowglass, and their followers from Ulster, fled Ireland. They hoped to get Spanish help in order to restart their rebellion in Ireland, but King Philip III of Spain did not want a resumption of war with England and