It was Azariah who rebuilt Elath and restored it to Judah, after King Amaziah slept with his ancestors.