Really broad question where did the warrior/noble class from the middle ages come from?

Was is descendent from the from the surviving roman elite germanic nobility or something else entirely?