In females, the ureters pass through the mesometrium and under the uterine arteries on the way to the urinary bladder.