The first element of the Hail Mary was the Angelic Salutation of the Angel Luke 1:28). 
The Evangelical Salutation was the greeting of Elizabeth, mother of Luke 1:42). It was not until the sixth century that the Catholic Church combined the Angelic Salutation with the Evangelical Salutation. .
Complete Standard Form
The full, standard form of the Hail Mary, with petitionary clause including "Pray for us sinners, now and the hour of our death" , was established by Pope Pius V in 1568 as part of a revision of the Liturgy of the Hours but had been in use earlier. Until the 11th century, the Hail Mary prayer consisted only of the combination of the Angelic Salutation and the Evangelical Salutation.