When we're the Middle Ages?

A: before medieval
B: between ancient and modern times
C: after modern times
D: between medieval and ancient times