Context: In 1822, the citizens of Boston voted to change the official name from "the Town of Boston" to "the City of Boston", and on March 4, 1822, the people of Boston accepted the charter incorporating the City. At the time Boston was chartered as a city, the population was about 46,226, while the area of the city was only 4.7 square miles (12 km2).

Question: What was the City of Boston's name before it was the City of Boston?
Answer: the Town of Boston

Question: What year was the name changes to the City of Boston?
Answer: 1822

Question: Boston was chartered as what in 1822?
Answer: a city

Question: What was the population of Boston in 1822?
Answer: about 46,226

Question: How many square miles was the city in 1822?
Answer: 4.7 square miles