 Due to the circumstances of the by-election Ryan's candidacy was unopposed and he was elected to the House of Commons by acclamation.Ryan retired from business in 1875.In 1882, he was named customs collector at Montreal and served in that post until his death in January 1893.