As part of their education under Guru Drona, the Pandavas were sent to capture Drupada, the king of Panchala. This was their gurudakshina (teacher's fee). Arjuna successfully captured Drupada, fulfilling Drona's condition. Jayadratha, Virata, and Shalya were kings they encountered in different contexts.