Task: Question Answering
Input (English): Context: Alfonso II (125 March 1157  25 April 1196), called the Chaste or the Troubadour, was the King of Aragon and, as Alfons I, the Count of Barcelona from 1164 until his death. The eldest son of Count Ramon Berenguer IV of Barcelona and Queen Petronilla of Aragon, he was the first King of Aragon who was also Count of Barcelona. He was also Count of Provence, which he conquered from Douce II, from 1166 until 1173, when he ceded it to his brother, Ramon Berenguer III. His reign has been characterised by nationalistic and nostalgic Catalan historians, as "l'engrandiment occitànic" or "the Pyrenean unity": a great scheme to unite various lands on both sides of the Pyrenees under the rule of the House of Barcelona., Petronilla (29 June/11 August 1136  15 October 1173), whose name is also spelled Petronila or Petronella (Aragonese "Peyronela" or "Payronella", and ), was the Queen of Aragon from the abdication of her father in 1137 until her own abdication in 1164. She was the daughter and successor of Ramiro II by his queen, Agnes. She was the last ruling member of the Jiménez dynasty in Aragon, and by marriage brought the throne to the House of Barcelona., Alfonso II ( 1174 -- 1 December 1209 ) was the second son of Alfonso II of Aragon and Sancha of Castile . His father transferred the County of Provence from his uncle Sancho to him in 1185 . Alfonso II was born in Barcelona . In 1193 , Alfonso married Gersenda II of Sabran , daughter of Rainou , Count of Forcalquier and Gersend of Forcalquier . They had a child who became Ramon Berenguer IV as count of Provence . According to explanations in the manuscripts of Gaucelm Faidit 's poems , Alfonso was a rival of the troubadour 's for the love of Jourdaine d'Embrun . Alfonso II died in Palermo , Sicily , Italy ., The House of Barcelona was a medieval dynasty that ruled the County of Barcelona continuously from 878 and the Crown of Aragon from 1137 (as kings from 1162). From the male part they descend from the Bellonids, the descendants of Wifred the Hairy. They inherited most of the Catalan counties by the thirteenth century and established a territorial Principality of Catalonia, uniting it with the Kingdom of Aragon through marriage and conquering numerous other lands and kingdoms until the death of the last legitimate male of the main branch, Martin the Humanist, in 1410. Cadet branches of the house continued to rule Urgell (since 992) and Gandia. Cadet branches of the dynasty had also ruled Ausona intermittently from 878 until 1111, Provence from 1112 to 1245, and Sicily from 1282 to 1409. By the Compromise of Caspe of 1412 the Crown of Aragon passed to a branch of the House of Trastámara, descended from the "infanta" Eleanor of the house of Barcelona., Subject: alfonso ii, Relation: noble_family, Options: (A) house of barcelona (B) jiménez dynasty
Output (English): house of barcelona