Power passed from kings to local lords, giving rise to a system known as feudalism. Under feudalism, landowning nobles governed and protected the people in exchange for services such as fighting in a noble's army or farming the land.
It is true that the supreme court has ruled that classifications based on gender are subject to a lower level of scrutiny than classifications based on race.