 He studied law, was admitted to the bar and commenced practice in Juniata County, Pennsylvania, in 1819.He moved to Mercer County, Pennsylvania, and continued the practice of law.Banks was elected as an Anti-Masonic candidate to the Twenty-second, Twenty-third, and Twenty-fourth Congresses and served until his resignation on March 31, 1836.