A young source of optical emission from distant radio galaxies