He built Elath, and restored it to Judah, after that the king slept with his fathers.
Azariah was the one who rebuilt Elath and restored it to Judah after King Amaziah rested with his fathers.