The Treaty of Limerick, signed on 3 October 1691, ended the Williamite War in Ireland, a conflict related to the Nine Years' War (1688–1697). It consisted of two separate agreements, one with military terms of surrender, signed by commanders of a French expeditionary force and Irish Jacobites loyal to the exiled James II. Baron de Ginkell, leader of government forces in Ireland, signed on behalf of William III and his wife Mary II. It allowed Jacobite units to be transported to France, the diaspora known as the Flight of the Wild Geese.