[CH3:1][O:2][C:3]1[CH:8]=[CH:7][C:6]([C:9]2[O:10][C:11]3[C:12](=[C:14]([C:18]([O:20]C)=O)[CH:15]=[CH:16][CH:17]=3)[N:13]=2)=[CH:5][CH:4]=1.[NH3:22]>>[CH3:1][O:2][C:3]1[CH:8]=[CH:7][C:6]([C:9]2[O:10][C:11]3[C:12](=[C:14]([C:18]([NH2:22])=[O:20])[CH:15]=[CH:16][CH:17]=3)[N:13]=2)=[CH:5][CH:4]=1Methyl 2-(4-methoxyphenyl)benzoxazole-4-carboxylate was dissolved in liquid ammonia (30 ml) and sealed in an autoclave. The reaction mixture was left at 55° C., 20 bar for >20 hours. Once the reaction was complete the ammonia was removed and the resulting solid recrystallised from boiling ethyl acetate and petrol.