It was spelled "þe". As the writing of þ evolved, it got closer to a "y" and so this was chosen by printers as a replacement character. The Wikipedia page on the þ has a section for its use in the English language: https://en.wikipedia.org/wiki/Thorn_(letter)#English