sentences:  As a Democratic-Republican, Mallary successfully contested the election of Orsamus C. Merrill to the Sixteenth Congress.Mallary served six terms in Congress.He was elected as a Democratic-Republican to the Seventeenth Congress, reelected as an Adams-Clay Democratic-Republican to the Eighteenth Congress, and elected as an Adams candidate to the Nineteenth and Twentieth Congresses.