sentences:  He studied law, was admitted to the bar on July 30, 1832, and commenced practice in Baltimore.He served as member of the city council in 1847 and 1848.Walsh was elected as a Whig to the Thirty-second Congress (March 4, 1851 – March 3, 1853).