What year did San Jose become a city?

San Jose became a city in 1850, the same year California entered the United States as the 31st State.
Copyright Wanderlust World © https://www.ynyoo.com