(QHA) -

The European Court of Human Rights (ECHR) struck Tymoshenko v. Ukraine from its docket on Thursday.

Former Prime Minister Yulia Tymoshenko, now 54, had brought the suit against Ukraine in 2013, alleging that prosecutors had stacked the deck against her in a politically charged trial that left her imprisoned - and ailing - until the 2014 ouster of President Viktor Yanukovych.

"The court took note of the Ukrainian government's declaration in which they admitted that the criminal prosecution of Ms. Tymoshenko had been politically motivated and in which they acknowledged a violation of her Convention rights, and of various measures taken by the government as a consequence of those violations," The court said in a statement on Thursday, referencing the European Convention on Human Rights.

"Following Ms. Tymoshenko's agreement to the terms of that declaration, the court considered that it implied a friendly settlement between the parties and therefore found no reason to continue its examination of the case."

Note: In April 2011, Ukraine's regime opened lengthy proceedings against Tymoshenko, who had served as prime minister in 2005 and from 2007 to 2010, alleging that during her time as head of government she had made an illegal order for the signing of a contract concerning gas imports.

On October 11 of that year, the court convicted Tymoshenko on all charges, sentenced her to seven years' imprisonment and banned her from holding office for three years. In August 2012, the court upheld its ruling.