Factors that affects the strength of an electromagnet

      What factors affect the strength of an electromagnet?