Is the duodenum intraperitoneal or retroperitoneal?

Is the duodenum intraperitoneal or retroperitoneal?

The first and fourth portions are intraperitoneal, and the second and third portions are retroperitoneal.