The pylorus is the spincter muscle which is localized in the distal stomach, which consists of a thickened circular musculature of the stomach. It confines the acid gastric environment against the duodenum.
Source: Endoskopie-Atlas