The locomotives were ordered in the late 1970s as a supplement and later replacement of the Di 3. The class is technically similar to Denmark's DSB Class ME; it was planned to have commonalities with NSB's electric El 17 locomotives, but this was scrapped. The Di 4 was world's first asynchronous locomotive in revenue service. A second batch was planned delivered later in the 1980s, but the order was never placed.