Wheaton served as judge of the
Bristol County Court. He was appointed chief justice of the court of common pleas of
Bristol County May 18, 1810, which position he held until appointed chief justice of the court of sessions for
Bristol County on May 25, 1819, but this court was abolished in 1820. ==Election to congress==