Where does “मध्यरात्र” come from?

Words derived from “मध्यरात्र