 He studied law, was admitted to the bar in 1884 and commenced practice in Pottsville, Pennsylvania.He was elected district attorney in 1892 and served until January 1896.Ryan was elected as a Democrat to the Fifty-sixth Congress.