According to the apocryphal Gospel of James, Mary was the daughter of Saint Joachim and Saint Anne.