  We show that a compact representation of a semisimple Lie group has an
orthogonal decomposition into finite length representations. This generalises
and simplifies a number of more special spectral theorems in the literature. We
apply it to the case of cusp forms, thus settling the spectral theory for the
space of non-unitary twisted cusp forms.
