Mary, also known as Maria of Anjou (Hungarian: Anjou Mria, Croatian: Marija Anuvinska, Polish: Maria Andegaweska; 1371 17 May 1395), reigned as Queen of Hungary and Croatia (officially "king") between 1382 and 1385, and from 1386 until her death. She was the daughter of Louis the Great, King of Hungary and Poland, and his wife, Elizabeth of Bosnia. Mary's marriage to Sigismund of Luxembourg, a member of the imperial Luxembourg dynasty, was already decided before her first birthday. A delegation of Polish prelates and lords confirmed her right to succeed her father in Poland in 1379.
Having no male siblings, Mary was crowned "king" of Hungary on 17 September 1382, seven days after Louis the Great's death. Her mother, who assumed regency, absolved the Polish noblemen from their oath of loyalty to Mary in favor of Mary's younger sister, Jadwiga, in early 1383. The idea of a female monarch remained unpopular among the Hungarian noblemen, the majority of whom regarded Mary's distant cousin, Charles III of Naples, as the lawful heir. To strengthen Mary's position, the queen mother wanted her to marry Louis, the younger brother of Charles VI of France. Their engagement was announced in May 1385.
Charles III of Naples landed in Dalmatia in September 1385. Sigismund of Luxembourg invaded Upper Hungary (now Slovakia), forcing the queen mother to give Mary in marriage to him in October. However, they could not prevent Charles from entering Buda. After Mary renounced the throne, Charles was crowned king on 31 December 1385, but he was murdered at the instigation of Mary's mother in February 1386. Mary was restored, but the slaughtered king's supporters captured her and her mother on 25 July. Queen Elizabeth was murdered in January 1387, but Mary was released on 4 June 1387. Mary officially remained the co-ruler with Sigismund, who had meanwhile been crowned king, but her influence on the government was minimal. She and her premature son died after falling from her horse during a hunting trip.
Louis I, also Louis the Great (Hungarian: Nagy Lajos; Croatian: Ludovik Veliki; Slovak: Ľudovít Veľký) or Louis the Hungarian (Polish: Ludwik Węgierski; 5 March 1326 – 10 September 1382), was King of Hungary and Croatia from 1342 and King of Poland from 1370. He was the first child of Charles I of Hungary and his wife, Elizabeth of Poland, to survive infancy. A 1338 treaty between his father and Casimir III of Poland, Louis's maternal uncle, confirmed Louis's right to inherit the Kingdom of Poland if his uncle died without a son. In exchange, Louis was obliged to assist his uncle to reoccupy the lands that Poland had lost in previous decades. He bore the title of Duke of Transylvania between 1339 and 1342 but did not administer the province.
Louis was of age when he succeeded his father in 1342, but his deeply religious mother exerted a powerful influence on him. He inherited a centralized kingdom and a rich treasury from his father. During the first years of his reign, Louis launched a crusade against the Lithuanians and restored royal power in Croatia; his troops defeated a Tatar army, expanding his authority towards the Black Sea. When his brother, Andrew, Duke of Calabria, husband of Queen Joanna I of Naples, was assassinated in 1345, Louis accused the queen of his murder and punishing her became the principal goal of his foreign policy. He launched two campaigns to the Kingdom of Naples between 1347 and 1350. His troops occupied large territories on both occasions, and Louis adopted the styles of Neapolitan sovereigns (including the title of King of Sicily and Jerusalem), but the Holy See never recognized his claim. Louis's arbitrary acts and atrocities committed by his mercenaries made his rule unpopular in Southern Italy. He withdrew all his troops from the Kingdom of Naples in 1351.
Like his father, Louis administered Hungary with absolute power and used royal prerogatives to grant privileges to his courtiers. However, he also confirmed the liberties of the Hungarian nobility at the Diet of 1351, emphasizing the equal status of all noblemen. At the same Diet, he introduced an entail system and a uniform rent payable by the peasants to the landowners, and confirmed the right to free movement for all peasants. He waged wars against the Lithuanians, Serbia, and the Golden Horde in the 1350s, restoring the authority of Hungarian monarchs over territories along frontiers that had been lost during previous decades. He forced the Republic of Venice to renounce the Dalmatian towns in 1358. He also made several attempts to expand his suzerainty over the rulers of Bosnia, Moldavia, Wallachia, and parts of Bulgaria and Serbia. These rulers were sometimes willing to yield to him, either under duress or in the hope of support against their internal opponents, but Louis's rule in these regions was only nominal during most of his reign. His attempts to convert his pagan or Orthodox subjects to Catholicism made him unpopular in the Balkan states. Louis established a university in Pécs in 1367, but it was closed within two decades because he did not arrange for sufficient revenues to maintain it.
Louis inherited Poland after his uncle's death in 1370. Since he had no sons, he wanted his subjects to acknowledge the right of his daughters to succeed him in both Hungary and Poland. For this purpose, he issued the Privilege of Koszyce in 1374 spelling out the liberties of Polish noblemen. However, his rule remained unpopular in Poland. In Hungary, he authorized the royal free cities to delegate jurors to the high court hearing their cases and set up a new high court. Suffering from a skin disease, Louis became even more religious during the last years of his life. At the beginning of the Western Schism, he acknowledged Urban VI as the legitimate pope. After Urban deposed Joanna and put Louis's relative Charles of Durazzo on the throne of Naples, Louis helped Charles occupy the kingdom. In Hungarian historiography, Louis was regarded for centuries as the most powerful Hungarian monarch who ruled over an empire "whose shores were washed by three seas".