Although Russia has criticized NATO's campaign in Libya, Dmitry Medvedev suggested that Colonel Gaddafi lost legitimacy and requested that he step down. Nonetheless, Russia maintained a diplomatic presence in Tripoli with the Gaddafi government until September 2011 when Moscow switched recognition to the anti-Gaddafi National Transitional Council.