In the Middle English period, there were no standard spellings, but ⟨w⟩ was sometimes used to represent either a vowel or a consonant sound in the same way that Modern English does with ⟨y⟩, particularly during the 14th and 15th centuries.