By condensation of 2-(2,6-dichloroanilino)-2-imidazoline (I) with allyl bromide (II) by means of pyridine in refluxing methanol.