When did the middle ages began?

the middle ages began around the tenth century snd ended around the sixteenth century