Pudendal nerve supplying motor part to external sphincter is derived from -
Ventral division of sacral plexus gives rise to pudendal nerve. So the root value is S2-4
L5-S1 roots
S1-S2 .roots
L2-L3 roots
S2-S3 roots