Officials in Ecuador say Venezuelan leader Nicolas Maduro's administration gave ex-President Rafael Correa $281,000 intended to help destabilize the government of the man who replaced him as head of the small South American nation.

Anti-Corruption Secretary Ivan Granda presented a formal complaint to prosecutors on Wednesday alleging that Maduro's government funneled the money through a foundation run by Correa in August. He didn't give details of the foundation's alleged actions.

Granda said the revelation was particularly upsetting considering Venezuela's worsening economic and humanitarian crisis.

Correa denied the charges on Twitter, while the foundation put out a statement insisting all its activities are legal.

Current President Lenin Moreno was a protégé of Correa, but the two have waged an increasingly bitter feud.