retains its independence with the signing of the Treaty of Berwick, thus ending the Wars of Scottish Independence. 1357: In the Battle of Bubat, the Sundanese royal family is massacred by the Majapahit army by the order of Gajah Mada; the death toll includes Sundanese king Lingga Buana and princess Dyah Pitaloka Citraresmi, who committed suicide. 1360s 1363: The Battle of Lake Poyang, a naval conflict between Chinese rebel groups led by Chen Youliang and Zhu Yuanzhang, takes place from August to October, constituting one of the largest naval battles in history. 1365: The Old Javanese text Nagarakertagama is written. 1366: Tepanec Tlatoani Acolnahuácatl accepts Acamapichtli as the first tlatoani of Tenochtitlan for the Mexica Empire. 1368: The end of the Mongol Yuan Dynasty in China and the beginning of the Ming Dynasty. 1370s 1371: The Battle of Maritsa, the Serbs are defeated by the Ottomans, with most of Serb nobility being killed. 1377: Majapahit sends a punitive expedition against Palembang in Sumatra. Palembang's prince, Parameswara (later Iskandar Syah) flees, eventually finding his way to Malacca and establishing it as a major international port. 1378: The Great Schism of the West splits the Catholic Church, eventually leading to three simultaneous popes and not resolved until 1417. 1378: Battle of the Vozha River between Russians and Mongols. 1378–1382: Ciompi Revolt occurs in Florence. 1380s 1380: Russian principalities defeat the Golden Horde at the Battle of Kulikovo. 1381: John Wycliffe is dismissed from the University of Oxford for criticism of the Catholic Church, leading to the Lollardy movement in England. 1381: Peasants' Revolt in England. 1382: Khan Tokhtamysh captures Moscow. 1382: Barquq rise to power to start the Burji dynasty, the Circassian Mamuluk Dynasty in Egypt. 1385: Battle of Aljubarrota between Portugal and Castile. Portugal maintains independence. 1385: Union of Krewo between Poland and Lithuania. 1389: Battle of Kosovo between Serbs and Ottoman Turks; Prince Lazar, Sultan Murad I and Miloš Obilić are killed. 1389: Wikramawardhana succeeds Sri Rajasanagara as ruler of Majapahit. 1390–1400 1391: Anti-Jewish pogroms spread throughout Spain and Portugal, and many thousands of Jews are massacred. 1392: Taejo of Joseon establishes the Joseon Dynasty. 1396: The Battle of Nicopolis, in which the Ottoman Empire defeats a large Crusader army of knights and infantry from various Christian kingdoms including Hungary, France, the Holy Roman Empire, Burgundy and Wallachia. 1396: The Second Bulgarian Empire ends, with the capture of the last