And Jeroboam was from the mountain and tribe of Ephraim. But when he had been appointed king, he then contrived in what manner the affairs of the kingdom would be established for him, and would remain secure, so that the opinion of those who appointed him would not shift to some other counsel and consideration. Then, fearing lest Israel, brought to remembrance of the worship according to the law and of the feasts celebrated in Jerusalem, might choose to return to its original state, and be brought under the yokes of Rehoboam, he made two golden calves, and leading Israel back to the worship in... Egypt, he commanded them to worship them and to offer whole burnt offerings. "And he placed," it says, "the one in Gilgal, and the other in Dan;" and these were cities more conspicuous than the others, which were in the land of the Samaritans.
Source: Commentary on Hosea