Source: https://math.unice.fr/~labourie/preprints/pdf/Math111.pdf