When Were the Medieval Times?

The phrase medieval times specifically refers to the the time of the middle ages. It is this time that people speak of when talking about getting medieval on someone.