A method of attaching a phosphorous dendrimer onto magnetic microparticles by taking magnetic microparticles in a water-based solution, then performing a solvent exchange, then suspending the microparticles in a phosphorous dendrimer solution and shaking, then washing the microparticles with an organic solvent, and then washing the microparticles with a transition solvent. The solvent exchange is done by washing the microparticles with a first concentration of a transition solvent, then washing the microparticles with a second concentration of the transition solvent where the second concentration is greater than the first concentration, then washing the microparticles with an organic solvent, then washing the microparticles with the transition solvent, then washing the microparticles with the organic solvent, and then suspending the microparticles in the transition solvent. Also disclosed is the related phosphorous dendrimer made by this method.