När blev Florida delen av USA?

Florida blev en del av USA, som ett territorium 1822 och blev en stat i 1845.