We will discuss recent results from our labs on the electrocodeposition of magnetic nanoparticles in a nickel matrix. To enhance the particle content of the layers we applied a magnetic field during the electroplating process. The role of the orientation of the magnetic field on the particle content of the layers will be discussed