Ryan is a state senator who defeated the incumbent acting mayor, Christopher Scanlon, in the Democratic primary in June.