St. Petersburg is a city in Pinellas County, Florida, United States. As of the 2020 census, the population was 258,308, making it the fifth-most populous city in Florida and the most populous city in the state that is not a county seat (the city of Clearwater is the seat of Pinellas County). It is the second-most populous city in the Tampa Bay area, which is the second-largest metropolitan area in Florida with an estimated population of about 3.29 million in 2022. St. Petersburg is located on the Pinellas peninsula between Tampa Bay and the Gulf of Mexico, and is connected to mainland Florida to the north. Locals often refer to the city as St. Pete. Neighboring St. Pete Beach formally shortened its name in 1994 after a vote by its residents. St. Petersburg is governed by a mayor and city council. With an average of 361 days of sunshine annually, and a Guinness World Record for the most consecutive days of sunshine (768 days between 1967 and 1969), it is nicknamed "The Sunshine City." Located on the Gulf of Mexico, the average water temperature is typically around 76 °F (24 °C). Due to its good weather, the city has long been a popular retirement destination, although in recent years the population has moved in a much more youthful direction.