Please read the following table in Markdown format and then answer the question according to the table. Table cells in one row are seperated by '|', and different rows are seperated by '
'.

Table:
| Name | Birth | Marriages | Death |
| --- | --- | --- | --- |
| James I\n1231–1276 | 2 February 1208\nMontpellier\nson of Peter II of Aragon and Marie of Montpellier | Eleanor\n1221\n1 child\n\nViolant of Hungary\n1235\n10 children\n\nTeresa Gil de Vidaure\n2 children | 27 July 1276\nValencia\naged 68 |
| James II\n1276–1286\n(first rule) | 1243\nMontpellier\nson of James I of Aragon and Violant of Hungary | Esclaramunda of Foix\n1275\n6 children | 1311\nPalma de Mallorca\naged 68 |
| Alfonso I\n1286–1291 | 1265\nValencia\nson of Peter III of Aragon and Constance of Sicily | unmarried | 18 June 1291\nBarcelona\naged 27 |
| James III\n1291–1295 | 10 August 1267\nValencia\nson of Peter III and Constance of Sicily | Isabella of Castile\n1 December 1291\nNo children\n\nBlanche of Anjou\n29 October 1295\n10 children\n\nMarie de Lusignan\n15 June 1315\nNo children\n\nElisenda de Montcada\n25 December 1322\nNo children | 5 November 1327\nBarcelona\naged 60 |
| James II\n1295–1311\n(second rule) | 1243\nMontpellier\nson of James I of Aragon and Violant of Hungary | Esclaramunda of Foix\n1275\n6 children | 1311\nPalma de Mallorca\naged 68 |
| Sancho\n1311–1324 | 1276\nson of James II of Majorca and Esclaramunda of Foix | Maria of Naples\n20 September 1304\nNo children | 4 September 1324\nFormiguera\naged 48 |
| James III of Majorca\n1324–1344 | 5 April 1315\nCatania\nson of Ferdinand of Majorca and Isabelle of Sabran | Constance of Aragon\n2 children\n\nViolant of Vilaragut\n10 November 1347\n1 child | 25 October 1349\nLlucmajor\naged 34 |
Question:
which monarch had the most marriages?
Answer:
James III 1291-1295