sentences:  He served as district attorney of Sonoma County, California, in 1883 and 1884.He resumed the practice of law.Geary was elected as a Democrat to the Fifty-first Congress to fill the vacancy caused by the resignation of John J.