 He was elected as a Whig to the Twenty-seventh Congress and served until his death in Washington, D.C.He served as chairman of the United States House Committee on Roads and Canals during the Twenty-seventh Congress.Lawrence served as chairman of the Democratic convention of PA state legislators in 1824.