He established an export drapery business, AJ Riley & Co, with branches in London, Paris and Sydney.
He first stood for the New South Wales Legislative Assembly at the 1885 election for Canterbury, but was unsuccessful by a margin of 133 votes (0.8%).
[4] In 1887 he was elected to the Legislative Assembly as a Free Trade member for South Sydney, finishing at the head of the poll, but was defeated in 1889 with a swing to the Protectionists.
[5] Appointed to the New South Wales Legislative Council in 1891, he was forced to resign in 1893 when he was declared bankrupt.
[3] Riley died at his home Tulloona, Park Road, Burwood on 24 July 1914(1914-07-24) (aged 70),[1][7][8] survived by Eleanor,[9] five sons and five daughters.