That progress soon earned him a first-team place, and he took over the off-spinning role previously held by James Tredwell. After a solid debut campaign, Riley built on it in a following season, finishing with 48 wickets and apparently securing a regular spot in the side. That position did not last: his form later dipped, and he was before long sent back to the second eleven.
At one point Riley's name also came up in England's thinking. When Graeme Swann retired abruptly during the 2013-14 Ashes series, Riley was looked at as a possible option. Peter Such, then England's spin coach and an off-spinner in his own playing days, judged that Riley had an upright action. Even so, the England management decided he was too young and lacked the experience to take charge of the national team's spin bowling.