A process for the preparation of aniline compounds of formula:whereinn and R are as defined in claim 1, by reacting nitro compounds of formula:wherein n and R are as defined, with hydrazine at elevated temperature in the presence of an aqueous base.The compounds of formula I are suitable as intermediates in the preparation of herbicides of the isobenzofuranone type.