CHISINAU, Moldova — Moldovans voted by a razor-thin majority in favor of securing the country's path toward European Union membership, electoral data showed Monday, after the pro-Western president accused foreign interference and ''criminal groups'' of trying to undermine the vote in the former Soviet republic.
The ''No'' vote appeared to be ahead until the last few thousand votes were counted from the large diaspora of Moldova, whose authorities have accused Russia of trying to destabilize the country.
With 99.41% of votes counted in the EU referendum held Sunday, the ''Yes'' vote stood at 50.39% and the ''No'' vote at 49.61%, according to the Central Electoral Commission.
A loss would have been a political disaster for the pro-Western government, which strongly supported the pro-EU campaign.
On Monday, President Maia Sandu reiterated claims that unprecedented voter fraud and foreign interference had undermined the voting, calling it a ''vile attack'' on Moldova's sovereignty.
''Unfortunately, the justice system failed to do enough to prevent vote-rigging and corruption," she told a news conference. ''Here, too, we must draw a line, correct what went wrong, and learn the lesson. We heard you: we know we must do more to fight corruption.''
Moldovan authorities claim that Moscow has intensified a ''hybrid war'' campaign to destabilize the country and derail its EU path. The allegations include funding pro-Moscow opposition groups, spreading disinformation, meddling in local elections and backing a major vote-buying scheme.
Russia has repeatedly denied it is interfering in Moldova.