They were subject to Chedorlaomer for twelve years, but they rebelled in the thirteenth year.