He got rid of the illegal places of worship and the altars for incense in all the cities of Judah. The kingdom was at peace during his reign.