Tradition, drawing on the (non-canonical but very early) Gospel of James, gives us Saints Joachim and Anne as the names of the father and mother of the Mother of God.
In the Protoevangelium of James, Joachim is described as a rich and pious man of the house of David who regularly gave to the poor and to the temple (synagogue) at Sepphoris. However, as his wife was barren, the high priest rejected Joachim and his sacrifice, as his wife's childlessness was interpreted as a sign of divine displeasure. Joachim consequently withdrew to the desert where he fasted and did penance for forty days. Angels then appeared to both Joachim and Anne to promise them a child. Joachim later returned to
and embraced Anne at the city gate. Jerusalem
The Catholic Encyclopedia notes that "the apocryphal character of these writings, that is to say, their rejection from the canon, and their ungenuineness do not imply that no heed whatever should be taken of some of their assertions; side by side, indeed, with unwarranted and legendary facts, they contain some historical data borrowed from reliable traditions or documents; and difficult though it is to distinguish in them the wheat from the tares, it would be unwise and uncritical indiscriminately to reject the whole."