An electromagnetic device used in an oil, the electromagnetic device comprising: an outer casing (2); a movable shaft (4) supported by the outer casing (2); a coil core (53A, 53B, 58A, 58B) arranged within the outer casing (2) such that the movable shaft (4) is arranged on a common axis with the movable shaft; and a coil (70, 70A) embedded in an outer mold (54), the coil (70, 70A) being constructed by winding a conductor wire (50, 50A, 50B), in which a
copper wire (51) is coated with an electrical insulating layer (52), onto the coil core (53A, 53B, 58A, 58B), wherein the electrical insulating layer (52) is removed from an end portion of the conducting wire (50, 50A, 50B), and the end portion of the conducting wire (50, 50A, 50B) is wound onto a fixing portion (8a) of a coil terminal (8, 8A, 8B, 8C) attached to the coil core (53A, 53B, 58A, 58B) to form a winding portion (90, 91), a solder retaining member (62, 63) is mounted such that it covers the winding portion (90, 91) of the lead wire (50, 50A, 50B) on the fixing portion (8a) and leaves portions of the coil terminals (8, 8A, 8B, 8C) uncovered, and the winding portion (90, 91) of the lead wire (50, 50A, 50B) is soldered to the fixing portion (8a) together with the solder retaining member (62, 63), wherein the solder (56) is filled into the solder retaining part (62, 63).