In Mark, John baptizes Jesus, and as he comes out of the water he sees the Holy Spirit descending to him like a dove and he hears a voice from heaven declaring him to be God's Son (Mark 1:9–11). This is one of two events described in the gospels where a voice from Heaven calls Jesus "Son", the other being the Transfiguration.  The spirit then drives him into the wilderness where he is tempted by Satan (Mark 1:12–13). Jesus then begins his ministry after John's arrest (Mark 1:14). Jesus' baptism in Matthew is similar. Here, before Jesus' baptism, John protests, saying, "I need to be baptized by you" (Matthew 3:14). Jesus instructs him to carry on with the baptism "to fulfill all righteousness" (Matthew 3:15). Matthew also details the three temptations that Satan offers Jesus in the wilderness (Matthew 4:3–11). In Luke, the Holy Spirit descends as a dove after everyone has been baptized and Jesus is praying (Luke 3:21–22). John implicitly recognizes Jesus from prison after sending his followers to ask about him (Luke 7:18–23). Jesus' baptism and temptation serve as preparation for his public ministry.