In 1781, as part of the Anglo-French War (an outgrowth of the American Revolutionary War), France captured Tobago. The island was ceded to France in 1783 under the terms of the Treaty of Paris, which left the existing constitution and laws in place and allowed the British inhabitants to retain their property and religion. The capital, Scarborough, was renamed Port Louis in 1787, and Fort King George was renamed Fort Castries.