Compound can be prepared in two related ways: 1) The acylation of 2,6-dimethylaniline (I) with chloroacetyl chloride (II) in acetic acid gives omega-chloro-2,6-dimethylacetanilide (III), which is then condensed with disodium salt of iminodiacetic acid (IV) in refluxing ethanol-water. 2) The reaction of (III) with ammonia in ethanol gives omega-amino-2,6-dimethylacetanilide (V), which is finally treated with chloroacetic acid (A) and NaOH in refluxing 95% ethanol.