As sneaky as Russia's spooks are, they couldn't keep hackers from commandeering the Twitter account of Dmitri Medvedev, Russia's former president and current prime minister, and tweeting a mock resignation and sundry other jokes in the longtime Putin ally's name.

It was the work of "Russian hacking collective" Shaltay-Boltay (which is apparently Russian for Humpty-Dumpty), according to the BBC:

The Russian-language feed, which has more than 2.5 million followers, was also filled with tweets denouncing the country's president, Vladimir Putin.

The impersonator wrote that Mr Medvedev would be pursuing a new career as a freelance photographer.

The hackers also weighed in on the Ukraine crisis through Medvedev's account:

Shaltay-Boltay, which claims to be allied with Anonymous, has been a pain in Russia's double-eagled butt for some time, publicly dumping private emails from Kremlin insiders and pro-Russian separatists in Ukraine.

According to Radio Free Europe/Radio Liberty, the hackers tweeted a bunch of other stuff from Medvedev's account, including a bitchy message for President Vladimir Putin, using his diminutive nickname.

"Been wanting to say this for a long time," the tweet read. "Vova, you're wrong!"

[Photo credit: AP Images]