The most widespread use of RS-422 was on the early Macintosh computers. This was implemented in a multi-pin connector that had enough pins to support the majority of the common RS-232 pins; the first models used a 9-pin D connector, but this was quickly replaced by a mini-DIN-8 connector. The ports could be put into either RS-232 or RS-422 mode, which changed the behavior of some of the pins while turning others on or off completely. These connectors were used both to support RS-232 devices like modems, as well as AppleTalk networking, RS-422 printers, and other peripherals. Two such ports were part of every Mac until they were replaced, along with ADB ports, by Universal Serial Bus on the iMac in 1998.