Pharaoh persisted in his obduracy, even after Moses and Aaron had performed the miracle of the rod. At the time when the two Hebrews succeeded in entering the palace, guarded as it was by lions, Pharaoh had sent for his magicians, at their head Balaam and his two sons Jannes and Jambres, and when they appeared before him, he told them of the extraordinary incident, how the lions had followed the two old men like dogs, and fawned upon them. It was Balaam's opinion that they were simply magicians like himself and his companions, and he prayed the king to have them come before him together with themselves, to test who were the master magicians, the Egyptians or the Hebrews.