Question: Which dynasty ruled longer? Passage 1:The 7th century Nayanar saints Sambandar and Appar wrote of the temple in their poetic work, Tevaram. The original masonry and towers date back to the 9th century CE, as seen from an inscription in the structure made by Chola kings. The Chola kings ruled over the region for more than four centuries, from 850 CE to 1280 CE, and were temple patrons. The temple complex dates from the time of the 10th century AD Medieval Chola king Uttama Chola whose inscriptions are found in its walls. An inscription dated to the fifteenth year of Raja Raja Chola makes a reference to "Panchavanmahadevi chaturvedimanagalam", which is another name for Nallur. There are also inscription by Later Chola kings and by Hoysala monarchs. The inscriptions from the Chola kings record various gifts like land, sheep, cow and oil to the temple commemorating various victories of the dynasty. There are lot of inscriptions from the Sangama Dynasty (1336–1485 CE), Saluva Dynasty, and Tuluva Dynasty (1491–1570 CE) of the Vijayanagara Empire, reflecting gifts to the temple from their rulers. The majority of the gift related inscriptions are for land endownments, followed by goods, cash endowments, cows and oil for lighting lamps. The temple has been maintained by the Thiruvaduthurai Adheenam from the early part of the 13th century.
 Passage 2:For the lead roles, Christopher Meloni was cast as Detective Elliot Stabler and Mariska Hargitay was cast as Detective Olivia Benson after they auditioned together. Hargitay, who had to move from Los Angeles to New York when she got the role, said she was able to do this on short notice because she was already planning on moving to New York to pursue a Broadway career. The squad commander role was filled by Dann Florek, who had portrayed Captain Don Cragen for the first three seasons on the original Law & Order and later reprised his role in . He joined the cast on the condition that he not be asked to audition. Richard Belzer was cast as Detective John Munch, continuing his role from the series . In Belzer's words, he was cast because "Dick Wolf and Tom Fontana got drunk at a party". Halfway through the season, Richard Belzer reprised his role of Munch in , which briefly shows his character out on a case in his SVU context in New York. At Belzer's insistence, his character was partnered with Brian Cassidy, who was portrayed by Dean Winters. However, Winters' contractual obligation to the HBO series Oz forced him to leave halfway through the season. Michelle Hurd, who portrayed Detective Monique Jeffries, filled Winters' void for the remainder of the season, and was at that point added to the main credits.
 Passage 3:The old name forms of Waldböckelheim (now a neighbouring municipality), Schloßböckelheim and Talböckelheim (now an outlying centre), can be traced back to an 824 document that names . The name Schloßböckelheim first cropped up only in the 17th century. In the 19th century, the name Thalböckelheim first came to light. On 1 November 1910, municipal council agreed to introduce Schloßböckelheim as the municipality's name. The name Talböckelheim seems to have had its spelling changed in line with the spelling reforms over the years; it is now written without the first H, but the name Schloßböckelheim itself has not been changed in the wake of the German orthography reform of 1996; the ß has not been changed to SS. The three prefixes that serve to distinguish the three centres whose names are otherwise the same are all standard German words with well understood meanings: Wald (“forest”); Schloß (or Schloss in up-to-date spelling; “castle/palace”); Tal (“dale/valley”). The village chronicle has this to say about the village's name:Until the beginning of the last century (meant here is the 19th century) the village was named after the castle Schloßböckelheim, which still existed in the 17th century. The castle was destroyed by the French in 1688. The village of Thalböckelheim consists of the two constituent centres of Thalböckelheim and Schloßböckelheim: Schloßböckelheim with the ruin of Castle Böckelheim lies on the mountainside and the constituent centre of Thalböckelheim lies 0.5 km away down in the dale. Both constituent centres have roughly the same population figure. The village’s name was changed in quite a peculiar way. In the early part of the last century, in response to an inquiry by the authorities as to what the village was called, because it consisted of two constituent centres, the name Thalböckelheim was given by the then Schöffe (roughly “lay jurist”). The Schöffe lived in the constituent centre of Thalböckelheim and a certain selfishness on his part made him want to call the village Thalböckelheim, without regard to the historical importance of the constituent centre of Schloßböckelheim. None of the locally customary rural cadastral names had to do with the name Thalböckelheim, but rather they were named after Schloßböckelheim, like Schloßböckelheimer Mühlberg, Schloßböckelheimer Felsenberg, Schloßböckelheimer Kupfergrube and so on. Wines had earned quite an important reputation as Schloßböckelheimer in the wine trade, whereas Thalböckelheim never cropped up in the wine trade. Municipal council asked on these grounds to have the historical name Schloßböckelheim reinstated, as it was already well known throughout Germany for Emperor Heinrich IV’s imprisonment at Castle Böckelheim (1105).Also given as grounds for the reversion to the older name was the name's recognizability in winegrowing and the wine trade. A decree made on 22 April 1911 approved the municipality's application. Since this time, the two constituent centres of Thalböckelheim and Schloßböckelheim have been united under the collective name “Schloßböckelheim”. Among the places in the middle Naheraum (regions flanking the Nahe), Schloßböckelheim belongs among those places that were already often being mentioned in the Middle Ages. Castle Böckelheim, built on what was to become Schloßböckelheim's municipal area, was among the oldest in the region. Generally regarded as the village's first documentary mention is a document from 16 February 824. Late in 1105, Emperor Heinrich V, the last of the Salian dynasty, had his father, Emperor Heinrich IV taken prisoner in Ingelheim and then brought to Castle Böckelheim to be held prisoner there. In 1688, the Nine Years' War (known in Germany as the Pfälzischer Erbfolgekrieg, or War of the Palatine Succession) broke out. That year, the castle was destroyed on French orders.

Output: 1