Masses of heavy baryons are calculated in the framework of the relativistic quark-diquark picture and QCD. The obtained results are in good agreement with available experimental data including recent measurements by the LHCb Collaboration. Possible quantum numbers of excited heavy baryon states are discussed.