A compound of formula (I) ##STR1## and its physiologically acceptable salts and solvates are described as useful in treating and/or preventing pain resulting from dilatation of the cranial vasculature in particular migraine. The compound (I) may be prepared, for example, by cyclizing a compound of formula (II) ##STR2##