Pelvic splanchnics-erection is mediated by parasympathetic nerves, and the pelvic splanchnic nerves are the parasympathetic nerves that innervate the smooth muscle and glands of all pelvic viscera. so, the pelvic splanchnic nerves are the nerves contributing the fibers to the prostatic plexus which innervate penile/clitoral erectile tissue to cause erection. none of the other listed nerves carry parasympathetic fibers which could innervate the penis and cause erection. additionally, none of these other nerves contribute to the prostatic plexus, which is an extension of the inferior hypogastric plexus. the deep perineal nerve is the a branch of the perineal nerve that innervates all the muscles of the urogenital triangle. the dorsal nerve of the penis/clitoris is a branch of the pudendal nerve that provides sensory innervation to the skin of the shaft of the penis/clitoris. the genitofemoral nerve provides motor innervation to the cremaster muscle and sensory innervation to the skin of the anterior scrotum/labium majus and the upper medial thigh. finally, the pudendal nerve is the major nerve of the perineal region. its branches include the inferior rectal nerve, perineal nerve, and the dorsal nerve of the penis/clitoris.