York has had a Christian presence from the 300s. The first church on the site was a wooden structure built hurriedly in 627 to provide a place to baptise Edwin, King of Northumbria. A stone building was completed in 637, and was dedicated to Saint Peter. Its school and library were started in the 7th century.