Ullmann condensation between o-chlorobenzoic acid (I) and p-anisidine (II) produces the diphenylamine carboxylic acid (III), which is further cyclized to the 2-methoxyacridone (IV) by heating in polyphosphoric acid. N-Alkylation of acridone (IV) with 1-bromo-4-chlorobutane (V) in the presence of KOH under phase-transfer conditions furnishes the N-(chlorobutyl)acridone (VI). Finally, nucleophilic substitution of the chloro group of (VI) with N-(2-hydroxyethyl)piperazine (VII) gives rise to the title compound.