 Sommerville studied as a marine engineer in Scotland.Somerville immigrated to America in 1892 and worked as an electrical engineer for General Electric in Coal City, Illinois, later working for McComber Wire Rope Company.In 1907 he became mayor of Coal City, keeping the title until 1913.