  We prove the existence of an extremal function in the
Hardy-Littlewood-Sobolev inequality for the energy associated to an stable
operator. To this aim we obtain a concentration-compactness principle for
stable processes in $\mathbb{R}^N$.
