This invention relates to novel phenyl amide or pyridyl amide derivatives
of the formula
##STR00001##
wherein A.sup.1, A.sup.2, B.sup.1, B.sup.2 and R.sup.1 to R.sup.11 are as
defined in the description and in the claims, as well as pharmaceutically
acceptable salts thereof. These compounds are GPBAR1 agonists and can be
used as medicaments for the treatment of diseases such as type II
diabetes.