On 10 September 2017 Yashin was elected a municipal deputy of the Krasnoselsky district of Moscow. The Solidarnost team won 7 out of 10 seats in this district (the United Russia won the other 3).
On 10 September 2017, Yashin was elected to represent the Krasnoselsky district of Moscow on the municipal council. The Solidarnost team won a majority of the seats in this district, with the United Russia taking the remaining ones.