Gurjara-Pratihara dynasty

Gurjara-Pratihara dynasty (also known as the Pratihara Empire) was a powerful dynasty in the Late Classical Period on the Indian subcontinent. This dynasty ruled most of the Northern states of India. This dynasty ruled India for a huge period from the 7th century to the 11th century. They had Ujjain as the capital and later shifted to Kannauj.
History.
Nagabhata I (730–756) was the first ruler of the dynasty. He extended his control east and south from Mandor. He conquered Malwa as far as Gwalior and the port of Bharuch in Gujarat.He established his capital at Avanti in Malwa. Nagabhata I was famously known for defeating the Arab army of the Ummayyad Caliphates under Junaid and Tamin. Kakushta and Devaraja are two weak rulers who succeeded Nagabhata I. Vatsaraja (775–805) was the next powerful ruler of the dynasty.
Conquest of Kannauj.
Kannauj kingdom was ruled by a weak ruler, after the death of Harshavardhana. The Pratiharas, The Palas and The Rashtrakutas fought to get control over Kannauj. But Vatsaraja of Pratihara defeated the Palas and the Rashtrakutas. Around 786, Rashtrakuta ruler Dhruva (780–793) crossed the Narmada River into Malwa. From there he tried to capture Kannauj and defeated Vatsaraja. 
Vatsaraja was succeeded by Nagabhata II (805–833). Nagabhata II was initially defeated by the Rashtrakuta ruler Govinda III (793–814). But later recovered Malwa from the Rashtrakutas. He conquered Kannauj and the Indo-Gangetic Plain as far as Bihar from the Palas. He rebuilt the great Shiva temple at Somnath in Gujarat. Kannauj became the center of the Gurjara-Pratihara state. At this time, the Gurjara-Pratihara dynasty covered much of northern India.
Rambhadra (833-c. 836) for a short time, succeeded Nagabhata II. Mihira Bhoja (c. 836–886) expanded the Pratihara dynasty west to the border of Sindh, east to Bengal, and south to the Narmada. His son, Mahendrapala I (890–910), expanded further eastwards in Magadha, Bengal, and Assam.
Decline.
Bhoja II (910–912) was the successor of Mahendrapala I . He was overthrown by Mahipala I (912–944). Many kingdoms emerged independent using the weakness of Pratiharas. The south Indian Emperor Indra III (c. 914–928) of the Rashtrakuta dynasty for a short time captured Kannauj in 916. Later again Pratihara ruler gained control over Kannauj. But the dynasty was still weakening due to the attacks of the Turks, Rashtrakutas and several other dynasties. Mahmud of Ghazni captured Kannauj in 1018, and the Pratihara ruler Rajapala fled (escaped). Somehow Rajapala was captured and killed by a Chandela Ruler named Vidhyadhara.The Chandela ruler then placed Rajapala's son Trilochanpala on the throne. Jasapala, the last Gurjara-Pratihara ruler died in 1036.