Parasympathetic branches extend from the sacral plexus into the arteries supplying the erectile tissue ; upon stimulation , these nerve branches initiate the release of nitric oxide , a vasodilating agent , in the target arteries .

The nerves then cause a chemical called nitric oxide to be released into the arteries .
