How would a foreign actor do that? Using computers to change the outcome.
Have a collection of mass communications broadcasting studios spewing lies and garbage about a political opponent for years before an election, thereby manipulating the public against their own best interest.
Like they did with Trump and the lying media. They masquerade as "news" and the public thinks it's truthful.
Their real purpose is entirely to manipulate elections.