Florida is a state located in the Southeastern United States. It borders Alabama to the northwest and Georgia to the north. Much of the state's land mass is a large peninsula with the Gulf of Mexico to the west, the Atlantic Ocean to the east, and the Florida Straits and Caribbean to the south. Florida was admitted as the 27th U.S. state in 1845, after a three hundred year period of European rule. With an area of 65,755 square miles (170,305 km2), it is ranked 22nd in size among the 50 U.S. states. Florida has the longest coastline in the contiguous United States, encompassing approximately 1,350 miles (2,170 km). The state has four large urban areas, a number of smaller industrial cities, and many small towns.