Question: Shams-uddin Muhammad was the second malik of the Kurt dynasty, he ruled from 1245 until his death in which year?

<P0-S0> The "Farooqi dynasty"' (also spelt Farooqui, Faruqi) was the ruling dynasty of the Khandesh sultanate from its inception in 1382 till its annexation by the Mughal emperor Akbar in 1601. <P0-S1>  The founder of the dynasty, Malik Ahmad (also known as Malik Raja) participated in a rebellion against the Bahmani ruler Muhmmad Shah I in his early years. <P0-S2>  When he was compelled to flee from Deccan, he established in Thalner on the Tapti River (in present-day Dhule district in Maharashtra). <P0-S3>  After receiving the grant of the fiefdoms of Thalner and Karanda (the present day Karwand, 19 km north of Thalner) from Firuz Shah Tughluq in 1370, he conquered the region around Thalner, which later became known as Khandesh (the land of the Khans). <P0-S4>  By 1382, he started ruling independently. <P0-S5>  Malik Raja claimed his descent from the second Caliph Umar-al-Faruq. <P0-S6>  Hence, the dynasty founded by him was known as Faruqi dynasty. <P0-S7>  The next ruler, Nasir Khan conquered the Asirgarh fort and made it his capital. <P0-S8>  He founded the new capital Burhanpur in 1399. <P0-S9>  The most illustrious ruler of this dynasty was Adil Khan II. <P0-S10>  During his long reign, Burhanpur was transformed to a major centre for trade and textile production. <P0-S11>  In 1599, Akbar’s army occupied Burhanpur and on January 17, 1601 the citadel of Asirgarh also fell after a long siege. <P0-S12>  The last ruler Bahadur Shah surrendered to the Mughals. <P0-S13>  Khandesh became a Mughal Subah. <P0-S14>  The rulers of Faruqi dynasty were known as who fought against the Hindus and also the Shia's. <SEP> <P1-S0> The Kurt dynasty, also known as the Kartids was a Sunni Muslim dynasty of Tajik origin, that ruled over a large part of Khorasan during the 13th and 14th centuries. <P1-S1>  Ruling from their capital at Herat and central Khorasan in the Bamyan, they were at first subordinates of "Sultan Abul-Fateh" Ghiyāṣ-ud-din Muhammad bin Sām, Sultan of the Ghurid Empire, of whom they were related, and then as vassal princes within the Mongol Empire. <P1-S2>  Upon the fragmentation of the Ilkhanate in 1335, Mu'izz-uddin Husayn ibn Ghiyath-uddin worked to expand his principality. <P1-S3>  The death of Husayn b. Ghiyath-uddin in 1370 and the invasion of Timur in 1381, ended the Kurt dynasty's ambitions. <SEP> <P2-S0> Shams-uddin Muhammad was the second malik of the Kurt dynasty. <P2-S1>  He ruled from 1245 until his death 1278. <SEP> <P3-S0> 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). <P3-S1>  From the male part they descend from the Bellonids, the descendants of Wifred the Hairy. <P3-S2>  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. <P3-S3>  Cadet branches of the house continued to rule Urgell (since 992) and Gandia. <P3-S4>  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. <P3-S5>  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.