John White Geary (December 30, 1819February 8, 1873) was an American lawyer, politician, Freemason, and a Union general in the American Civil War. He was the first mayor of San Francisco. He was the 3rd Governor of the Kansas Territory. He was also the 16th Governor of Pennsylvania.