Morgan was elected as a
Whig to represent the
24th District in the
Twenty-sixth and
Twenty-seventh Congresses (March 4, 1839 – March 3, 1843). In the 24th District, Morgan was succeeded by
Horace Wheaton. He moved to Auburn in 1843 and practiced law with Seward and
Samuel Blatchford as
Morgan, Blatchford & Seward from 1844 to 1847. He was
Secretary of State of New York from 1847 to 1851, which included the additional duty of Superintendent of the New York public schools. After leaving office he resumed the practice of law in Auburn. He became a
Republican at the party's organization in the mid-1850s. He served as mayor of Auburn from 1860 to 1861, and was a Trustee of the State lunatic asylum in
Utica, New York. ==Death and burial==