In Christian tradition the Magi, also known as the Three Wise Men, The Three Kings, or Kings from the east - although it is not said in the Bible how many Magi there really were - are sometimes considered to be Median, perhaps Iranian Zoroastrian priests, who were also proficient in astrology from Ancient Persia. The Gospel of Matthew states that they came "from the east to Jerusalem" to worship the Christ, "born King of the Jews". According to Matthew, they navigated by following a star which came to be known as the Star of Bethlehem. As they approached Jerusalem, Herod tried to trick them into revealing where Jesus was, so that he might be put to death. Upon finding Jesus, the Magi gave him an unspecified number of gifts, amongst which were three highly symbolic ones: gold, frankincense and myrrh. Because these three gifts were recorded, it is traditionally said to have been three givers; however, Matthew does not specify how many wise men came from the east.
The Magi were then warned in dreams that revealed Herod's deadly intentions for the child and decided to return home by a different route, in order to thwart them. This prompted Herod to resort to killing all the young children in Bethlehem, an act called the Massacre of the Innocents, in an attempt to eliminate a rival heir to his throne. Jesus and his family had, however, escaped to Egypt beforehand. After these events, the magi return home and passed into obscurity. The story of the nativity in Matthew glorifies Jesus, likens him to Moses, and shows his life as fulfilling prophecy. Some critics consider this nativity story to be an invention of the author of Matthew.