She is the last remaining direct member of the main house of the Souma family who are implied have royal origins as will as being a shrine maiden. The Souma Clan like Kurahashi Clan once supported Yakou during WWII and through their control of military. However when Japan lost the war they had all but disappeared.
(Source: Wikipedia, edited)