When a muscle lengthens, the muscle spindle is stretched and its nerve activity increases. This increases alpha motor neuron activity, causing the muscle fibers to contract and thus resist the stretching. A secondary set of neurons also causes the opposing muscle to relax.