The electromagnet that creates the magnetic field in which the armature rotates is called the inductor.