Mediterranean powers frequently sentenced convicted criminals to row in the war-galleys of the state (initially only in time of war). After the revocation of the Edict of Nantes in 1685 and Camisard rebellion, the French Crown filled its galleys with French Huguenots, Protestants condemned for resisting the state. Galley-slaves lived and worked in such harsh conditions that many did not survive their terms of sentence, even if they survived shipwreck and slaughter or torture at the hands of enemies or of pirates. Naval forces often turned 'infidel' prisoners-of-war into galley-slaves. Several well-known historical figures served time as galley slaves after being captured by the enemy—the Ottoman corsair and admiral Turgut Reis and the Knights Hospitaller Grand Master Jean Parisot de la Valette among them.