What is the last location urine passes through as it leaves the kidneys?

renal cortex

renal medulla

renal papilla

renal pyramid

renal papilla