Question: What is the name of the man who had an affair with Sancha of Aragon?

Sancha Ramírez (born 1045, died 1097) was an Aragonese princess, the daughter of King Ramiro I and Queen Ermesinda.  She was the Countess of Urgell from 1063 until 1065 as the wife of Count Ermengol III.  Her brothers Sancho Ramírez and García Ramírez became king of Aragon and bishop of Pamplona, respectively.  During her brother's reign she played an important role in consolidating the kingdom of Aragon, which had been founded by her father in 1035. <SEP> The Crown of Aragon ( ; Aragonese: "Corona d'Aragón" , Catalan: "Corona d'Aragó" , Spanish: "Corona de Aragón" ) was a composite monarchy, also nowadays referred to as a confederation of individual polities or kingdoms ruled by one king, with a personal and dynastic union of the Kingdom of Aragon and the County of Barcelona.  At the height of its power in the 14th and 15th centuries, the Crown of Aragon was a thalassocracy (a state with primarily maritime realms) controlling a large portion of present-day eastern Spain, parts of what is now southern France, and a Mediterranean "empire" which included the Balearic Islands, Sicily, Corsica, Sardinia, Malta, Southern Italy (from 1442) and parts of Greece (until 1388).  The component realms of the Crown were not united politically except at the level of the king, who ruled over each autonomous polity according to its own laws, raising funds under each tax structure, dealing separately with each "Corts" or "Cortes".  Put in contemporary terms, it has sometimes been considered that the different lands of the Crown of Aragon (mainly the Kingdom of Aragon, the Principality of Catalonia and the Kingdom of Valencia) functioned more as a confederation than as a single kingdom.  In this sense, the larger Crown of Aragon must not be confused with one of its constituent parts, the Kingdom of Aragon, from which it takes its name. <SEP> Giovanni Borgia, 2nd Duke of Gandía (1474 or 1476–1497) was the son of Pope Alexander VI a member of the House of Borgia who was murdered in 1497.  He was the brother of Cesare, Gioffre, and Lucrezia Borgia.  Giovanni, commonly known as Juan (or sometimes, Joan), is believed to be the eldest of the Pope's four children by Vannozza dei Cattanei, but this is disputed.  Due to the contents of a number of papal bulls issued after his murder, it is unclear whether Giovanni was born in 1476 or 1477. <SEP> Sancha of Aragon (1478 in Gaeta – 1506 in Naples), or Sancia of Aragon, was an illegitimate daughter of King Alfonso II of Naples and his mistress Trogia Gazzela.  There Sancha became friends with her sister-in-law Lucrezia, and allegedly had affairs with both of her husband's older brothers: Juan Borgia, 2nd Duke of Gandia, also known as Giovanni Borgia, and Cesare Borgia.  In 1494, she was married to Gioffre Borgia, youngest son of Pope Alexander VI.  Upon her marriage, she and her husband were created Prince and Princess of Squillace, a province in the south of Italy.  For the majority of their marriage, Sancha and her husband lived in the Vatican with the rest of his family.  Her affair with Juan is sometimes said to be the reason for Cesare's alleged murder of Juan in 1497.