The Chahamanas (Chauhans) of Shakambhari and the Gahadavalas of Kannauj were bitter rivals, engaged in prolonged conflict over control of the fertile Gangetic plains. Both sought dominance in northern India during the 12th century, preceding the Ghurid conquest.