Located at the junction of the Mobile River and Mobile Bay on the northern Gulf of Mexico, Mobile began as the first capital of colonial French Louisiana in 1702 and remained a part of New France for over 60 years. The city was ceded to Great Britain in 1763, and under British rule the colony continued as part of West Florida. Spain captured Mobile during the American Revolutionary War in 1780, with the Battle of Fort Charlotte.