By the reaction of alpha-bromo-delta-chlorovaleric acid chloride (I) with 2,4,6-trimethylaniline (II) and cyclization of the obtained amide (III) with n-butylamine (IV).