Partial demethylation of 2,4,5-trimethoxybenzaldehyde (I) with BCl3 gives 2-hydroxy-4,5-dimethoxybenzaldehyde (II), which is condensed with the sodium salt of p-tolylacetic acid (III) in boiling acetic anhydride to afford the coumarin derivative (IV). Benzylic halogenation of (IV) with N-bromosuccinimide in the presence of a catalytic amount of benzoyl peroxide yields bromide (V), which is finally condensed with N-methyl benzylamine (VI) to afford the desired compound.