Before 1762, France owned and administered the land west of the Perdido River as part of "La Louisiane". In 1762, France signed a secret treaty with Spain that effectively ceded all French lands west of the Mississippi River, plus the Isle of New Orleans, to Spain. At the end of the Seven Years' War in 1763, France ceded its remaining lands east of the Mississippi River (which included the land between the Perdido and Mississippi Rivers) to Great Britain, while Spain ceded its Florida territory to Britain.