After graduating from law school, Riley worked as an attorney in
Minneapolis and
Denver. He began his career in
Washington, D.C. in 1978 as an aide to U.S. Senator
David Durenberger (R-Minnesota) and was his chief counsel and later, his chief of staff. In 1982, Riley was nominated to serve as administrator of the
Federal Railroad Administration (FRA). He served from 1983 to 1989 under
Secretary of Transportation Elizabeth Dole. Riley is credited for recruiting
W. Graham Claytor Jr. to come out of retirement and lead
Amtrak for eleven years. Riley was a longtime Amtrak supporter and advocated for its funding during his years in Washington. In 1990, Riley was named as Commissioner of the
Minnesota Department of Transportation. He resigned in 1991 when he was diagnosed with an aggressive tumor in his brain. During a period of remission, Riley served on the executive committee of the
Transportation Research Board. == Personal life ==