 He studied law, but did not practice, and rather engaged in the management of his estate "Needwood".Lee was elected as a Jackson Federalist to the Eighteenth Congress (March 4, 1823 – March 3, 1825).He served as chairman of the committee of the House of Representatives appointed to escort the Marquis de Lafayette from Frederick City to Washington in 1825.