  Triply heavy baryons are investigated in the framework of the relativistic
quark model based on the quark-diquark picture in the quasipotential approach
in QCD. Masses of the ground and excited states of the $\Omega_{ccc}$,
$\Omega_{bbb}$, $\Omega_{ccb}$ and $\Omega_{cbb}$ baryons are calculated.
Orbital and radial excitations between the diquark and quark as well as between
quarks inside the diquark are considered. The diquark internal structure is
consistently taken into account by the form factor of the diquark-gluon
interaction expressed through the overlap integral of the diquark wave
functions. The detailed comparison with previous calculations is given.
