The present invention relates to novel substituted diamine derivatives for the
formula
##STR1##
wherein R1, R2, R3, R4, X1,
X2, X3, X4, A, Y and n are as described in the
specification, pharmaceutical compositions containing them and intermediates used
in their manufacture. More particularly, the compounds of the invention are motilin
receptor antagonists useful for the treatment of associated conditions and disorders
such as gastrointestinal reflux disorders, eating disorders leading to obesity
and irritable bowel syndrome.