Building alliances, he quietly re-established the royal aura and authority - becoming ultimate arbiter during coups and spells of chaos as Thailand changed from rural backwater to middle-income country.