The principal function of the sympathetic trunks in the pelvis is to deliver postganglionic sympathetic fibers to the anterior rami of sacral nerves for distribution to the periphery, mainly to parts of the lower limb and perineum. This is accomplished by gray rami communicantes, which connect the trunks to the sacral anterior rami.