The present invention relates to new substituted benzoxazepines and benzothiazepines of the general formula I ##STR1## in which X, R.sup.1, R.sup.2 and R.sup.3 have the meaning given in the description, processes for their preparation and their use in medicaments having vaso- and muscle-relaxing properties, in particular as circulatory agents.