The region of the stomach at the junction with the duodenum. It is marked by the thickening of circular muscle layers forming the pyloric sphincter to control the opening and closure of the lumen.