He also restored the altar of the Lord and offered on it sacrifices of peace offerings and of thanksgiving, and he commanded Judah to serve the Lord, the God of Israel.