An electromagnet includes: