After the fragmentation reaction of Ti-50 on Be-9 at 330 MeV/u, more than 30 neutron-rich isotopes from B to Ca were selected by the fragment separator FRS at GSI. Peripheral collisions with a secondary Pb target at relativistic energies were used to study the excited states of these isotopes. De-excitation gamma-rays were detected with the Darmstadt-Heidelberg Crystal Ball spectrometer. The first results demonstrate the feasibility of in-beam gamma-spectroscopy at relativistic energies.