By 1776, Saint Kitts had become the richest British colony in the Caribbean, per capita. Attacks by the French occurred at the end of the throughout the 18th century, including the Siege of Brimstone Hill and the Battle of Saint Kitts in 1782. The consolidation of British rule was recognized finally under the Treaty of Versailles in 1783.