2012 election Sanakoev ran as a candidate in the
2012 South Ossetian presidential election. He campaigned on a platform of government reform, wishing to sever ties between the government and big business, creating directly elected
district heads, and make ministerial positions be held accountable to
parliament He advanced to the second round after narrowly beating Moscow-backed
Dmitry Medoyev with 6,627 votes to Medoyev's 6,415, making the election the first without a Russia-endorsed candidate. He went on to get 12,439 votes, or 43.64% of the electorate, well short of Tibilov's 15,786 votes or 55.38% of the electorate. Despite this, Tibilov named Sanakoev his foreign minister on May 30, 2012
2014 election Hoping to keep his political platform of reformism alive, Sanakoev founded the
New Ossetia political party immediately after his defeat in 2012 to participate in the
2014 South Ossetian parliamentary election. Sanakoev immediately tempered expectations for the party during its foundation, and the party went on to win 6.27% of the vote, but zero seats in parliament. As minister of foreign affairs, he leaked a draft treaty between Russia and South Ossetia, which would have resulted in the annexation of the republic by Russia, to Georgian media. The treaty had already been redrafted by that point, without the annexation clause. Sanakoev lost a no confidence vote on 13 March 2015, which, according to
Radio Free Europe/Radio Liberty, was motivated as retaliation by
Bibilov for Sanakoev having leaked the draft treaty to the media. Sanakoev was removed from office on 22 April 2015. After this incident, Sanakoev was labeled as "nationalist" and "pro-Georgian" by
Valery Kaziyev, then head of the
Communist Party of South Ossetia. In response to these accusations, Sanakoev sued Kaziyev for libel.
2019 election In the 2017 election, pro-Russian
Anatoly Bibilov was elected president and introduced new bureaucratic hurdles for opposition parties, namely needing to register a party before every election, with his office determining which parties can and cannot be re-registered. New Ossetia found itself in the latter category. As the two parties platforms were similar, Sanakoev merged New Ossetia into
Nykhaz and was elected its chairman in June 2018. Shortly after, in 2019 he was joined by the
Alanian Union led by
Alan Gagloev.
2024 election Sanakoev remained a member of parliament for Nykhaz until 11 April 2024, when he was one of the founders of the newly formed party
For Justice alongside two other MPs,
Harry Muldarov and
Dzambolyt Medoev. All three of them had their Russian citizenship revoked for supporting creating a "state border" between South Ossetia and Georgia. ==ICC indictment==