Some facts about Ukrainian revolution on February 2014 (not to be mistaken with Orange revolution a decade earlier)
Elected president had only a year left in his term
He wasn't closely associated with Putin throughout most of his tenure. Contrary, in September 2013 he approved a draft of a association agreement with EU. He also apparently flirted with the idea of joining NATO
This didn't sit well with Putin. He pressed and two months later Ukrainian president declined to sign EU agreement. Clearly he was persuaded by Russians, rather than had his own country best interests in mind
This, in turn, infuriated Ukrainians who wanted to join EU. They came out on the streets and had been protesting for a couple of months
Eventually they went full MAGA in February 2014, with about a year left on president's term
This resulted in bloody disposal, rather than peaceful elections, and the rest is history
Here's an angry pro-russian piece from September 2013, blaming alleged Putin puppet for foregoing his promises for close ties with Russia and pivoting west instead.
https://en.topwar.ru/33502-utka-po-i...zahromala.html