The first European settlement in Alabama was established in 1702 by the French at Fort Louis de la Mobile, which is now the city of Mobile. It was named after Louis XIV of France and was the capital of French Louisiana until 1711.