Do you obey the Creator or the creation?

According to the book of 2 Kings, which King of Israel, swapped out the altar designed by God for the altar used by a foreign nation?