We show that the entanglement between two distant magnetic impurities, generated via electron scattering, can be easily modulated by controlling the magnitude of an applied external electric field. We assume that the two magnetic impurities are fixed and located on an one-dimensional quantum wire. A ballistic electron moving through the wire is scattered off by both