Jogaila: the last pagan ruler of Lithuania, who was also a sole King of Poland, who fought against the Teutonic Knights for supremacy of poland and Lithuania!

Jogaila (1351 or 1362-June 1,1434) sealed the Polish-Lithuanian borders from the Tuetonic Knight at the Battle of Gruwald. Both sides took heavy losses, but the Knight were annihilated as a result of the battle. After Jogaila's passing, the personal deal with the borders was split, ending the partnership.