By condensation of 2-chloro-10-(beta-chloropropionyl)phenothiazine (I) with 1,4-diazabicylo[4.3.0]nonane (II) in refluxing toluene.