first, Mary as Mediatrix of All Graces, has not yet been defined by the Church but is considered certain by many theologians.
The second, the Immaculate Conception, was infallibly defined by Pope Pius IX on December 8, 1854, twenty-four years after the apparitions. The definition of the doctrine, which had been developing over many centuries, was most certainly hastened by the Miraculous Medal revelation- specifically the words Catherine Laboure saw encircling the image of Our Lady in 1830: "O Mary conceived without sin, pray for us who have recourse to thee." Indeed, the Pope himself asserted that the impetus for his pronouncement came from France. In "Defining the Dogma of the Immaculate Conception," Pius IX decreed:
We declare, pronounce, and define that the doctrine which holds that the most Blessed Virgin Mary, in the first instant of her conception, by a singular grace and privilege granted by Almighty God, in view of the merits of Jesus Christ, the Savior of the human race, was preserved free from all stain of original sin, is a doctrine revealed by God and therefore to be believed firmly and constantly by all the faithful.
Four short years after Pope Pius IX's pronouncement, the dogma of the Immaculate Conception would be confirmed by the Blessed Mother herself in apparition to St. Bernadette of Lourdes