When and why did the US switch to these voting machines that are the subject of ongoing lawsuits and reports of unlawful "updates"? - eviltoast

I keep seeing comments about how Canada avoided a similar fate because of its strict use of paper ballots; the US must have changed its system to include these electronic and possibly not airgapped machines.