(EN) An integrated optical device such as a semiconductor optical amplifier based on a (Ga,In)(N,As) material comprises a waveguide 52 having a mode expander 56 at an end facet 54. The mode expander comprises a local variation 58 in refractive index achieved by variation in the N content.