MOSCOW — Russia's prime minister submitted his resignation Wednesday as part of a surprise government shake-up directed by President Vladi­mir Putin as he looks to an eventual transition of power and seeks to ensure his influence after his term ends in 2024.

Putin accepted the resignation of Dmitry Medvedev, a longtime ally and political partner who once served as president. Medvedev, however, will remain in Russia’s power structure as the Security Council’s deputy chairman, a job that has been compared to a vice presidency.

Less than three hours after Medvedev’s resignation, Putin offered the post of prime minister to Mikhail Mishustin, the head of the Russian tax service, who is viewed as a possible placeholder as Putin reshapes Russia’s power structure.

The broad moves came shortly after Putin gave his annual address to Russian lawmakers and proposed major constitutional changes such as transferring more power to parliament, including the ability to name the country’s prime minister. Currently, the premier is selected by the president.

Putin took advantage of that by promptly nominating Mishustin, who has not been part of Russia’s top-tier leadership before.

What Putin wants to change

Putin also called for “enshrining” the State Council, which advises the president, in what could be a path for him to maintain significant influence in a different capacity once this six-year ­presidential term ends in four years.

Under Russia’s current term-limit system, Putin cannot seek reelection because of a maximum of two consecutive presidential terms. Putin previously had another two-term presidency, but he wants to end that possibility for successors — calling for a maximum two terms with no options to come back.

Medvedev’s resignation means the entire ministerial cabinet is out, too, but it’s expected to remain in place until a new government is formed.

“For my part, I also want to thank you for everything that was done at this stage of our joint work; I want to express satisfaction with the results that have been achieved,” the president told the cabinet members at a meeting.

“Not everything was done, but everything never works out in full,” he said without elaborating.

Medvedev had served as Russia’s prime minister since 2012 and spent four years before that as president. He said he resigned because the constitutional changes would affect the balance of the executive, legislative and judicial branches of government.

“In this context, it is obvious that we as the government should allow our country’s president to make all necessary decisions before that,” Medvedev added.

Mishustin, who had been with Russia’s tax service for 10 years, was a surprise pick to replace Medvedev because of his relatively low-profile nature. That suggested that Putin may not consider Mishustin his political heir to the presidency after 2024 and could select another high-ranking official.

Andrei Kolesnikov, a senior fellow and the chairman of the Russian Domestic Politics and Political Institutions Program at the Carnegie Moscow Center, called the day’s events “absolutely unprecedented.”

“There has been nothing similar in the history of the Soviet Union or post-Soviet Russia,” he said.

Russian Prime Minister Dmitry Medvedev resigned on Jan. 15 along with the rest of Russia's cabinet in a move some saw as a power play by President Putin. (AP)

Kazakh model?

Medvedev’s move to Russia’s Security Council, which Putin chairs, has added to speculation that Putin may be looking to copy the path of a former Soviet republic, Kazakhstan, in retaining power past his presidency. Last March, Nursultan Nazarbayev, Kazakhstan’s long-serving president, stepped down but became chairman of the Security Council for life — making him the effective power broker.

In his speech to parliament Wednesday, Putin again suggested limiting presidential terms to two, indicating that he won’t attempt to seek a third consecutive term. He also set out plans to shift power away from the presidency to the lower house of parliament — a move that would erode the influence of his successor.

“This is all about how to influence the prerogatives of the future president,” said Tatiana Stanovaya, the head of R.Politik, a think tank. “Putin would like to have some leverage, some mechanism to control and to get involved, in case his successor makes mistakes or has some disagreements with him.”

After Putin served two presidential terms from 2000 to 2008, he swapped places with Medvedev, who served one term. Medvedev was widely considered a caretaker, enabling Putin to retain power behind the scenes, but there was also believed to be a rift between the two halfway through Medvedev’s presidency. Putin then took over the presidency in 2012 and was reelected in 2018.

Stanovaya considers it unlikely that Putin would want to be prime minister again after his presidency, but both she and Kolesnikov said chairing a beefed-up State Council could be appealing to him.

“He doesn’t want to get engaged in routine social and economic policy, like the budget — it’s boring for him,” Stanovaya said. “He wants to focus on foreign policy, and I think the State Council is much more convenient for him. But for that, he will need to make it a constitutional body and significantly enlarge its possibilities.”

Putin concluded his speech to parliament, which lasted slightly more than an hour, by recommending that the package of amendments be approved by a vote — with passage all but certain. He plans to sign a special decree establishing a date and the rules for putting the changes to a vote, presidential spokesman Dmitry Peskov said, according to the state-run news agency Tass.

Other changes

Other constitutional changes included limiting the supremacy of international law, raising the residency requirements for presidential candidates from 10 to 25 years, giving the Russian constitutional court the right to verify whether adopted laws are in compliance with the constitution before they are signed by the president, prohibiting civil servants from holding foreign citizenship, and adding a provision to keep the minimum wage and pensions above the official poverty line.

“Our society is clearly demonstrating a demand for change,” Putin said at the start of the address.

The annual speech to top Russian officials and members of parliament focused largely on how to improve domestic living standards. Putin’s approval ratings remain high — about 68 percent, according to a December poll from the Levada Center — but they have been gradually declining because of unpopular moves in recent years to raise the retirement age and increase taxes on goods and services.

Kolesnikov suggested that Wednesday’s bombshell could have been Putin’s attempt to avoid public “discontent with his economic policy” with Russia’s economy largely stagnant and corruption rampant.

The state of the nation address was Putin’s first to be projected across several large buildings in Moscow. Putin also pointed out that the speech was unusual because it was delivered early; typically such addresses are given in February or March.

“We need to expedite achievement of the large-scale social, economic and technological challenges our country faces,” he said.

Natalia Abbakumova contributed to this report.