King served in the Massachusetts State Senate from 1838 to 1841, and was its President in 1840.
King's tenure in the Massachusetts State Senate spanned from 1838 to 1841, during which he served as the senate's leader in 1840.