Both the kidneys and the ureters are retroperitoneal organs.