sentences:  He served as associate judge of the court of common pleas from 1811 to 1815.He also was a member of the New York State Assembly in 1814–15.Ogden was elected as a Federalist to the Fifteenth Congress (March 4, 1817 – March 3, 1819).