Russian opposition leader Alexei Navalny takes a selfie at his office after been released from a jail in Moscow, Russia, Sunday, Oct. 22, 2017. Navalny was released from jail where he spent 20 days for "organising unsanctioned protests." Since he was sentenced, Ksenia Sobchak has declared her candidacy in upcoming presidential elections, a move that is likely to threaten Navalny's own position. (Evgeny Feldman/Navalny Campaign via AP)

Russian opposition leader Alexei Navalny takes a selfie at his office after been released from a jail in Moscow, Russia, Sunday, Oct. 22, 2017. Navalny was released from jail where he spent 20 days for "organising unsanctioned protests." Since he was sentenced, Ksenia Sobchak has declared her candidacy in upcoming presidential elections, a move that is likely to threaten Navalny's own position. (Evgeny Feldman/Navalny Campaign via AP)

MOSCOW (AP) — Alexei Navalny, Russia’s most prominent opposition figure, was released from jail Sunday after serving a 20-day sentence for calling an unauthorized demonstration.

Navalny was arrested on Sept. 29 as he planned to travel to the city of Nizhny Novgorod for a rally that officials had sanctioned. But a court sentenced him for organizing another event, an unauthorized protest in President Vladimir Putin’s hometown of St. Petersburg.

Navalny plans to run for president against Putin in next March’s election. He has repeatedly served jail terms connected to rallies critical of the Russian government.

ADVERTISEMENT

After his release from jail, the anti-corruption campaigner traveled later Sunday to Astrakhan, a city located about 1300 kilometers (800 miles) southeast of Moscow. He planned to address an authorized rally there.

Photographs from the scene suggest the rally attracted several hundred people.

Navalny this year twice called for demonstrations nationwide. The size and number of the events rattled the Kremlin.