Ranitidine (1), the histamineH2-receptorantagonist, has been previously reported to increase gastric emptying and gastric motility by inhibition of acetylcholinesterase (AChE) and enhancement of acetylcholine (ACh) release. In order to obtain potent gastroprokinetic agents, a new series of ranitidine derivatives (5-32) possessing a nitrogen atom instead of a sulfur atom (B) was synthesized and their