After passing through the deep inguinal ring, the ductus deferens bends medially around the lateral side of the inferior epigastric artery and crosses the external iliac artery and the external iliac vein at the pelvic inlet to enter the pelvic cavity.