Man who blamed exposure to far-right content gets 3 years for threatening election officials