After receiving his discharge in 1865, Riley returned to New York and established a machine shop in Summit Street, Brooklyn, with two partners, Robert Cowley and George Besser, under the company name Riley, Cowley & Besser.
After receiving his discharge in 1865, Riley came to New York and in 1866, established a machine shop in Summit Street, Brooklyn. Either at this time or some time over the next two years, Riley formed a business partnership with Robert Cowley and George Besser, which traded under the name Riley, Cowley & Besser.