Shokin was appointed Prosecutor General of Ukraine on 10 February 2015, replacing
Vitaly Yarema. He was a controversial appointee due to his perceived role in blocking prosecutions against those accused of shooting demonstrators in the
2014 Ukrainian revolution. As Prosecutor General, he was accused of blocking major cases against allies and influential figures and hindering the fight against
corruption in Ukraine. In early April 2015, Shokin stated that the General Prosecutor Ukraine (GPU) files about criminal orders from former General Prosecutor
Viktor Pshonka had disappeared, along with Pshonka's secret casework and secret materials. Shokin stated, "I will tell you more: not only criminal cases, but classified materials have disappeared - secret records, including those related to the orders of Victor Pshonka." (). Various street protests demanding Shokin's resignation were held. On 2 November 2015, there was an assassination attempt against him when an unidentified sniper fired three shots into his office, but was foiled by the bulletproof glass window. In response to a query from
Ukrainian News Agency in late 2019, the
Security Service of Ukraine (SBU) acknowledged that it is continuing to investigate the attempted assassination of Shokin. Through 2015 and early 2016, domestic and international pressure (including from the
IMF, the
EU, and the
EBRD) built for Shokin to be removed from office. The
Obama administration withheld $1 billion in loan guarantees to pressure the Ukrainian government to remove Shokin from office. His defenders nonetheless argued that he played an important role "balancing competing political interests". His Deputy Prosecutor,
Vitaly Kasko, announced his resignation on 15 February 2016 denouncing the corruption and lawlessness of the Prosecutor's office. Shokin was also criticized in Ukraine for failing to prosecute snipers who killed demonstrators during the revolution, as well as for failing to investigate corrupt businesses. On 16 February 2016, Shokin submitted a letter of resignation, although the next day an official of the prosecution office stated, "As far as I know he has taken a paid leave". On 19 February 2016
presidential press secretary Sviatoslav Tsegolko wrote on
Twitter that the
presidential administration had received an official letter of resignation from Shokin. On 16 March 2016 an official of the prosecution office stated that Shokin had resumed his work. In one notorious case, two of Shokin's prosecutors were caught with stashes of diamonds, cash and valuables in their homes, likely indicating
bribery. Prosecutors from another department of Shokin's office were fired or reassigned when they attempted to bring a prosecution against the so-called "diamond prosecutors". On 28 March, protesters called for Shokin's firing, after his office was authorized by a Kyiv court to investigate AntAC. Shokin was formally dismissed in a parliamentary vote on 29 March 2016. The
European Union praised Shokin's dismissal due to a "lack of tangible results" of his office's investigations, and also because people in Shokin's office were themselves being investigated. On 27 February 2020, a court ruling forced investigators to open a probe on
Joe Biden's
pressure on Poroshenko to fire Shokin. The investigation was closed in November 2020 after the
election of
Joe Biden as
President of the
United States. == Investigation into Burisma Holdings ==