<?xml version="1.0" encoding="UTF-8"?>
<dataset name="capital_city_changes" title="Capital cities through history, with dates" source="https://aidb.si/d/capital-city-changes">
  <row>
    <id>Q3652371-C16A6A1E-2060-45BB-B2E7-122AF9B60300</id>
    <country_name>Abasgia</country_name>
    <country_wikidata>Q3652371</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Anacopia Fortress</capital>
    <capital_wikidata>Q2026789</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>43.0944</lat>
    <lon>40.8078</lon>
  </row>
  <row>
    <id>q12536-964bbe5f-42dc-90ac-bfd2-5add659c4e31</id>
    <country_name>Abbasid Caliphate</country_name>
    <country_wikidata>Q12536</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Hashimiyya</capital>
    <capital_wikidata>Q68169717</capital_wikidata>
    <from>0750</from>
    <until>0763</until>
    <from_year>750</from_year>
    <until_year>763</until_year>
    <years_as_capital>13</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
  </row>
  <row>
    <id>Q12536-EBF2D1C0-F69F-4736-96E9-E8A1F0B2771D</id>
    <country_name>Abbasid Caliphate</country_name>
    <country_wikidata>Q12536</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Baghdad</capital>
    <capital_wikidata>Q1530</capital_wikidata>
    <from>0763</from>
    <until>0836</until>
    <from_year>763</from_year>
    <until_year>836</until_year>
    <years_as_capital>73</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>33.3153</lat>
    <lon>44.3661</lon>
  </row>
  <row>
    <id>q12536-4ab5c472-411c-f75c-3630-8fdcbf6eccfc</id>
    <country_name>Abbasid Caliphate</country_name>
    <country_wikidata>Q12536</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Samarra</capital>
    <capital_wikidata>Q170047</capital_wikidata>
    <from>0836</from>
    <until>0892</until>
    <from_year>836</from_year>
    <until_year>892</until_year>
    <years_as_capital>56</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>34.1959</lat>
    <lon>43.8857</lon>
  </row>
  <row>
    <id>Q12536-F85A7661-954F-47D8-A010-93EE75274EBF</id>
    <country_name>Abbasid Caliphate</country_name>
    <country_wikidata>Q12536</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Baghdad</capital>
    <capital_wikidata>Q1530</capital_wikidata>
    <from>0892</from>
    <until>1258</until>
    <from_year>892</from_year>
    <until_year>1258</until_year>
    <years_as_capital>366</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>33.3153</lat>
    <lon>44.3661</lon>
  </row>
  <row>
    <id>Q12536-917b9239-49e9-95f0-b657-203f8fc87a7a</id>
    <country_name>Abbasid Caliphate</country_name>
    <country_wikidata>Q12536</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Cairo</capital>
    <capital_wikidata>Q85</capital_wikidata>
    <from>1261</from>
    <until>1517</until>
    <from_year>1261</from_year>
    <until_year>1517</until_year>
    <years_as_capital>256</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>30.0444</lat>
    <lon>31.2358</lon>
  </row>
  <row>
    <id>Q4667453-9ba22c6b-4824-7359-42f4-6c7aca31e99d</id>
    <country_name>Abhira Kingdom</country_name>
    <country_wikidata>Q4667453</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Trikuta</capital>
    <capital_wikidata>Q7841970</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
  </row>
  <row>
    <id>Q1061057-12F250E3-02DB-4F6B-8853-F0CE0BDF84B3</id>
    <country_name>Aceh Sultanate</country_name>
    <country_wikidata>Q1061057</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Banda Aceh</capital>
    <capital_wikidata>Q5779</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>5.55</lat>
    <lon>95.3175</lon>
  </row>
  <row>
    <id>Q389688-5d546403-4f38-06b2-6710-3eeeaf8a254f</id>
    <country_name>Achaemenid Empire</country_name>
    <country_wikidata>Q389688</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Babylon</capital>
    <capital_wikidata>Q5684</capital_wikidata>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>32.5425</lat>
    <lon>44.4211</lon>
  </row>
  <row>
    <id>Q389688-7df4cfe3-4352-9ffc-b816-e659a5c40382</id>
    <country_name>Achaemenid Empire</country_name>
    <country_wikidata>Q389688</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ecbatana</capital>
    <capital_wikidata>Q696193</capital_wikidata>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>34.8065</lat>
    <lon>48.5163</lon>
  </row>
  <row>
    <id>Q389688-9efb345f-4990-b0cc-53fd-723f4111f6ec</id>
    <country_name>Achaemenid Empire</country_name>
    <country_wikidata>Q389688</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Susa</capital>
    <capital_wikidata>Q180773</capital_wikidata>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>32.1894</lat>
    <lon>48.2561</lon>
  </row>
  <row>
    <id>Q389688-b8712a64-45eb-3a9f-7b7f-f82a5de65180</id>
    <country_name>Achaemenid Empire</country_name>
    <country_wikidata>Q389688</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Pasargadae</capital>
    <capital_wikidata>Q230025</capital_wikidata>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>30.2</lat>
    <lon>53.1794</lon>
  </row>
  <row>
    <id>Q389688-d9795806-4f53-2faa-6e21-200879bc1f05</id>
    <country_name>Achaemenid Empire</country_name>
    <country_wikidata>Q389688</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Persepolis</capital>
    <capital_wikidata>Q129072</capital_wikidata>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>29.935</lat>
    <lon>52.89</lon>
  </row>
  <row>
    <id>Q2365048-345AB188-D144-4680-A835-A291A048088F</id>
    <country_name>Adal Sultanate</country_name>
    <country_wikidata>Q2365048</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Zeila</capital>
    <capital_wikidata>Q157800</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>11.3539</lat>
    <lon>43.4739</lon>
  </row>
  <row>
    <id>Q775550-0C6B1B36-999F-4508-869E-8D3929F8BB2C</id>
    <country_name>Adamawa Emirate</country_name>
    <country_wikidata>Q775550</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Yola</capital>
    <capital_wikidata>Q994114</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>9.2</lat>
    <lon>12.4833</lon>
  </row>
  <row>
    <id>q889-25D5F4DB-CDE3-42A9-952A-40CC30612CBD</id>
    <country_name>Afghanistan</country_name>
    <country_wikidata>Q889</country_wikidata>
    <country>AFG</country>
    <state_status>sovereign state</state_status>
    <capital>Kabul</capital>
    <capital_wikidata>Q5838</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>34.5328</lat>
    <lon>69.1658</lon>
  </row>
  <row>
    <id>Q2602572-6bdaf965-440d-9709-57ea-ee5fd80c2a03</id>
    <country_name>Afrighids</country_name>
    <country_wikidata>Q2602572</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Beruniy</capital>
    <capital_wikidata>Q18242285</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.6833</lat>
    <lon>60.75</lon>
  </row>
  <row>
    <id>Q63149558-b8d6c9a8-4567-0dfb-fa00-6c90d96f0a77</id>
    <country_name>Afsharid Iran</country_name>
    <country_wikidata>Q63149558</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mashhad</capital>
    <capital_wikidata>Q121157</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>36.2975</lat>
    <lon>59.6059</lon>
  </row>
  <row>
    <id>Q207600-271d1712-485e-b983-18c8-9015f5a2a6b7</id>
    <country_name>Aghlabids</country_name>
    <country_wikidata>Q207600</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kairouan</capital>
    <capital_wikidata>Q179570</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>35.6833</lat>
    <lon>10.1</lon>
  </row>
  <row>
    <id>Q400998-e42a881d-4a93-fecc-7236-1d4dc48203eb</id>
    <country_name>Ahmadnagar Sultanate</country_name>
    <country_wikidata>Q400998</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ahilyanagar</capital>
    <capital_wikidata>Q223517</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>19.0833</lat>
    <lon>74.7333</lon>
  </row>
  <row>
    <id>Q2308237-D4E56B6A-D139-4EC0-8E1C-7D87261CE591</id>
    <country_name>Ahom Kingdom</country_name>
    <country_wikidata>Q2308237</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Charaideo</capital>
    <capital_wikidata>Q5073874</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>26.933</lat>
    <lon>94.7481</lon>
  </row>
  <row>
    <id>Q412980-f77dd306-446c-b7be-087c-8347314ed2fb</id>
    <country_name>Ajmer-Merwara</country_name>
    <country_wikidata>Q412980</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ajmer</capital>
    <capital_wikidata>Q200049</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>26.468</lat>
    <lon>74.639</lon>
  </row>
  <row>
    <id>Q4461035-8496F1B7-44D5-4327-9E7D-44BF69BEB354</id>
    <country_name>Akkadian Empire</country_name>
    <country_wikidata>Q4461035</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Akkad</capital>
    <capital_wikidata>Q150996</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
  </row>
  <row>
    <id>Q1771706-37bab548-4714-06ec-c5c0-517aef39305c</id>
    <country_name>Alania</country_name>
    <country_wikidata>Q1771706</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Maghas</capital>
    <capital_wikidata>Q4273919</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
  </row>
  <row>
    <id>Q1779823-8b2d2a5a-438f-0a66-0f7f-a1bb7e94b3d0</id>
    <country_name>Alash Autonomy</country_name>
    <country_wikidata>Q1779823</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Semey</capital>
    <capital_wikidata>Q61944</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.4111</lat>
    <lon>80.2275</lon>
  </row>
  <row>
    <id>Q130802-a25d2b47-471b-eac0-6190-c2537c309b65</id>
    <country_name>Alawite State</country_name>
    <country_wikidata>Q130802</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Latakia</capital>
    <capital_wikidata>Q200030</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>35.52</lat>
    <lon>35.7781</lon>
  </row>
  <row>
    <id>q222-10130659-B24B-4A50-B2B1-5E216B3ED30E</id>
    <country_name>Albania</country_name>
    <country_wikidata>Q222</country_wikidata>
    <country>ALB</country>
    <state_status>sovereign state</state_status>
    <capital>Tirana</capital>
    <capital_wikidata>Q19689</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>41.3283</lat>
    <lon>19.8181</lon>
  </row>
  <row>
    <id>Q1048340-933c4b00-46bc-eec2-750e-1c3cc7b7fd04</id>
    <country_name>Albanian Kingdom</country_name>
    <country_wikidata>Q1048340</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tirana</capital>
    <capital_wikidata>Q19689</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.3283</lat>
    <lon>19.8181</lon>
  </row>
  <row>
    <id>Q1923781-35523ae2-4a4c-add3-4ace-5c5926d16e48</id>
    <country_name>Albanian Republic</country_name>
    <country_wikidata>Q1923781</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tirana</capital>
    <capital_wikidata>Q19689</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.3283</lat>
    <lon>19.8181</lon>
  </row>
  <row>
    <id>q262-6497AEEC-6E95-4A0D-9EF8-6057EBB1A001</id>
    <country_name>Algeria</country_name>
    <country_wikidata>Q262</country_wikidata>
    <country>DZA</country>
    <state_status>sovereign state</state_status>
    <capital>Algiers</capital>
    <capital_wikidata>Q3561</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>36.7764</lat>
    <lon>3.0586</lon>
  </row>
  <row>
    <id>Q199688-563b86d4-488d-d9c6-657f-d7e1c30c2dbd</id>
    <country_name>Almohad Caliphate</country_name>
    <country_wikidata>Q199688</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Marrakech</capital>
    <capital_wikidata>Q101625</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>31.6295</lat>
    <lon>-7.9811</lon>
  </row>
  <row>
    <id>Q199688-f68e748a-40cc-b590-f500-8ae57faadb6e</id>
    <country_name>Almohad Caliphate</country_name>
    <country_wikidata>Q199688</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tinmel</capital>
    <capital_wikidata>Q1948981</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>30.9846</lat>
    <lon>-8.2285</lon>
  </row>
  <row>
    <id>Q75613-b200a4d6-4436-e0b0-59be-a6763e15a908</id>
    <country_name>Almoravid dynasty</country_name>
    <country_wikidata>Q75613</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Aghmat</capital>
    <capital_wikidata>Q2826842</capital_wikidata>
    <from>1058</from>
    <until>1070</until>
    <from_year>1058</from_year>
    <until_year>1070</until_year>
    <years_as_capital>12</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>31.4225</lat>
    <lon>-7.8011</lon>
  </row>
  <row>
    <id>Q75613-7ecf6f9e-4e32-1210-f833-75cac70ba1f2</id>
    <country_name>Almoravid dynasty</country_name>
    <country_wikidata>Q75613</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Marrakech</capital>
    <capital_wikidata>Q101625</capital_wikidata>
    <from>1070</from>
    <until>1147</until>
    <from_year>1070</from_year>
    <until_year>1147</until_year>
    <years_as_capital>77</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>31.6295</lat>
    <lon>-7.9811</lon>
  </row>
  <row>
    <id>Q75613-651B694C-9D10-473E-93FC-CAF1543CAEC5</id>
    <country_name>Almoravid dynasty</country_name>
    <country_wikidata>Q75613</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Azougui</capital>
    <capital_wikidata>Q639003</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>20.5662</lat>
    <lon>-13.1055</lon>
  </row>
  <row>
    <id>Q449639-6BC0418A-E0BB-441C-B8D4-F30BB4E317CA</id>
    <country_name>Alodia</country_name>
    <country_wikidata>Q449639</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Soba</capital>
    <capital_wikidata>Q1247214</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>15.524</lat>
    <lon>32.6809</lon>
  </row>
  <row>
    <id>Q481766-ecc85c48-42d4-8e1d-b728-717e8936ed3a</id>
    <country_name>Amurru kingdom</country_name>
    <country_wikidata>Q481766</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tunip</capital>
    <capital_wikidata>Q3326600</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
  </row>
  <row>
    <id>Q2429397-f7e5eb49-467a-15cf-099f-4ca038607e59</id>
    <country_name>Ancient Carthage</country_name>
    <country_wikidata>Q2429397</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Carthage</capital>
    <capital_wikidata>Q6343</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>36.8526</lat>
    <lon>10.3235</lon>
  </row>
  <row>
    <id>Q1747689-32dc8477-478e-a7f4-3eb6-59f2cea67a71</id>
    <country_name>Ancient Rome</country_name>
    <country_wikidata>Q1747689</country_wikidata>
    <state_status>historical state</state_status>
    <capital>ancient Roma</capital>
    <capital_wikidata>Q18287233</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.8922</lat>
    <lon>12.4853</lon>
  </row>
  <row>
    <id>Q1463691-9e64475c-4747-eda5-8e11-12bc57ffce14</id>
    <country_name>Anconine Republic</country_name>
    <country_wikidata>Q1463691</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ancona</capital>
    <capital_wikidata>Q3415</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>43.6167</lat>
    <lon>13.5167</lon>
  </row>
  <row>
    <id>q228-A8889A59-D4C7-43CF-94B8-7CF28057A968</id>
    <country_name>Andorra</country_name>
    <country_wikidata>Q228</country_wikidata>
    <country>AND</country>
    <state_status>sovereign state</state_status>
    <capital>Andorra la Vella</capital>
    <capital_wikidata>Q1863</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>42.5072</lat>
    <lon>1.5222</lon>
  </row>
  <row>
    <id>Q1155818-84408ad3-448f-3e48-a79e-66ef7cde06aa</id>
    <country_name>Anga Kingdom</country_name>
    <country_wikidata>Q1155818</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Champapuri</capital>
    <capital_wikidata>Q5069932</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>25.2374</lat>
    <lon>86.9417</lon>
  </row>
  <row>
    <id>Q83536-1919e7dd-4838-7629-7f57-b695e0309d05</id>
    <country_name>Anglo-Corsican Kingdom</country_name>
    <country_wikidata>Q83536</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Corte</capital>
    <capital_wikidata>Q213555</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>42.3056</lat>
    <lon>9.1506</lon>
  </row>
  <row>
    <id>Q83536-962ddbbb-4c2a-e75d-f701-b9b407507b8e</id>
    <country_name>Anglo-Corsican Kingdom</country_name>
    <country_wikidata>Q83536</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bastia</capital>
    <capital_wikidata>Q134698</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>42.7</lat>
    <lon>9.4494</lon>
  </row>
  <row>
    <id>Q541455-55142CA0-12CE-41FE-9FCB-DA258B8C83C5</id>
    <country_name>Anglo-Egyptian Sudan</country_name>
    <country_wikidata>Q541455</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Khartoum</capital>
    <capital_wikidata>Q1963</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>15.6031</lat>
    <lon>32.5265</lon>
  </row>
  <row>
    <id>q916-6B20E52E-F10E-42C9-9667-2AD6F0E671F3</id>
    <country_name>Angola</country_name>
    <country_wikidata>Q916</country_wikidata>
    <country>AGO</country>
    <state_status>sovereign state</state_status>
    <capital>Luanda</capital>
    <capital_wikidata>Q3897</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>-8.815</lat>
    <lon>13.23</lon>
  </row>
  <row>
    <id>Q686965-aeae4a5a-4e91-44e6-b178-9ed59edb1d28</id>
    <country_name>Anhalt-Bernburg</country_name>
    <country_wikidata>Q686965</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bernburg</capital>
    <capital_wikidata>Q14938</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.8</lat>
    <lon>11.7333</lon>
  </row>
  <row>
    <id>Q1843786-d10fe1cd-4545-8519-11c3-01e15b39e6ed</id>
    <country_name>Anhalt-Bernburg-Schaumburg-Hoym</country_name>
    <country_wikidata>Q1843786</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Hoym</capital>
    <capital_wikidata>Q703487</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.7847</lat>
    <lon>11.3125</lon>
  </row>
  <row>
    <id>Q278874-053D31A7-8639-41CB-938F-ACF2611E936C</id>
    <country_name>Anhalt-Dessau</country_name>
    <country_wikidata>Q278874</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Dessau</capital>
    <capital_wikidata>Q487070</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.8342</lat>
    <lon>12.2461</lon>
  </row>
  <row>
    <id>Q538636-A17263A3-E751-4C9E-B15C-0B6A4B975687</id>
    <country_name>Ankole</country_name>
    <country_wikidata>Q538636</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mbarara City</capital>
    <capital_wikidata>Q731039</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-0.6133</lat>
    <lon>30.6583</lon>
  </row>
  <row>
    <id>q781-E19ECD89-9864-41E2-92C2-693DD93B45BE</id>
    <country_name>Antigua and Barbuda</country_name>
    <country_wikidata>Q781</country_wikidata>
    <country>ATG</country>
    <state_status>sovereign state</state_status>
    <capital>St. John's</capital>
    <capital_wikidata>Q36262</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>17.1211</lat>
    <lon>-61.8447</lon>
  </row>
  <row>
    <id>Q1965597-002a1ae6-4b53-898c-b8fb-56aaadce1510</id>
    <country_name>Anuradhapura Kingdom</country_name>
    <country_wikidata>Q1965597</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Anuradhapura</capital>
    <capital_wikidata>Q5724</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>8.335</lat>
    <lon>80.4108</lon>
  </row>
  <row>
    <id>Q555994-1013d472-4075-879b-3cd5-7de57f5e3e16</id>
    <country_name>Aq Qoyunlu</country_name>
    <country_wikidata>Q555994</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tabriz</capital>
    <capital_wikidata>Q80053</capital_wikidata>
    <until>1501</until>
    <until_year>1501</until_year>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>38.0739</lat>
    <lon>46.2961</lon>
  </row>
  <row>
    <id>Q555994-558cb46a-4c7f-7f54-4f03-6a2b89dd1093</id>
    <country_name>Aq Qoyunlu</country_name>
    <country_wikidata>Q555994</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Baghdad</capital>
    <capital_wikidata>Q1530</capital_wikidata>
    <until>1508</until>
    <until_year>1508</until_year>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>33.3153</lat>
    <lon>44.3661</lon>
  </row>
  <row>
    <id>Q555994-9445B976-D9CA-43BC-9A3E-81EFA195CB40</id>
    <country_name>Aq Qoyunlu</country_name>
    <country_wikidata>Q555994</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Diyarbakır</capital>
    <capital_wikidata>Q83387</capital_wikidata>
    <until>1468</until>
    <until_year>1468</until_year>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>37.9108</lat>
    <lon>40.2367</lon>
  </row>
  <row>
    <id>Q146713-8de2dd97-41b1-53bf-22b3-d0548582cf97</id>
    <country_name>Arab Federation</country_name>
    <country_wikidata>Q146713</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Baghdad</capital>
    <capital_wikidata>Q1530</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>33.3153</lat>
    <lon>44.3661</lon>
  </row>
  <row>
    <id>Q146600-348cb731-4c8e-fc4a-ca08-e77fb4500132</id>
    <country_name>Arab Kingdom of Syria</country_name>
    <country_wikidata>Q146600</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Damascus</capital>
    <capital_wikidata>Q3766</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>33.5131</lat>
    <lon>36.2919</lon>
  </row>
  <row>
    <id>Q625649-9052cf08-461e-40f5-9c07-5f8a2295ff70</id>
    <country_name>Aram-Damascus</country_name>
    <country_wikidata>Q625649</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Damascus</capital>
    <capital_wikidata>Q3766</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>33.5131</lat>
    <lon>36.2919</lon>
  </row>
  <row>
    <id>Q699964-091fb8b7-4f84-0301-77cd-47632d635d35</id>
    <country_name>Archduchy of Austria</country_name>
    <country_wikidata>Q699964</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vienna</capital>
    <capital_wikidata>Q1741</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.2083</lat>
    <lon>16.3725</lon>
  </row>
  <row>
    <id>Q638522-88e09c4f-49ea-5542-b9df-b1dc4f511341</id>
    <country_name>Ardalan</country_name>
    <country_wikidata>Q638522</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sanandaj</capital>
    <capital_wikidata>Q272093</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>35.3097</lat>
    <lon>46.9989</lon>
  </row>
  <row>
    <id>q414-2CE9BB47-00C8-42FB-B226-ED8BF814C226</id>
    <country_name>Argentina</country_name>
    <country_wikidata>Q414</country_wikidata>
    <country>ARG</country>
    <state_status>sovereign state</state_status>
    <capital>Buenos Aires</capital>
    <capital_wikidata>Q1486</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>-34.5997</lat>
    <lon>-58.3819</lon>
  </row>
  <row>
    <id>q399-C446B83C-C33B-4492-BABA-A2C17BFACEB9</id>
    <country_name>Armenia</country_name>
    <country_wikidata>Q399</country_wikidata>
    <country>ARM</country>
    <state_status>sovereign state</state_status>
    <capital>Yerevan</capital>
    <capital_wikidata>Q1953</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>40.1814</lat>
    <lon>44.5144</lon>
  </row>
  <row>
    <id>Q335088-14A4620D-BF78-44A7-8DF8-7FE43B13EE7C</id>
    <country_name>Armenian Kingdom of Cilicia</country_name>
    <country_wikidata>Q335088</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tarsus</capital>
    <capital_wikidata>Q134287</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>36.9167</lat>
    <lon>34.9</lon>
  </row>
  <row>
    <id>Q335088-a6be1887-488b-1962-16e9-26b584d6b09f</id>
    <country_name>Armenian Kingdom of Cilicia</country_name>
    <country_wikidata>Q335088</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kozan</capital>
    <capital_wikidata>Q926426</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>37.4507</lat>
    <lon>35.8124</lon>
  </row>
  <row>
    <id>Q132856-003ae035-4d4d-0d15-7d11-9b87ce9e6e1f</id>
    <country_name>Armenian Soviet Socialist Republic</country_name>
    <country_wikidata>Q132856</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Yerevan</capital>
    <capital_wikidata>Q1953</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>40.1814</lat>
    <lon>44.5144</lon>
  </row>
  <row>
    <id>Q761370-7F426D1B-3E94-481B-A136-AA80252B97D1</id>
    <country_name>Aro Confederacy</country_name>
    <country_wikidata>Q761370</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Arochukwu</capital>
    <capital_wikidata>Q965036</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>5.3845</lat>
    <lon>7.8867</lon>
  </row>
  <row>
    <id>Q1133431-5168d9b5-411d-56cd-b338-9ada3c47fb09</id>
    <country_name>Artuqids</country_name>
    <country_wikidata>Q1133431</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Hasankeyf</capital>
    <capital_wikidata>Q756957</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>37.7306</lat>
    <lon>41.4161</lon>
  </row>
  <row>
    <id>Q1133431-1e2cf007-4b17-51cb-6d4d-2ca8e8d36830</id>
    <country_name>Artuqids</country_name>
    <country_wikidata>Q1133431</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Diyarbakır</capital>
    <capital_wikidata>Q83387</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>37.9108</lat>
    <lon>40.2367</lon>
  </row>
  <row>
    <id>Q722071-975155e3-4f02-e349-ccef-ea78ced5f3e1</id>
    <country_name>Ashanti Empire</country_name>
    <country_wikidata>Q722071</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kumasi</capital>
    <capital_wikidata>Q182059</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>6.7</lat>
    <lon>-1.625</lon>
  </row>
  <row>
    <id>Q1154406-95ad82fa-434d-0026-d7d1-1f32e0aee35b</id>
    <country_name>Ashikaga shogunate</country_name>
    <country_wikidata>Q1154406</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Heian-kyō</capital>
    <capital_wikidata>Q751907</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>35</lat>
    <lon>135.7667</lon>
  </row>
  <row>
    <id>Q41137-3e009291-4156-4678-26ba-3905bf7fbb5c</id>
    <country_name>Assyrian Empire</country_name>
    <country_wikidata>Q41137</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kar-Tukulti-Ninurta</capital>
    <capital_wikidata>Q165841</capital_wikidata>
    <current>false</current>
    <capitals_count>9</capitals_count>
    <lat>35.4958</lat>
    <lon>43.2694</lon>
  </row>
  <row>
    <id>Q41137-5181c5a6-40b6-ed38-6a28-3628967f28c5</id>
    <country_name>Assyrian Empire</country_name>
    <country_wikidata>Q41137</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Carchemish</capital>
    <capital_wikidata>Q283680</capital_wikidata>
    <current>false</current>
    <capitals_count>9</capitals_count>
    <lat>36.8297</lat>
    <lon>38.015</lon>
  </row>
  <row>
    <id>Q41137-7b28ade4-4b25-3c8a-1674-4468460eee2b</id>
    <country_name>Assyrian Empire</country_name>
    <country_wikidata>Q41137</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Dur-Sharrukin</capital>
    <capital_wikidata>Q253208</capital_wikidata>
    <current>false</current>
    <capitals_count>9</capitals_count>
    <lat>36.5095</lat>
    <lon>43.2293</lon>
  </row>
  <row>
    <id>Q41137-9a09a334-4ba1-4987-f810-a7a6793728e8</id>
    <country_name>Assyrian Empire</country_name>
    <country_wikidata>Q41137</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Assur</capital>
    <capital_wikidata>Q200200</capital_wikidata>
    <current>false</current>
    <capitals_count>9</capitals_count>
    <lat>35.4567</lat>
    <lon>43.2625</lon>
  </row>
  <row>
    <id>Q41137-ca288f19-4253-dfad-b880-ed2cfb24aea6</id>
    <country_name>Assyrian Empire</country_name>
    <country_wikidata>Q41137</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Harran</capital>
    <capital_wikidata>Q199547</capital_wikidata>
    <current>false</current>
    <capitals_count>9</capitals_count>
    <lat>36.8708</lat>
    <lon>39.025</lon>
  </row>
  <row>
    <id>Q41137-d259fcc5-482b-25a8-d0b9-d18dd6901a65</id>
    <country_name>Assyrian Empire</country_name>
    <country_wikidata>Q41137</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ekallatum</capital>
    <capital_wikidata>Q1194737</capital_wikidata>
    <current>false</current>
    <capitals_count>9</capitals_count>
  </row>
  <row>
    <id>Q41137-d2a85ee8-42bc-25a6-5501-d366aed0448c</id>
    <country_name>Assyrian Empire</country_name>
    <country_wikidata>Q41137</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nineveh</capital>
    <capital_wikidata>Q5680</capital_wikidata>
    <current>false</current>
    <capitals_count>9</capitals_count>
    <lat>36.3667</lat>
    <lon>43.15</lon>
  </row>
  <row>
    <id>Q41137-daf52475-44b8-6e10-b1ee-c51028017152</id>
    <country_name>Assyrian Empire</country_name>
    <country_wikidata>Q41137</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nimrud</capital>
    <capital_wikidata>Q237614</capital_wikidata>
    <current>false</current>
    <capitals_count>9</capitals_count>
    <lat>36.0981</lat>
    <lon>43.3289</lon>
  </row>
  <row>
    <id>Q41137-f7d0ebad-49d0-a47b-6b97-ff653dcc4520</id>
    <country_name>Assyrian Empire</country_name>
    <country_wikidata>Q41137</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tell Leilan</capital>
    <capital_wikidata>Q588192</capital_wikidata>
    <current>false</current>
    <capitals_count>9</capitals_count>
    <lat>36.9572</lat>
    <lon>41.5053</lon>
  </row>
  <row>
    <id>Q210163-ABF18804-87AD-4E46-B298-3508EFCC3C4C</id>
    <country_name>Astrakhan Khanate</country_name>
    <country_wikidata>Q210163</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Xacitarxan</capital>
    <capital_wikidata>Q2477836</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>46.4411</lat>
    <lon>47.9703</lon>
  </row>
  <row>
    <id>Q260437-58573B25-3EF5-43F0-9A35-EF42A68DBCE2</id>
    <country_name>Atropatene</country_name>
    <country_wikidata>Q260437</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ganzak</capital>
    <capital_wikidata>Q2607082</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>37.0116</lat>
    <lon>46.1932</lon>
  </row>
  <row>
    <id>Q260437-680e1e0d-49ff-34ae-aa24-944948bf25e2</id>
    <country_name>Atropatene</country_name>
    <country_wikidata>Q260437</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ardabil</capital>
    <capital_wikidata>Q180103</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>38.25</lat>
    <lon>48.3</lon>
  </row>
  <row>
    <id>Q791787-c0888b48-4319-9423-da0d-ff0b5922e9b3</id>
    <country_name>Aussa Sultanate</country_name>
    <country_wikidata>Q791787</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Asaita</capital>
    <capital_wikidata>Q720557</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>11.5667</lat>
    <lon>41.4333</lon>
  </row>
  <row>
    <id>Q408-55c20d53-4fbc-4a10-2b2d-e7b7b9e16811</id>
    <country_name>Australia</country_name>
    <country_wikidata>Q408</country_wikidata>
    <country>AUS</country>
    <state_status>sovereign state</state_status>
    <capital>Melbourne</capital>
    <capital_wikidata>Q3141</capital_wikidata>
    <from>1901-01-01</from>
    <until>1927-05-09</until>
    <from_year>1901</from_year>
    <until_year>1927</until_year>
    <years_as_capital>26</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>-37.8142</lat>
    <lon>144.9631</lon>
  </row>
  <row>
    <id>q408-0A27874B-64AE-4798-A26A-1CC6011516BF</id>
    <country_name>Australia</country_name>
    <country_wikidata>Q408</country_wikidata>
    <country>AUS</country>
    <state_status>sovereign state</state_status>
    <capital>Canberra</capital>
    <capital_wikidata>Q3114</capital_wikidata>
    <from>1927-05-09</from>
    <from_year>1927</from_year>
    <current>true</current>
    <capitals_count>2</capitals_count>
    <lat>-35.2931</lat>
    <lon>149.1269</lon>
  </row>
  <row>
    <id>Q105098-df7e6a6b-4f60-de78-523c-2d5fc09dc375</id>
    <country_name>Austrasia</country_name>
    <country_wikidata>Q105098</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Metz</capital>
    <capital_wikidata>Q22690</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>49.1197</lat>
    <lon>6.1769</lon>
  </row>
  <row>
    <id>q40-5FCB125A-CAA5-4351-82AD-4ABD595E7A98</id>
    <country_name>Austria</country_name>
    <country_wikidata>Q40</country_wikidata>
    <country>AUT</country>
    <state_status>sovereign state</state_status>
    <capital>Vienna</capital>
    <capital_wikidata>Q1741</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>48.2083</lat>
    <lon>16.3725</lon>
  </row>
  <row>
    <id>Q131964-75E5ADBE-9C55-4E73-A5C0-DB9521F8C30B</id>
    <country_name>Austrian Empire</country_name>
    <country_wikidata>Q131964</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vienna</capital>
    <capital_wikidata>Q1741</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.2083</lat>
    <lon>16.3725</lon>
  </row>
  <row>
    <id>Q28513-1C2E3D02-E03E-4AAB-BD6C-86611DAAA552</id>
    <country_name>Austria–Hungary</country_name>
    <country_wikidata>Q28513</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vienna</capital>
    <capital_wikidata>Q1741</capital_wikidata>
    <current>false</current>
    <role>Cisleithania</role>
    <capitals_count>2</capitals_count>
    <lat>48.2083</lat>
    <lon>16.3725</lon>
  </row>
  <row>
    <id>Q28513-8c385993-4f47-81f4-5ca9-a8f62acb5ade</id>
    <country_name>Austria–Hungary</country_name>
    <country_wikidata>Q28513</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Budapest</capital>
    <capital_wikidata>Q1781</capital_wikidata>
    <current>false</current>
    <role>Lands of the Crown of Saint Stephen</role>
    <capitals_count>2</capitals_count>
    <lat>47.4983</lat>
    <lon>19.0408</lon>
  </row>
  <row>
    <id>Q1028133-EFE9CE4D-E189-46FE-8187-946BA67A093B</id>
    <country_name>Autonomous Albanian Republic of Korçë</country_name>
    <country_wikidata>Q1028133</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Korçë</capital>
    <capital_wikidata>Q116341</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>40.6167</lat>
    <lon>20.7667</lon>
  </row>
  <row>
    <id>Q4056388-84167f95-4845-ad1b-74f3-59d36258e176</id>
    <country_name>Autonomous Government of Inner Mongolia</country_name>
    <country_wikidata>Q4056388</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ulanhot</capital>
    <capital_wikidata>Q1000383</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>46.0726</lat>
    <lon>122.0719</lon>
  </row>
  <row>
    <id>Q192262-a1628432-4299-bfc5-6386-42e286942e27</id>
    <country_name>Autonomous Province of Western Bosnia</country_name>
    <country_wikidata>Q192262</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Velika Kladuša</capital>
    <capital_wikidata>Q994287</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>45.1667</lat>
    <lon>15.8</lon>
  </row>
  <row>
    <id>Q730163-59E4B38F-CB4B-458F-B291-836156EC49C2</id>
    <country_name>Autonomous Republic of Northern Epirus</country_name>
    <country_wikidata>Q730163</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Gjirokastër</capital>
    <capital_wikidata>Q173690</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>40.0758</lat>
    <lon>20.1389</lon>
  </row>
  <row>
    <id>Q4250299-f2433443-4d14-103d-c5b0-547292631144</id>
    <country_name>Autonomous Turkish Cypriot Administration</country_name>
    <country_wikidata>Q4250299</country_wikidata>
    <state_status>historical state</state_status>
    <capital>North Nicosia</capital>
    <capital_wikidata>Q2762100</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>35.19</lat>
    <lon>33.3636</lon>
  </row>
  <row>
    <id>Q2500952-93d860cf-46a0-4ccb-27b2-20852277f443</id>
    <country_name>Ava Kingdom</country_name>
    <country_wikidata>Q2500952</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Inwa</capital>
    <capital_wikidata>Q2199759</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>21.8578</lat>
    <lon>95.985</lon>
  </row>
  <row>
    <id>Q4827705-2FCDCEAB-FA64-4279-A8DD-FD070923568E</id>
    <country_name>Avanti</country_name>
    <country_wikidata>Q4827705</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ujjain</capital>
    <capital_wikidata>Q200119</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>23.1828</lat>
    <lon>75.7772</lon>
  </row>
  <row>
    <id>Q2450154-6bc00394-431b-bf9a-1657-ba0092d627e9</id>
    <country_name>Avar Khanate</country_name>
    <country_wikidata>Q2450154</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Khunzakh</capital>
    <capital_wikidata>Q2667578</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>42.5457</lat>
    <lon>46.7073</lon>
  </row>
  <row>
    <id>Q841364-d0f8505a-4184-91ae-b95e-24a3e89868db</id>
    <country_name>Ayutthaya Kingdom</country_name>
    <country_wikidata>Q841364</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Historic City of Ayutthaya</capital>
    <capital_wikidata>Q111905239</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>14.3478</lat>
    <lon>100.5606</lon>
  </row>
  <row>
    <id>Q63135869-570e3f0a-4e9f-bee6-5713-06041f7514e5</id>
    <country_name>Ayyubid Sultanate</country_name>
    <country_wikidata>Q63135869</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Cairo</capital>
    <capital_wikidata>Q85</capital_wikidata>
    <from>1171</from>
    <until>1174</until>
    <from_year>1171</from_year>
    <until_year>1174</until_year>
    <years_as_capital>3</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>30.0444</lat>
    <lon>31.2358</lon>
  </row>
  <row>
    <id>Q63135869-00dad15e-498b-ca29-6372-2936af0ffec7</id>
    <country_name>Ayyubid Sultanate</country_name>
    <country_wikidata>Q63135869</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Damascus</capital>
    <capital_wikidata>Q3766</capital_wikidata>
    <from>1174</from>
    <until>1218</until>
    <from_year>1174</from_year>
    <until_year>1218</until_year>
    <years_as_capital>44</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>33.5131</lat>
    <lon>36.2919</lon>
  </row>
  <row>
    <id>Q63135869-46ab0cdd-4535-ea2b-d5fc-fe9dbca5f38f</id>
    <country_name>Ayyubid Sultanate</country_name>
    <country_wikidata>Q63135869</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Cairo</capital>
    <capital_wikidata>Q85</capital_wikidata>
    <from>1218</from>
    <until>1250</until>
    <from_year>1218</from_year>
    <until_year>1250</until_year>
    <years_as_capital>32</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>30.0444</lat>
    <lon>31.2358</lon>
  </row>
  <row>
    <id>Q63135869-c36f49b0-47ff-a4fc-1f38-5f156106bfef</id>
    <country_name>Ayyubid Sultanate</country_name>
    <country_wikidata>Q63135869</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Aleppo</capital>
    <capital_wikidata>Q41183</capital_wikidata>
    <from>1250</from>
    <until>1260</until>
    <from_year>1250</from_year>
    <until_year>1260</until_year>
    <years_as_capital>10</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>36.2</lat>
    <lon>37.16</lon>
  </row>
  <row>
    <id>Q180114-9D045BAF-D612-43B8-A0EA-BACA186E20E7</id>
    <country_name>Ayyubid dynasty</country_name>
    <country_wikidata>Q180114</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Cairo</capital>
    <capital_wikidata>Q85</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>30.0444</lat>
    <lon>31.2358</lon>
  </row>
  <row>
    <id>Q2506068-C16DA955-70D3-40A7-A04B-481F3DD68FE2</id>
    <country_name>Azadistan</country_name>
    <country_wikidata>Q2506068</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tabriz</capital>
    <capital_wikidata>Q80053</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>38.0739</lat>
    <lon>46.2961</lon>
  </row>
  <row>
    <id>Q796651-f6bc078e-4995-4f91-3bf4-83f3ccf6fd44</id>
    <country_name>Azcapotzalco</country_name>
    <country_wikidata>Q796651</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mexico City</capital>
    <capital_wikidata>Q1489</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>19.3538</lat>
    <lon>-99.1359</lon>
  </row>
  <row>
    <id>q227-81474C4E-FA58-46F5-A0F4-11899021CD5D</id>
    <country_name>Azerbaijan</country_name>
    <country_wikidata>Q227</country_wikidata>
    <country>AZE</country>
    <state_status>sovereign state</state_status>
    <capital>Baku</capital>
    <capital_wikidata>Q9248</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>40.3667</lat>
    <lon>49.8352</lon>
  </row>
  <row>
    <id>Q131337-2e5ec34a-40a4-0f52-c800-0848e8d44e3b</id>
    <country_name>Azerbaijan Soviet Socialist Republic</country_name>
    <country_wikidata>Q131337</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Baku</capital>
    <capital_wikidata>Q9248</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>40.3667</lat>
    <lon>49.8352</lon>
  </row>
  <row>
    <id>Q2608489-b2f807f0-45e2-bdc0-890e-af90d0d582b4</id>
    <country_name>Aztec Empire</country_name>
    <country_wikidata>Q2608489</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tenochtitlan</capital>
    <capital_wikidata>Q13695</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>19.435</lat>
    <lon>-99.1314</lon>
  </row>
  <row>
    <id>Q3108185-f36e5921-4af2-f6fe-c6a4-b6422c6c01ec</id>
    <country_name>Ba'athist Iraq</country_name>
    <country_wikidata>Q3108185</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Baghdad</capital>
    <capital_wikidata>Q1530</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>33.3153</lat>
    <lon>44.3661</lon>
  </row>
  <row>
    <id>Q131404661-039ec42f-4dd4-cea6-6d77-a00fe85e8f75</id>
    <country_name>Ba'athist Syria</country_name>
    <country_wikidata>Q131404661</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Damascus</capital>
    <capital_wikidata>Q3766</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>33.5131</lat>
    <lon>36.2919</lon>
  </row>
  <row>
    <id>Q47690-FF4AD1F5-FD38-4744-AEE3-F9301C00C7E1</id>
    <country_name>Babylonia</country_name>
    <country_wikidata>Q47690</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Babylon</capital>
    <capital_wikidata>Q5684</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>32.5425</lat>
    <lon>44.4211</lon>
  </row>
  <row>
    <id>Q28428-E31773DF-5587-4563-84FE-DA5F476ED088</id>
    <country_name>Baekje</country_name>
    <country_wikidata>Q28428</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Wiryeseong</capital>
    <capital_wikidata>Q623880</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.5306</lat>
    <lon>127.1168</lon>
  </row>
  <row>
    <id>Q2622868-916e46bb-430d-6b11-3b13-3bd4ea0e9523</id>
    <country_name>Bagratid Armenia</country_name>
    <country_wikidata>Q2622868</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ani</capital>
    <capital_wikidata>Q546010</capital_wikidata>
    <until>1045</until>
    <until_year>1045</until_year>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>40.5075</lat>
    <lon>43.5728</lon>
  </row>
  <row>
    <id>Q2622868-b97aa104-442a-3546-5a78-dda5979d68cc</id>
    <country_name>Bagratid Armenia</country_name>
    <country_wikidata>Q2622868</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kars</capital>
    <capital_wikidata>Q127063</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>40.6078</lat>
    <lon>43.0958</lon>
  </row>
  <row>
    <id>Q2622868-bc0cd28e-4fbb-a214-d81c-ec832a207cbb</id>
    <country_name>Bagratid Armenia</country_name>
    <country_wikidata>Q2622868</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Shirakavan</capital>
    <capital_wikidata>Q2632366</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>40.7157</lat>
    <lon>43.7219</lon>
  </row>
  <row>
    <id>Q2622868-f42260b9-4a2d-119b-9bff-05789e843968</id>
    <country_name>Bagratid Armenia</country_name>
    <country_wikidata>Q2622868</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bagaran</capital>
    <capital_wikidata>Q19817341</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>40.2</lat>
    <lon>43.65</lon>
  </row>
  <row>
    <id>Q800236-2032B907-FBE5-4BAF-8D7A-561BAFE6AD51</id>
    <country_name>Bahawalpur State</country_name>
    <country_wikidata>Q800236</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bahawalpur</capital>
    <capital_wikidata>Q318156</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>29.3956</lat>
    <lon>71.6722</lon>
  </row>
  <row>
    <id>Q374521-abcfd78a-4978-fe2d-15b5-15e33164b28d</id>
    <country_name>Bahmani Sultanate</country_name>
    <country_wikidata>Q374521</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bidar</capital>
    <capital_wikidata>Q461922</capital_wikidata>
    <from>1425</from>
    <until>1527</until>
    <from_year>1425</from_year>
    <until_year>1527</until_year>
    <years_as_capital>102</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>17.9</lat>
    <lon>77.55</lon>
  </row>
  <row>
    <id>Q374521-045AB27E-0A44-4380-AACC-E04105187CAD</id>
    <country_name>Bahmani Sultanate</country_name>
    <country_wikidata>Q374521</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kalaburagi</capital>
    <capital_wikidata>Q37112</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>17.3333</lat>
    <lon>76.8333</lon>
  </row>
  <row>
    <id>q398-F8784405-50CE-44C5-AD75-C075F7556FFC</id>
    <country_name>Bahrain</country_name>
    <country_wikidata>Q398</country_wikidata>
    <country>BHR</country>
    <state_status>sovereign state</state_status>
    <capital>Manama</capital>
    <capital_wikidata>Q3882</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>26.2167</lat>
    <lon>50.5833</lon>
  </row>
  <row>
    <id>Q4075906-71d92049-4560-9442-3229-abed31a2a73c</id>
    <country_name>Baku Commune</country_name>
    <country_wikidata>Q4075906</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Baku</capital>
    <capital_wikidata>Q9248</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>40.3667</lat>
    <lon>49.8352</lon>
  </row>
  <row>
    <id>Q1740533-D5B35059-D4CE-4467-B46C-F49CAE2D5CE4</id>
    <country_name>Baku Khanate</country_name>
    <country_wikidata>Q1740533</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Baku</capital>
    <capital_wikidata>Q9248</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>40.3667</lat>
    <lon>49.8352</lon>
  </row>
  <row>
    <id>Q28322-E3C3AF3B-FEF5-45AD-9626-A357A7B307B8</id>
    <country_name>Balhae</country_name>
    <country_wikidata>Q28322</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Dongmosan</capital>
    <capital_wikidata>Q12593333</capital_wikidata>
    <from>0698</from>
    <until>0742</until>
    <from_year>698</from_year>
    <until_year>742</until_year>
    <years_as_capital>44</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
  </row>
  <row>
    <id>Q28322-11f221f7-42c2-d1ce-aa86-669250b9a14b</id>
    <country_name>Balhae</country_name>
    <country_wikidata>Q28322</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Site of the Middle Capital of the Balhae Kingdom</capital>
    <capital_wikidata>Q11272095</capital_wikidata>
    <from>0742</from>
    <until>0756</until>
    <from_year>742</from_year>
    <until_year>756</until_year>
    <years_as_capital>14</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>42.7123</lat>
    <lon>129.1441</lon>
  </row>
  <row>
    <id>Q28322-532aec34-4df1-45a5-3b4a-ee17f721ea1f</id>
    <country_name>Balhae</country_name>
    <country_wikidata>Q28322</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Shangjing Longquanfu</capital>
    <capital_wikidata>Q709753</capital_wikidata>
    <from>0756</from>
    <until>0785</until>
    <from_year>756</from_year>
    <until_year>785</until_year>
    <years_as_capital>29</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>44.1306</lat>
    <lon>129.1417</lon>
  </row>
  <row>
    <id>Q28322-80b716e2-42a6-1134-062d-ad5e79b1732a</id>
    <country_name>Balhae</country_name>
    <country_wikidata>Q28322</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Donggyeong Yongwonbu</capital>
    <capital_wikidata>Q10567415</capital_wikidata>
    <from>0785</from>
    <until>0793</until>
    <from_year>785</from_year>
    <until_year>793</until_year>
    <years_as_capital>8</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
  </row>
  <row>
    <id>Q28322-2f7287e0-4d29-9111-da3d-267495552a9c</id>
    <country_name>Balhae</country_name>
    <country_wikidata>Q28322</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Site of the Middle Capital of the Balhae Kingdom</capital>
    <capital_wikidata>Q11272095</capital_wikidata>
    <from>0793</from>
    <until>0926</until>
    <from_year>793</from_year>
    <until_year>926</until_year>
    <years_as_capital>133</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>42.7123</lat>
    <lon>129.1441</lon>
  </row>
  <row>
    <id>Q762084-53BF25CF-E3B7-4E34-920D-BF73BBB0D8A4</id>
    <country_name>Bamana Empire</country_name>
    <country_wikidata>Q762084</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ségou</capital>
    <capital_wikidata>Q333476</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>13.45</lat>
    <lon>-6.2667</lon>
  </row>
  <row>
    <id>Q3627069-86508338-4c83-a6a2-224c-982b79b436a6</id>
    <country_name>Banate of Bosnia</country_name>
    <country_wikidata>Q3627069</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Visoko during the Middle Ages</capital>
    <capital_wikidata>Q6647173</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
  </row>
  <row>
    <id>Q3627069-d0b39cb4-4d5e-15ee-4f60-725632ee182d</id>
    <country_name>Banate of Bosnia</country_name>
    <country_wikidata>Q3627069</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bobovac</capital>
    <capital_wikidata>Q33186</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>44.1367</lat>
    <lon>18.2381</lon>
  </row>
  <row>
    <id>q902-A0593D51-34DF-4979-91F0-021C2ED25F2A</id>
    <country_name>Bangladesh</country_name>
    <country_wikidata>Q902</country_wikidata>
    <country>BGD</country>
    <state_status>sovereign state</state_status>
    <capital>Dhaka</capital>
    <capital_wikidata>Q1354</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>23.7289</lat>
    <lon>90.3944</lon>
  </row>
  <row>
    <id>Q56376885-fb2ae7f5-4f7f-3b39-daf1-838717137537</id>
    <country_name>Bani Khalid Emirate</country_name>
    <country_wikidata>Q56376885</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Al-Mubarraz</capital>
    <capital_wikidata>Q794958</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>25.41</lat>
    <lon>49.5808</lon>
  </row>
  <row>
    <id>Q806963-b136d707-451c-ce1b-7df9-3665cb3b0182</id>
    <country_name>Banswara State</country_name>
    <country_wikidata>Q806963</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Banswara</capital>
    <capital_wikidata>Q633308</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>23.5408</lat>
    <lon>74.4425</lon>
  </row>
  <row>
    <id>Q734867-ba623358-4c91-e44c-4d51-6ad316f243a3</id>
    <country_name>Banten Sultanate</country_name>
    <country_wikidata>Q734867</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Banten</capital>
    <capital_wikidata>Q2086056</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>-6.0372</lat>
    <lon>106.1625</lon>
  </row>
  <row>
    <id>Q734867-C26BFF0A-99CD-4CC0-AAF2-7633DA384408</id>
    <country_name>Banten Sultanate</country_name>
    <country_wikidata>Q734867</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Serang</capital>
    <capital_wikidata>Q10126</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>-6.12</lat>
    <lon>106.1503</lon>
  </row>
  <row>
    <id>Q3827580-e0c56674-4abd-cf30-ccf1-78d1f51710a3</id>
    <country_name>Banu Khazrun</country_name>
    <country_wikidata>Q3827580</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tripoli</capital>
    <capital_wikidata>Q3579</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>32.8875</lat>
    <lon>13.1875</lon>
  </row>
  <row>
    <id>Q807068-c9a268b4-41c2-e232-7094-69c6c947a420</id>
    <country_name>Baol</country_name>
    <country_wikidata>Q807068</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lambaye</capital>
    <capital_wikidata>Q3216606</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>14.8023</lat>
    <lon>-16.5363</lon>
  </row>
  <row>
    <id>q244-BCE9E26D-BDC4-4D1D-A456-6FA6445CFC5C</id>
    <country_name>Barbados</country_name>
    <country_wikidata>Q244</country_wikidata>
    <country>BRB</country>
    <state_status>sovereign state</state_status>
    <capital>Bridgetown</capital>
    <capital_wikidata>Q36168</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>13.0975</lat>
    <lon>-59.6167</lon>
  </row>
  <row>
    <id>Q808575-7412DBE8-6260-4499-9D60-202908796A17</id>
    <country_name>Baroda State</country_name>
    <country_wikidata>Q808575</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vadodara</capital>
    <capital_wikidata>Q11909</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>22.3</lat>
    <lon>73.2</lon>
  </row>
  <row>
    <id>Q809652-3861d290-42c8-ddc5-c0c6-93c5c79abb7a</id>
    <country_name>Barwani State</country_name>
    <country_wikidata>Q809652</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Barwani</capital>
    <capital_wikidata>Q809660</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>22.03</lat>
    <lon>74.9</lon>
  </row>
  <row>
    <id>Q810557-19001591-C9F6-40F5-A2F3-03E8849638D3</id>
    <country_name>Bastar State</country_name>
    <country_wikidata>Q810557</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Jagdalpur</capital>
    <capital_wikidata>Q1006363</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>19.07</lat>
    <lon>82.03</lon>
  </row>
  <row>
    <id>Q2340665-3f726d06-4caf-7f9e-612a-5a7f28aea17a</id>
    <country_name>Basutoland</country_name>
    <country_wikidata>Q2340665</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Maseru</capital>
    <capital_wikidata>Q3909</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-29.31</lat>
    <lon>27.48</lon>
  </row>
  <row>
    <id>q188553-e822e9a4-44e5-b398-b896-3ce9c313aa0f</id>
    <country_name>Batavian Republic</country_name>
    <country_wikidata>Q188553</country_wikidata>
    <state_status>historical state</state_status>
    <capital>The Hague</capital>
    <capital_wikidata>Q36600</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.08</lat>
    <lon>4.31</lon>
  </row>
  <row>
    <id>Q507346-eddbf3f7-4df7-7dc5-b0e6-cd6ee4b52a4a</id>
    <country_name>Baté Empire</country_name>
    <country_wikidata>Q507346</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kankan</capital>
    <capital_wikidata>Q874317</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>10.3833</lat>
    <lon>-9.3</lon>
  </row>
  <row>
    <id>Q571775-10bf8a13-4345-bd13-8e72-594c534af267</id>
    <country_name>Bavaria-Ingolstadt</country_name>
    <country_wikidata>Q571775</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ingolstadt</capital>
    <capital_wikidata>Q3004</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.7631</lat>
    <lon>11.425</lon>
  </row>
  <row>
    <id>Q677490-5bc99867-4efc-3a2f-2224-6d1d9dc15ccb</id>
    <country_name>Bavaria-Landshut</country_name>
    <country_wikidata>Q677490</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Landshut</capital>
    <capital_wikidata>Q3974</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.5397</lat>
    <lon>12.1508</lon>
  </row>
  <row>
    <id>Q552033-a9874196-49cb-aa6e-7337-0ab752a00246</id>
    <country_name>Bavaria-Munich</country_name>
    <country_wikidata>Q552033</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Munich</capital>
    <capital_wikidata>Q1726</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.1375</lat>
    <lon>11.575</lon>
  </row>
  <row>
    <id>Q567719-123e8f33-4f9f-ce87-d17f-ff20219c08a4</id>
    <country_name>Bavaria-Straubing</country_name>
    <country_wikidata>Q567719</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Straubing</capital>
    <capital_wikidata>Q7027</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.8772</lat>
    <lon>12.5758</lon>
  </row>
  <row>
    <id>Q747314-227f7ddf-4306-93b5-a63d-7f752fc7ce56</id>
    <country_name>Bechuanaland Protectorate</country_name>
    <country_wikidata>Q747314</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mahikeng</capital>
    <capital_wikidata>Q211055</capital_wikidata>
    <from>1885</from>
    <until>1965</until>
    <from_year>1885</from_year>
    <until_year>1965</until_year>
    <years_as_capital>80</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>-25.8653</lat>
    <lon>25.6442</lon>
  </row>
  <row>
    <id>Q747314-32a2cd6d-4777-f180-68fd-c6d9eaad7604</id>
    <country_name>Bechuanaland Protectorate</country_name>
    <country_wikidata>Q747314</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Gaborone</capital>
    <capital_wikidata>Q3919</capital_wikidata>
    <from>1965</from>
    <until>1966</until>
    <from_year>1965</from_year>
    <until_year>1966</until_year>
    <years_as_capital>1</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>-24.6569</lat>
    <lon>25.9086</lon>
  </row>
  <row>
    <id>Q814959-30D164B3-E4B5-46EA-A1BB-C9EF4571851C</id>
    <country_name>Beiyang Government</country_name>
    <country_wikidata>Q814959</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Beijing</capital>
    <capital_wikidata>Q956</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>39.904</lat>
    <lon>116.4075</lon>
  </row>
  <row>
    <id>q184-FCF06549-3FAA-4821-A5D4-C8E78D7B9F8D</id>
    <country_name>Belarus</country_name>
    <country_wikidata>Q184</country_wikidata>
    <country>BLR</country>
    <state_status>sovereign state</state_status>
    <capital>Minsk</capital>
    <capital_wikidata>Q2280</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>53.9023</lat>
    <lon>27.5618</lon>
  </row>
  <row>
    <id>q31-9B8AB21C-B781-48FC-B5BB-32056C1B7C06</id>
    <country_name>Belgium</country_name>
    <country_wikidata>Q31</country_wikidata>
    <country>BEL</country>
    <state_status>sovereign state</state_status>
    <capital>Brussels</capital>
    <capital_wikidata>Q239</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>50.8467</lat>
    <lon>4.3517</lon>
  </row>
  <row>
    <id>q242-3750BFAD-54C1-4A4F-9E82-15444CB766FF</id>
    <country_name>Belize</country_name>
    <country_wikidata>Q242</country_wikidata>
    <country>BLZ</country>
    <state_status>sovereign state</state_status>
    <capital>Belmopan</capital>
    <capital_wikidata>Q3043</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>17.25</lat>
    <lon>-88.7675</lon>
  </row>
  <row>
    <id>Q1375154-91D1E59E-9AA7-4EBA-AC0D-55BCF39C94F6</id>
    <country_name>Benares State</country_name>
    <country_wikidata>Q1375154</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Varanasi</capital>
    <capital_wikidata>Q79980</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>25.3189</lat>
    <lon>83.0128</lon>
  </row>
  <row>
    <id>Q962-bc6e9129-4e10-ad0d-6bcb-dc04e1829e31</id>
    <country_name>Benin</country_name>
    <country_wikidata>Q962</country_wikidata>
    <country>BEN</country>
    <state_status>sovereign state</state_status>
    <capital>Cotonou</capital>
    <capital_wikidata>Q43595</capital_wikidata>
    <current>true</current>
    <role>seat of government</role>
    <capitals_count>2</capitals_count>
    <lat>6.3667</lat>
    <lon>2.4167</lon>
  </row>
  <row>
    <id>q962-DB0BD0C0-AAEB-4C1F-8D09-627F0C0C1F24</id>
    <country_name>Benin</country_name>
    <country_wikidata>Q962</country_wikidata>
    <country>BEN</country>
    <state_status>sovereign state</state_status>
    <capital>Porto-Novo</capital>
    <capital_wikidata>Q3799</capital_wikidata>
    <current>true</current>
    <capitals_count>2</capitals_count>
    <lat>6.4833</lat>
    <lon>2.6167</lon>
  </row>
  <row>
    <id>Q171203-770192D5-ADC9-43D6-A255-5FE849114632</id>
    <country_name>Benin Empire</country_name>
    <country_wikidata>Q171203</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Benin City</capital>
    <capital_wikidata>Q320704</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>6.3176</lat>
    <lon>5.6145</lon>
  </row>
  <row>
    <id>Q818666-7bcfb654-4521-5880-f703-f60c258a3952</id>
    <country_name>Berar Sultanate</country_name>
    <country_wikidata>Q818666</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Achalpur</capital>
    <capital_wikidata>Q490886</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>21.2572</lat>
    <lon>77.5086</lon>
  </row>
  <row>
    <id>Q2261321-59EAFEDD-14ED-4B2C-9B0F-2E0D5A48AD67</id>
    <country_name>Beylik of Adana</country_name>
    <country_wikidata>Q2261321</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Adana</capital>
    <capital_wikidata>Q38545</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>36.9864</lat>
    <lon>35.3253</lon>
  </row>
  <row>
    <id>Q2830724-19f0a262-4876-2832-6154-3db9517c6a1c</id>
    <country_name>Beylik of Alaiye</country_name>
    <country_wikidata>Q2830724</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Alanya</capital>
    <capital_wikidata>Q171810</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>36.5436</lat>
    <lon>31.9997</lon>
  </row>
  <row>
    <id>Q717112-1E574689-8AF0-4893-A107-790680EB381F</id>
    <country_name>Beylik of Aydın</country_name>
    <country_wikidata>Q717112</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Birgi</capital>
    <capital_wikidata>Q2220449</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>38.2546</lat>
    <lon>28.0655</lon>
  </row>
  <row>
    <id>Q717112-851c3ac8-4092-462d-201f-40a2687ec38e</id>
    <country_name>Beylik of Aydın</country_name>
    <country_wikidata>Q717112</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Selçuk</capital>
    <capital_wikidata>Q876176</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>37.947</lat>
    <lon>27.3735</lon>
  </row>
  <row>
    <id>Q2501055-1daceeee-484d-8f5b-2757-286840decc19</id>
    <country_name>Beylik of Dilmaç</country_name>
    <country_wikidata>Q2501055</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bitlis</capital>
    <capital_wikidata>Q83531</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>38.4</lat>
    <lon>42.1167</lon>
  </row>
  <row>
    <id>Q1264808-002196c7-4425-5327-8fec-b3f8d09df27e</id>
    <country_name>Beylik of Dulkadir</country_name>
    <country_wikidata>Q1264808</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kahramanmaraş</capital>
    <capital_wikidata>Q134703</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>37.5875</lat>
    <lon>36.9453</lon>
  </row>
  <row>
    <id>Q1264808-37df5836-42e8-d5b1-58ed-314c6a5682d2</id>
    <country_name>Beylik of Dulkadir</country_name>
    <country_wikidata>Q1264808</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Elbistan</capital>
    <capital_wikidata>Q117181</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>38.2</lat>
    <lon>37.1833</lon>
  </row>
  <row>
    <id>Q1254667-64f3d6ad-4e20-0b4f-c11b-60ed1c2def6b</id>
    <country_name>Beylik of Erzincan</country_name>
    <country_wikidata>Q1254667</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Erzincan</capital>
    <capital_wikidata>Q136217</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>39.7464</lat>
    <lon>39.4914</lon>
  </row>
  <row>
    <id>Q1324889-3C2E6C86-4670-4B6C-B118-F529013E6329</id>
    <country_name>Beylik of Germiyan</country_name>
    <country_wikidata>Q1324889</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kütahya</capital>
    <capital_wikidata>Q188894</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>39.4242</lat>
    <lon>29.9833</lon>
  </row>
  <row>
    <id>Q2410637-27ab45cc-4504-e6bc-b7ea-f419bbf12439</id>
    <country_name>Beylik of Hamid</country_name>
    <country_wikidata>Q2410637</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Uluborlu</capital>
    <capital_wikidata>Q1012840</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>38.0789</lat>
    <lon>30.4483</lon>
  </row>
  <row>
    <id>Q941887-c1d4415f-4070-fe43-5e05-49dac4bd0a18</id>
    <country_name>Beylik of Karasi</country_name>
    <country_wikidata>Q941887</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Balıkesir</capital>
    <capital_wikidata>Q199723</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>39.6511</lat>
    <lon>27.8842</lon>
  </row>
  <row>
    <id>Q717451-c5fa3728-4f2d-8b7e-e34d-79c268ac5e6c</id>
    <country_name>Beylik of Lâdik</country_name>
    <country_wikidata>Q717451</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Denizli</capital>
    <capital_wikidata>Q170967</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.7833</lat>
    <lon>29.0964</lon>
  </row>
  <row>
    <id>Q1968654-1d183f73-438f-8025-de76-c17b71aa710b</id>
    <country_name>Beylik of Saruhan</country_name>
    <country_wikidata>Q1968654</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Manisa</capital>
    <capital_wikidata>Q147089</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>38.6119</lat>
    <lon>27.4264</lon>
  </row>
  <row>
    <id>Q4449685-ef4d5d79-4dd4-ead5-0f18-8a8f26a7b4eb</id>
    <country_name>Beylik of Tacettin</country_name>
    <country_wikidata>Q4449685</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Niksar</capital>
    <capital_wikidata>Q513980</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>40.5833</lat>
    <lon>36.9667</lon>
  </row>
  <row>
    <id>Q373988-0cdce9a1-427c-8e17-6c30-04f97d16e5e3</id>
    <country_name>Beylik of Teke</country_name>
    <country_wikidata>Q373988</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Antalya Province</capital>
    <capital_wikidata>Q40249</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.1817</lat>
    <lon>30.9333</lon>
  </row>
  <row>
    <id>Q4899891-c331e711-436a-3c5a-0aa8-e1d8a9b33945</id>
    <country_name>Beylik of Tunis</country_name>
    <country_wikidata>Q4899891</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tunis</capital>
    <capital_wikidata>Q3572</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>36.8008</lat>
    <lon>10.18</lon>
  </row>
  <row>
    <id>Q3775345-2dfb9509-4a3d-2c9f-b559-c0e932c14646</id>
    <country_name>Beylik of Çubukoğulları</country_name>
    <country_wikidata>Q3775345</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Elazığ</capital>
    <capital_wikidata>Q174060</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>38.6667</lat>
    <lon>39.2167</lon>
  </row>
  <row>
    <id>Q854850-460be5c2-48d9-b7b5-31b9-f5d2336c303f</id>
    <country_name>Bharatpur State</country_name>
    <country_wikidata>Q854850</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bharatpur</capital>
    <capital_wikidata>Q559834</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>27.2172</lat>
    <lon>77.49</lon>
  </row>
  <row>
    <id>Q854917-4fc2f131-496a-5ff7-20fb-913c0428213b</id>
    <country_name>Bhavnagar State</country_name>
    <country_wikidata>Q854917</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sihor</capital>
    <capital_wikidata>Q2572958</capital_wikidata>
    <until>1723</until>
    <until_year>1723</until_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>21.7</lat>
    <lon>71.97</lon>
  </row>
  <row>
    <id>Q854917-851E61B0-5662-4525-90DB-1229D7A407C0</id>
    <country_name>Bhavnagar State</country_name>
    <country_wikidata>Q854917</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bhavnagar</capital>
    <capital_wikidata>Q242992</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>21.765</lat>
    <lon>72.1369</lon>
  </row>
  <row>
    <id>q917-72A29554-0F5A-405C-A1AD-D5B63F6E38E1</id>
    <country_name>Bhutan</country_name>
    <country_wikidata>Q917</country_wikidata>
    <country>BTN</country>
    <state_status>sovereign state</state_status>
    <capital>Thimphu</capital>
    <capital_wikidata>Q9270</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>27.4714</lat>
    <lon>89.6337</lon>
  </row>
  <row>
    <id>Q4903979-5999286C-8B18-48D7-95A1-3F69445C8CD7</id>
    <country_name>Bida Emirate</country_name>
    <country_wikidata>Q4903979</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bida</capital>
    <capital_wikidata>Q3320844</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>9.0833</lat>
    <lon>6.0167</lon>
  </row>
  <row>
    <id>Q669317-91c95492-45b0-9e91-0db0-fc7bd66e7907</id>
    <country_name>Bidar Sultanate</country_name>
    <country_wikidata>Q669317</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bidar</capital>
    <capital_wikidata>Q461922</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>17.9</lat>
    <lon>77.55</lon>
  </row>
  <row>
    <id>Q83821-2D0FB3C2-1207-4338-A86D-931D1BD892F4</id>
    <country_name>Bijapur Sultanate</country_name>
    <country_wikidata>Q83821</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vijaypura District</capital>
    <capital_wikidata>Q83108</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>16.82</lat>
    <lon>75.72</lon>
  </row>
  <row>
    <id>Q83821-71f8185b-4b27-ae02-b86d-9485194988c5</id>
    <country_name>Bijapur Sultanate</country_name>
    <country_wikidata>Q83821</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vijayapura</capital>
    <capital_wikidata>Q3636023</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>16.8244</lat>
    <lon>75.7154</lon>
  </row>
  <row>
    <id>Q859966-244ec2d7-4fde-7c3d-9e5f-6c7513816f38</id>
    <country_name>Bikaner State</country_name>
    <country_wikidata>Q859966</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bikaner</capital>
    <capital_wikidata>Q200718</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>28.0181</lat>
    <lon>73.3169</lon>
  </row>
  <row>
    <id>Q878717-b7355f0e-488e-6107-1aa8-870bacda9a0d</id>
    <country_name>Bit Adini</country_name>
    <country_wikidata>Q878717</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Til Barsip</capital>
    <capital_wikidata>Q176458</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>36.674</lat>
    <lon>38.121</lon>
  </row>
  <row>
    <id>Q11909456-FAD4A5F6-0C2F-446D-B972-B7E36EE82267</id>
    <country_name>Bit Agusi</country_name>
    <country_wikidata>Q11909456</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Arpad</capital>
    <capital_wikidata>Q698634</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>36.4726</lat>
    <lon>37.0948</lon>
  </row>
  <row>
    <id>Q821546-bc4e1733-4447-a026-59b9-431478f868f7</id>
    <country_name>Bit Bahiani</country_name>
    <country_wikidata>Q821546</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Zazana</capital>
    <capital_wikidata>Q3753338</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
  </row>
  <row>
    <id>Q1949159-9231931b-4463-45d5-3179-091a05a4937c</id>
    <country_name>Black Sea Soviet Republic</country_name>
    <country_wikidata>Q1949159</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Novorossiysk</capital>
    <capital_wikidata>Q15760</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>44.7167</lat>
    <lon>37.7667</lon>
  </row>
  <row>
    <id>Q2475921-bebe5d60-4bd6-35f4-d755-7fc1bcac4394</id>
    <country_name>Bogd Khanate of Mongolia</country_name>
    <country_wikidata>Q2475921</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ulaanbaatar</capital>
    <capital_wikidata>Q23430</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>47.9214</lat>
    <lon>106.9055</lon>
  </row>
  <row>
    <id>Q557842-4CEE97B1-AFF6-4199-8596-5F578C6CC411</id>
    <country_name>Boina Kingdom</country_name>
    <country_wikidata>Q557842</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mahajanga</capital>
    <capital_wikidata>Q218753</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-15.7167</lat>
    <lon>46.3167</lon>
  </row>
  <row>
    <id>Q750-2df55a60-4400-a0c9-f2a5-9fda7656a114</id>
    <country_name>Bolivia</country_name>
    <country_wikidata>Q750</country_wikidata>
    <country>BOL</country>
    <state_status>sovereign state</state_status>
    <capital>La Paz</capital>
    <capital_wikidata>Q1491</capital_wikidata>
    <from>1899</from>
    <from_year>1899</from_year>
    <current>true</current>
    <role>executive branch</role>
    <capitals_count>2</capitals_count>
    <lat>-16.4958</lat>
    <lon>-68.1333</lon>
  </row>
  <row>
    <id>Q750-7a026b7b-463f-c9b1-91c7-cb3112f7b02c</id>
    <country_name>Bolivia</country_name>
    <country_wikidata>Q750</country_wikidata>
    <country>BOL</country>
    <state_status>sovereign state</state_status>
    <capital>Sucre</capital>
    <capital_wikidata>Q2907</capital_wikidata>
    <current>true</current>
    <role>judiciary</role>
    <capitals_count>2</capitals_count>
    <lat>-19.0475</lat>
    <lon>-65.26</lon>
  </row>
  <row>
    <id>Q25413868-15ff4cbc-4df5-51a2-330d-552083681e7d</id>
    <country_name>Bolivian State</country_name>
    <country_wikidata>Q25413868</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sucre</capital>
    <capital_wikidata>Q2907</capital_wikidata>
    <from>1836</from>
    <until>1839-08-25</until>
    <from_year>1836</from_year>
    <until_year>1839</until_year>
    <years_as_capital>3</years_as_capital>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-19.0475</lat>
    <lon>-65.26</lon>
  </row>
  <row>
    <id>Q894030-51AADF95-779D-43E7-BAE8-217CC79E7637</id>
    <country_name>Bornu Empire</country_name>
    <country_wikidata>Q894030</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ngazargamu</capital>
    <capital_wikidata>Q1496614</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>13.0472</lat>
    <lon>12.2278</lon>
  </row>
  <row>
    <id>q225-737EEAAB-4BD3-42F5-9154-DF52565D600C</id>
    <country_name>Bosnia and Herzegovina</country_name>
    <country_wikidata>Q225</country_wikidata>
    <country>BIH</country>
    <state_status>sovereign state</state_status>
    <capital>Sarajevo</capital>
    <capital_wikidata>Q11194</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>43.8564</lat>
    <lon>18.4131</lon>
  </row>
  <row>
    <id>q963-28494A0B-6028-4D54-9230-5AA7A356EBC9</id>
    <country_name>Botswana</country_name>
    <country_wikidata>Q963</country_wikidata>
    <country>BWA</country>
    <state_status>sovereign state</state_status>
    <capital>Gaborone</capital>
    <capital_wikidata>Q3919</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>-24.6569</lat>
    <lon>25.9086</lon>
  </row>
  <row>
    <id>Q207162-1946D2AA-F1A0-4829-A436-D2209A953FAE</id>
    <country_name>Bourbon Restoration in France</country_name>
    <country_wikidata>Q207162</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Paris</capital>
    <capital_wikidata>Q90</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.8567</lat>
    <lon>2.3522</lon>
  </row>
  <row>
    <id>Q157367-B189913D-D7F0-4564-B7C7-465A61E3FBC8</id>
    <country_name>Brandenburg-Prussia</country_name>
    <country_wikidata>Q157367</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Königsberg</capital>
    <capital_wikidata>Q4120832</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>54.7115</lat>
    <lon>20.5093</lon>
  </row>
  <row>
    <id>Q157367-e22ddc2c-4426-1095-5add-cde729b07932</id>
    <country_name>Brandenburg-Prussia</country_name>
    <country_wikidata>Q157367</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Berlin</capital>
    <capital_wikidata>Q64</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>52.5167</lat>
    <lon>13.3833</lon>
  </row>
  <row>
    <id>q155-14A8A9D4-F7D1-4B46-BB83-C015F95E7DF3</id>
    <country_name>Brazil</country_name>
    <country_wikidata>Q155</country_wikidata>
    <country>BRA</country>
    <state_status>sovereign state</state_status>
    <capital>Brasília</capital>
    <capital_wikidata>Q2844</capital_wikidata>
    <from>1960-04-22</from>
    <from_year>1960</from_year>
    <current>true</current>
    <capitals_count>2</capitals_count>
    <lat>-15.7939</lat>
    <lon>-47.8828</lon>
  </row>
  <row>
    <id>Q155-21140730-4833-9970-92a7-e2db71649b10</id>
    <country_name>Brazil</country_name>
    <country_wikidata>Q155</country_wikidata>
    <country>BRA</country>
    <state_status>sovereign state</state_status>
    <capital>Rio de Janeiro</capital>
    <capital_wikidata>Q8678</capital_wikidata>
    <until>1960-04-22</until>
    <until_year>1960</until_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>-22.9111</lat>
    <lon>-43.2056</lon>
  </row>
  <row>
    <id>Q2078249-3CD5CAEE-9294-4187-835A-AEB4444649F9</id>
    <country_name>Britannic Empire</country_name>
    <country_wikidata>Q2078249</country_wikidata>
    <state_status>historical state</state_status>
    <capital>London</capital>
    <capital_wikidata>Q84</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.5072</lat>
    <lon>-0.1275</lon>
  </row>
  <row>
    <id>Q1028835-d32ebb53-42b5-9b3c-ef4c-68cb26472a24</id>
    <country_name>British Cameroons</country_name>
    <country_wikidata>Q1028835</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Buea</capital>
    <capital_wikidata>Q312209</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>4.1667</lat>
    <lon>9.2333</lon>
  </row>
  <row>
    <id>Q871091-2AB66A89-8741-4E84-9CEA-AEAC9E14B32E</id>
    <country_name>British Malaya</country_name>
    <country_wikidata>Q871091</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kuala Lumpur</capital>
    <capital_wikidata>Q1865</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>3.1478</lat>
    <lon>101.6953</lon>
  </row>
  <row>
    <id>Q16953965-0E5691B3-5E4B-4FDF-9F9F-FECB388AE72C</id>
    <country_name>British Military Administration</country_name>
    <country_wikidata>Q16953965</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tripoli</capital>
    <capital_wikidata>Q3579</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>32.8875</lat>
    <lon>13.1875</lon>
  </row>
  <row>
    <id>Q1147441-5b255386-468e-7455-2ebd-943cf8753a54</id>
    <country_name>British North Borneo</country_name>
    <country_wikidata>Q1147441</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kudat</capital>
    <capital_wikidata>Q23041</capital_wikidata>
    <from>1881</from>
    <until>1884</until>
    <from_year>1881</from_year>
    <until_year>1884</until_year>
    <years_as_capital>3</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>6.8833</lat>
    <lon>116.8333</lon>
  </row>
  <row>
    <id>Q1147441-58f5434f-4ec9-766e-1e38-f0d273c09077</id>
    <country_name>British North Borneo</country_name>
    <country_wikidata>Q1147441</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sandakan</capital>
    <capital_wikidata>Q137203</capital_wikidata>
    <from>1884</from>
    <until>1945</until>
    <from_year>1884</from_year>
    <until_year>1945</until_year>
    <years_as_capital>61</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>5.8388</lat>
    <lon>118.1173</lon>
  </row>
  <row>
    <id>Q1147441-2f314c74-4743-cc1c-0ff2-c1018922f604</id>
    <country_name>British North Borneo</country_name>
    <country_wikidata>Q1147441</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kota Kinabalu</capital>
    <capital_wikidata>Q137271</capital_wikidata>
    <from>1946</from>
    <until>1946</until>
    <from_year>1946</from_year>
    <until_year>1946</until_year>
    <years_as_capital>0</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>5.975</lat>
    <lon>116.0725</lon>
  </row>
  <row>
    <id>Q129286-11601D9E-706E-4906-9591-8CF112C503C5</id>
    <country_name>British Raj</country_name>
    <country_wikidata>Q129286</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kolkata</capital>
    <capital_wikidata>Q1348</capital_wikidata>
    <from>1858</from>
    <until>1911</until>
    <from_year>1858</from_year>
    <until_year>1911</until_year>
    <years_as_capital>53</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>22.5675</lat>
    <lon>88.37</lon>
  </row>
  <row>
    <id>Q129286-0af79d83-4f7d-eb21-51e0-bbefb594e125</id>
    <country_name>British Raj</country_name>
    <country_wikidata>Q129286</country_wikidata>
    <state_status>historical state</state_status>
    <capital>New Delhi</capital>
    <capital_wikidata>Q987</capital_wikidata>
    <from>1911</from>
    <until>1947</until>
    <from_year>1911</from_year>
    <until_year>1947</until_year>
    <years_as_capital>36</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>28.6139</lat>
    <lon>77.2089</lon>
  </row>
  <row>
    <id>Q662653-6ba09f35-4fe3-5cab-fed9-a6f68f91af79</id>
    <country_name>British Somaliland</country_name>
    <country_wikidata>Q662653</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Hargeisa</capital>
    <capital_wikidata>Q168652</capital_wikidata>
    <from>1941</from>
    <from_year>1941</from_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>9.5656</lat>
    <lon>44.0606</lon>
  </row>
  <row>
    <id>Q662653-EA493917-86D2-4E77-BA88-928762A6287C</id>
    <country_name>British Somaliland</country_name>
    <country_wikidata>Q662653</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Berbera</capital>
    <capital_wikidata>Q191718</capital_wikidata>
    <until>1941</until>
    <until_year>1941</until_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>10.4395</lat>
    <lon>45.0131</lon>
  </row>
  <row>
    <id>Q797527-C73636CC-A7C1-4F60-819C-FF3DD6CB2C6F</id>
    <country_name>British Togoland</country_name>
    <country_wikidata>Q797527</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ho</capital>
    <capital_wikidata>Q615006</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>6.6008</lat>
    <lon>0.4713</lon>
  </row>
  <row>
    <id>Q2376315-7DD41A71-F57F-4228-AFF2-914A1DD4AB65</id>
    <country_name>British rule in Myanmar</country_name>
    <country_wikidata>Q2376315</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Yangon</capital>
    <capital_wikidata>Q37995</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>16.8053</lat>
    <lon>96.1561</lon>
  </row>
  <row>
    <id>q921-C26BC80E-F64C-4E25-92AB-627100323661</id>
    <country_name>Brunei</country_name>
    <country_wikidata>Q921</country_wikidata>
    <country>BRN</country>
    <state_status>sovereign state</state_status>
    <capital>Bandar Seri Begawan</capital>
    <capital_wikidata>Q9279</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>4.9167</lat>
    <lon>114.9167</lon>
  </row>
  <row>
    <id>Q887803-A745FFBE-3C5B-40B7-BBA0-517F52BB440C</id>
    <country_name>Bruneian Sultanate</country_name>
    <country_wikidata>Q887803</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mukim Kota Batu</capital>
    <capital_wikidata>Q2365632</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>4.8831</lat>
    <lon>114.9635</lon>
  </row>
  <row>
    <id>Q556263-AE6CC6C8-DD51-4C7E-95FC-4539C62A5492</id>
    <country_name>Brunswick-Lüneburg</country_name>
    <country_wikidata>Q556263</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Brunswick</capital>
    <capital_wikidata>Q2773</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.2692</lat>
    <lon>10.5211</lon>
  </row>
  <row>
    <id>Q473748-98049d45-40fe-967f-8e5f-2e03b628f001</id>
    <country_name>Buganda</country_name>
    <country_wikidata>Q473748</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kampala</capital>
    <capital_wikidata>Q3894</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>0.3136</lat>
    <lon>32.5811</lon>
  </row>
  <row>
    <id>Q129799-110bdc2b-4c7c-f7ff-76da-7bf762a9d909</id>
    <country_name>Bukey Horde</country_name>
    <country_wikidata>Q129799</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Khan Ordasy</capital>
    <capital_wikidata>Q12568903</capital_wikidata>
    <from>1828</from>
    <until>1845</until>
    <from_year>1828</from_year>
    <until_year>1845</until_year>
    <years_as_capital>17</years_as_capital>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.7697</lat>
    <lon>47.4283</lon>
  </row>
  <row>
    <id>Q16824911-43231949-4217-fa2f-4344-6cbb99701472</id>
    <country_name>Bukhar Khudahs</country_name>
    <country_wikidata>Q16824911</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bukhara</capital>
    <capital_wikidata>Q5764</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>39.7747</lat>
    <lon>64.4286</lon>
  </row>
  <row>
    <id>Q60849901-e3a3193e-4d6b-0f4c-9607-e4b6916e2b0a</id>
    <country_name>Bukhara Socialist Soviet Republic</country_name>
    <country_wikidata>Q60849901</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bukhara</capital>
    <capital_wikidata>Q5764</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>39.7747</lat>
    <lon>64.4286</lon>
  </row>
  <row>
    <id>Q68682-10006c57-4375-8e7e-e800-9c84a3e53c30</id>
    <country_name>Bukharan People's Soviet Republic</country_name>
    <country_wikidata>Q68682</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bukhara</capital>
    <capital_wikidata>Q5764</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>39.7747</lat>
    <lon>64.4286</lon>
  </row>
  <row>
    <id>q219-FFC15420-045E-4E3B-8897-B5F6335C74DE</id>
    <country_name>Bulgaria</country_name>
    <country_wikidata>Q219</country_wikidata>
    <country>BGR</country>
    <state_status>sovereign state</state_status>
    <capital>Sofia</capital>
    <capital_wikidata>Q472</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>42.6979</lat>
    <lon>23.3217</lon>
  </row>
  <row>
    <id>Q2067184-AA22957A-83F4-4475-A2F8-63E594F55DFB</id>
    <country_name>Bulgarian Empire</country_name>
    <country_wikidata>Q2067184</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Pliska</capital>
    <capital_wikidata>Q318889</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>43.362</lat>
    <lon>27.1254</lon>
  </row>
  <row>
    <id>Q892272-E376ECDA-5200-4B50-B47D-67585053B71D</id>
    <country_name>Bundu</country_name>
    <country_wikidata>Q892272</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Boulébané</capital>
    <capital_wikidata>Q25272384</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>14.2753</lat>
    <lon>-12.456</lon>
  </row>
  <row>
    <id>Q7882199-DEDD45DF-42E2-4FBC-BBC3-E7813E8D191E</id>
    <country_name>Burgundian State</country_name>
    <country_wikidata>Q7882199</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Dijon</capital>
    <capital_wikidata>Q7003</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>47.3231</lat>
    <lon>5.0419</lon>
  </row>
  <row>
    <id>q965-E4F0DFE9-0DE5-4FF5-B91B-803E42240126</id>
    <country_name>Burkina Faso</country_name>
    <country_wikidata>Q965</country_wikidata>
    <country>BFA</country>
    <state_status>sovereign state</state_status>
    <capital>Ouagadougou</capital>
    <capital_wikidata>Q3777</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>12.3686</lat>
    <lon>-1.5275</lon>
  </row>
  <row>
    <id>Q967-f5631766-4600-3619-68e8-f71c406a8c95</id>
    <country_name>Burundi</country_name>
    <country_wikidata>Q967</country_wikidata>
    <country>BDI</country>
    <state_status>sovereign state</state_status>
    <capital>Gitega</capital>
    <capital_wikidata>Q167551</capital_wikidata>
    <from>2019-01-16</from>
    <from_year>2019</from_year>
    <current>true</current>
    <capitals_count>2</capitals_count>
    <lat>-3.4283</lat>
    <lon>29.925</lon>
  </row>
  <row>
    <id>q967-8154573A-805F-451B-AE28-584FC5265AD9</id>
    <country_name>Burundi</country_name>
    <country_wikidata>Q967</country_wikidata>
    <country>BDI</country>
    <state_status>sovereign state</state_status>
    <capital>Bujumbura</capital>
    <capital_wikidata>Q3854</capital_wikidata>
    <until>2019-01-15</until>
    <until_year>2019</until_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>-3.3825</lat>
    <lon>29.3611</lon>
  </row>
  <row>
    <id>Q28511-C062A1B1-28A0-41B5-82E6-F0A3BAD43E6A</id>
    <country_name>Buyeo</country_name>
    <country_wikidata>Q28511</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nong'an</capital>
    <capital_wikidata>Q1996202</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>44.419</lat>
    <lon>125.1702</lon>
  </row>
  <row>
    <id>Q273874-326d0f5c-47fd-1566-ebde-4d0040b97338</id>
    <country_name>Buyid dynasty</country_name>
    <country_wikidata>Q273874</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Hamadan</capital>
    <capital_wikidata>Q28587</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>34.8</lat>
    <lon>48.5167</lon>
  </row>
  <row>
    <id>Q273874-785e0b7c-42c7-57a9-ba8a-c04e4bdee500</id>
    <country_name>Buyid dynasty</country_name>
    <country_wikidata>Q273874</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ray</capital>
    <capital_wikidata>Q636188</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>35.5975</lat>
    <lon>51.4344</lon>
  </row>
  <row>
    <id>Q273874-DC597C3E-4AD7-497B-8A2E-AA3FB0FD4CF2</id>
    <country_name>Buyid dynasty</country_name>
    <country_wikidata>Q273874</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Shiraz</capital>
    <capital_wikidata>Q6397066</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>29.6103</lat>
    <lon>52.5311</lon>
  </row>
  <row>
    <id>Q273874-f880190f-4927-2703-35a5-bc0d62dcb957</id>
    <country_name>Buyid dynasty</country_name>
    <country_wikidata>Q273874</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Baghdad</capital>
    <capital_wikidata>Q1530</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>33.3153</lat>
    <lon>44.3661</lon>
  </row>
  <row>
    <id>q2895-13b135ef-470e-41be-f9e5-116d71bbb5ae</id>
    <country_name>Byelorussian Soviet Socialist Republic</country_name>
    <country_wikidata>Q2895</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Minsk</capital>
    <capital_wikidata>Q2280</capital_wikidata>
    <from>1919-01-16</from>
    <until>1991-08-25</until>
    <from_year>1919</from_year>
    <until_year>1991</until_year>
    <years_as_capital>72</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>53.9023</lat>
    <lon>27.5618</lon>
  </row>
  <row>
    <id>q2895-d51c7da4-48a5-4cc2-8b16-d10a2c6667f9</id>
    <country_name>Byelorussian Soviet Socialist Republic</country_name>
    <country_wikidata>Q2895</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Smolensk</capital>
    <capital_wikidata>Q2337</capital_wikidata>
    <from>1919-01-01</from>
    <until>1919-01-16</until>
    <from_year>1919</from_year>
    <until_year>1919</until_year>
    <years_as_capital>0</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>54.7828</lat>
    <lon>32.0453</lon>
  </row>
  <row>
    <id>Q12544-10910027-1103-4057-BCC4-49CEAB7944D8</id>
    <country_name>Byzantine Empire</country_name>
    <country_wikidata>Q12544</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Constantinople</capital>
    <capital_wikidata>Q16869</capital_wikidata>
    <from>0330-05-11</from>
    <until>1453-06-07</until>
    <from_year>330</from_year>
    <until_year>1453</until_year>
    <years_as_capital>1123</years_as_capital>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.0122</lat>
    <lon>28.976</lon>
  </row>
  <row>
    <id>Q17557-24b67c79-4b57-e530-e2a0-a409b3cb57eb</id>
    <country_name>California Republic</country_name>
    <country_wikidata>Q17557</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sonoma</capital>
    <capital_wikidata>Q11592</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>38.2919</lat>
    <lon>-122.4578</lon>
  </row>
  <row>
    <id>Q171740-40CD13F2-8C04-4402-9F62-A84E7652384E</id>
    <country_name>Caliphate of Córdoba</country_name>
    <country_wikidata>Q171740</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Córdoba</capital>
    <capital_wikidata>Q5818</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.89</lat>
    <lon>-4.78</lon>
  </row>
  <row>
    <id>q424-BEF17195-D826-44DB-81DA-201F1F1BF158</id>
    <country_name>Cambodia</country_name>
    <country_wikidata>Q424</country_wikidata>
    <country>KHM</country>
    <state_status>sovereign state</state_status>
    <capital>Phnom Penh</capital>
    <capital_wikidata>Q1850</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>11.5696</lat>
    <lon>104.921</lon>
  </row>
  <row>
    <id>q1009-57012C54-2B95-4C5B-AEA6-A641FD29732A</id>
    <country_name>Cameroon</country_name>
    <country_wikidata>Q1009</country_wikidata>
    <country>CMR</country>
    <state_status>sovereign state</state_status>
    <capital>Yaoundé</capital>
    <capital_wikidata>Q3808</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>3.8578</lat>
    <lon>11.5181</lon>
  </row>
  <row>
    <id>q16-B77FAC7C-4711-4C6E-8500-37A0F6EB5590</id>
    <country_name>Canada</country_name>
    <country_wikidata>Q16</country_wikidata>
    <country>CAN</country>
    <state_status>sovereign state</state_status>
    <capital>Ottawa</capital>
    <capital_wikidata>Q1930</capital_wikidata>
    <from>1867-05-15</from>
    <from_year>1867</from_year>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>45.4247</lat>
    <lon>-75.695</lon>
  </row>
  <row>
    <id>Q2096678-EB15F09C-1A2C-4FDE-A927-835E7020511A</id>
    <country_name>Candar dynasty</country_name>
    <country_wikidata>Q2096678</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Eflani</capital>
    <capital_wikidata>Q1296393</capital_wikidata>
    <from>1291</from>
    <until>1309</until>
    <from_year>1291</from_year>
    <until_year>1309</until_year>
    <years_as_capital>18</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>41.4228</lat>
    <lon>32.9558</lon>
  </row>
  <row>
    <id>Q2096678-49e48db6-477f-504b-2379-4500310b8028</id>
    <country_name>Candar dynasty</country_name>
    <country_wikidata>Q2096678</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kastamonu</capital>
    <capital_wikidata>Q155915</capital_wikidata>
    <from>1309</from>
    <until>1398</until>
    <from_year>1309</from_year>
    <until_year>1398</until_year>
    <years_as_capital>89</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>41.3833</lat>
    <lon>33.7833</lon>
  </row>
  <row>
    <id>Q2096678-e75fc5c4-49eb-678e-02f3-76f8f3610286</id>
    <country_name>Candar dynasty</country_name>
    <country_wikidata>Q2096678</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sinop</capital>
    <capital_wikidata>Q599416</capital_wikidata>
    <from>1398</from>
    <until>1461</until>
    <from_year>1398</from_year>
    <until_year>1461</until_year>
    <years_as_capital>63</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>42.0267</lat>
    <lon>35.1511</lon>
  </row>
  <row>
    <id>Q320930-BAB06804-F86D-4476-9E2B-583DB782EB78</id>
    <country_name>Cao Wei</country_name>
    <country_wikidata>Q320930</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Luoyang</capital>
    <capital_wikidata>Q187136</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>34.6587</lat>
    <lon>112.4245</lon>
  </row>
  <row>
    <id>Q370736-a448b6db-4f35-4b57-d899-bef154c1d40a</id>
    <country_name>Cape Colony</country_name>
    <country_wikidata>Q370736</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Cape Town</capital>
    <capital_wikidata>Q5465</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-33.9253</lat>
    <lon>18.4239</lon>
  </row>
  <row>
    <id>q1011-C036BDC0-4ADC-4011-A994-89037618FDBA</id>
    <country_name>Cape Verde</country_name>
    <country_wikidata>Q1011</country_wikidata>
    <country>CPV</country>
    <state_status>sovereign state</state_status>
    <capital>Praia</capital>
    <capital_wikidata>Q3751</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>14.9177</lat>
    <lon>-23.5092</lon>
  </row>
  <row>
    <id>Q501754-38E9B5E6-F71F-46B5-BEA9-6432A5EE5B77</id>
    <country_name>Carantania</country_name>
    <country_wikidata>Q501754</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Maria Saal</capital>
    <capital_wikidata>Q702126</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>46.6808</lat>
    <lon>14.3486</lon>
  </row>
  <row>
    <id>Q31929-0186f201-4988-29d3-e854-26e57520834c</id>
    <country_name>Carolingian Empire</country_name>
    <country_wikidata>Q31929</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Metz</capital>
    <capital_wikidata>Q22690</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>49.1197</lat>
    <lon>6.1769</lon>
  </row>
  <row>
    <id>Q31929-0ABCC686-7D0B-4615-B9A4-C54BB20534CE</id>
    <country_name>Carolingian Empire</country_name>
    <country_wikidata>Q31929</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Aachen</capital>
    <capital_wikidata>Q1017</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>50.7762</lat>
    <lon>6.0838</lon>
  </row>
  <row>
    <id>Q950644-4bdc837d-43a7-19c0-e881-5cd150211b2b</id>
    <country_name>Carpatho-Ukraine</country_name>
    <country_wikidata>Q950644</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Khust</capital>
    <capital_wikidata>Q146469</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.1814</lat>
    <lon>23.2978</lon>
  </row>
  <row>
    <id>Q42345047-d05262f8-4b48-b1af-e4ae-06c50229a92d</id>
    <country_name>Catalan Republic</country_name>
    <country_wikidata>Q42345047</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Barcelona</capital>
    <capital_wikidata>Q1492</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.3825</lat>
    <lon>2.1769</lon>
  </row>
  <row>
    <id>Q177076-0983ec31-4373-fec8-b5cb-c95c0b7ac2d8</id>
    <country_name>Caucasian Albania</country_name>
    <country_wikidata>Q177076</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Partav</capital>
    <capital_wikidata>Q97232627</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
  </row>
  <row>
    <id>Q177076-aba4e1ed-4fa6-bdb1-9e62-9fd5eefe76c6</id>
    <country_name>Caucasian Albania</country_name>
    <country_wikidata>Q177076</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kabalaka</capital>
    <capital_wikidata>Q4206513</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>40.8838</lat>
    <lon>47.7065</lon>
  </row>
  <row>
    <id>Q2088141-1d701985-4484-1215-8b2d-3787c6f0a174</id>
    <country_name>Caucasian Imamate</country_name>
    <country_wikidata>Q2088141</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Akhulgo</capital>
    <capital_wikidata>Q2829005</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>42.7778</lat>
    <lon>46.7428</lon>
  </row>
  <row>
    <id>Q2088141-504c9136-4e53-9b8c-9254-d02a35379638</id>
    <country_name>Caucasian Imamate</country_name>
    <country_wikidata>Q2088141</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Dargo, Vedensky District</capital>
    <capital_wikidata>Q4155037</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>42.9549</lat>
    <lon>46.2418</lon>
  </row>
  <row>
    <id>Q2088141-5ec8fa50-44e7-ab2e-d2a9-2e84f07246a9</id>
    <country_name>Caucasian Imamate</country_name>
    <country_wikidata>Q2088141</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vedeno</capital>
    <capital_wikidata>Q2312752</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>42.9616</lat>
    <lon>46.1038</lon>
  </row>
  <row>
    <id>Q189988-f66bb388-48d0-94c6-32df-dbadbda55b85</id>
    <country_name>Central African Empire</country_name>
    <country_wikidata>Q189988</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bangui</capital>
    <capital_wikidata>Q3832</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>4.3733</lat>
    <lon>18.5628</lon>
  </row>
  <row>
    <id>q929-731E11A3-E2C8-47B6-A00C-37613330AE89</id>
    <country_name>Central African Republic</country_name>
    <country_wikidata>Q929</country_wikidata>
    <country>CAF</country>
    <state_status>sovereign state</state_status>
    <capital>Bangui</capital>
    <capital_wikidata>Q3832</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>4.3733</lat>
    <lon>18.5628</lon>
  </row>
  <row>
    <id>Q2992636-47752af8-4aae-a99f-a3c3-549c3e16cacc</id>
    <country_name>Central American Confederation</country_name>
    <country_wikidata>Q2992636</country_wikidata>
    <state_status>historical state</state_status>
    <capital>San Miguel</capital>
    <capital_wikidata>Q672458</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>13.4804</lat>
    <lon>-88.1772</lon>
  </row>
  <row>
    <id>Q5062192-6AD62E9E-EC46-4964-A32D-C74769DA3D90</id>
    <country_name>Centralist Republic of Mexico</country_name>
    <country_wikidata>Q5062192</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mexico City</capital>
    <capital_wikidata>Q1489</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>19.3538</lat>
    <lon>-99.1359</lon>
  </row>
  <row>
    <id>Q190636-e5cbf473-49f5-e53d-e87e-306222443874</id>
    <country_name>Centrocaspian Dictatorship</country_name>
    <country_wikidata>Q190636</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Baku</capital>
    <capital_wikidata>Q9248</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>40.3667</lat>
    <lon>49.8352</lon>
  </row>
  <row>
    <id>q657-07A08158-CFCB-4983-B1F6-E61912B9AED8</id>
    <country_name>Chad</country_name>
    <country_wikidata>Q657</country_wikidata>
    <country>TCD</country>
    <state_status>sovereign state</state_status>
    <capital>N'Djamena</capital>
    <capital_wikidata>Q3659</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>12.11</lat>
    <lon>15.05</lon>
  </row>
  <row>
    <id>Q487829-827f0284-4459-bc02-fafe-4091601f159b</id>
    <country_name>Chagatai Khanate</country_name>
    <country_wikidata>Q487829</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Qarshi</capital>
    <capital_wikidata>Q644008</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>38.8667</lat>
    <lon>65.8</lon>
  </row>
  <row>
    <id>Q487829-EE039656-2D99-4CD8-AF24-3274846B4464</id>
    <country_name>Chagatai Khanate</country_name>
    <country_wikidata>Q487829</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Almaliq</capital>
    <capital_wikidata>Q2627464</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>44.24</lat>
    <lon>80.5331</lon>
  </row>
  <row>
    <id>Q2042616-64c727da-4065-0aeb-7d9f-627ff180736a</id>
    <country_name>Chalkidian League</country_name>
    <country_wikidata>Q2042616</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Olynthus</capital>
    <capital_wikidata>Q1141669</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>40.2928</lat>
    <lon>23.3545</lon>
  </row>
  <row>
    <id>Q1395011-b3b17e40-4813-689c-7a10-1555862c50c3</id>
    <country_name>Chalukya dynasty</country_name>
    <country_wikidata>Q1395011</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Basavakalyan</capital>
    <capital_wikidata>Q712521</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>17.8744</lat>
    <lon>76.9497</lon>
  </row>
  <row>
    <id>Q1395011-fc026bd5-4903-79ec-f773-5c347462932b</id>
    <country_name>Chalukya dynasty</country_name>
    <country_wikidata>Q1395011</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Manyakheta</capital>
    <capital_wikidata>Q191771</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>17.195</lat>
    <lon>77.1608</lon>
  </row>
  <row>
    <id>Q1060520-53647037-4b9c-93da-21c9-bbc157a217c5</id>
    <country_name>Chamba State</country_name>
    <country_wikidata>Q1060520</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Chamba</capital>
    <capital_wikidata>Q1949346</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>32.5561</lat>
    <lon>76.125</lon>
  </row>
  <row>
    <id>Q2039087-BCB2E428-D905-4E54-9FC5-B02B183FC1C9</id>
    <country_name>Chandelas of Jejakabhukti</country_name>
    <country_wikidata>Q2039087</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Khajuraho</capital>
    <capital_wikidata>Q178948</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>24.8528</lat>
    <lon>79.9255</lon>
  </row>
  <row>
    <id>Q1062946-95f8eb97-4534-2d67-18f2-fdb1796e043a</id>
    <country_name>Characene</country_name>
    <country_wikidata>Q1062946</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Charax Spasinu</capital>
    <capital_wikidata>Q1063054</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>30.8979</lat>
    <lon>47.5675</lon>
  </row>
  <row>
    <id>Q2624304-47b51a49-4e09-6652-81f9-9259558c1440</id>
    <country_name>Charkhari State</country_name>
    <country_wikidata>Q2624304</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Charkhari</capital>
    <capital_wikidata>Q886602</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>25.4</lat>
    <lon>79.75</lon>
  </row>
  <row>
    <id>Q877155-B58899C9-5C81-45A2-8883-F114FCF089AD</id>
    <country_name>Chera dynasty</country_name>
    <country_wikidata>Q877155</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Karur</capital>
    <capital_wikidata>Q817218</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>10.96</lat>
    <lon>78.075</lon>
  </row>
  <row>
    <id>Q1071493-78cdfb68-42b3-033b-c3a2-5cf21cd93eae</id>
    <country_name>Chhatarpur State</country_name>
    <country_wikidata>Q1071493</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Chhatarpur</capital>
    <capital_wikidata>Q1071519</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>24.9177</lat>
    <lon>79.5887</lon>
  </row>
  <row>
    <id>Q1357404-3E84F571-9FF8-4E55-A796-498687E9C6A9</id>
    <country_name>Chiang Hung</country_name>
    <country_wikidata>Q1357404</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Jinghong</capital>
    <capital_wikidata>Q1012620</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>22.0057</lat>
    <lon>100.7948</lon>
  </row>
  <row>
    <id>q298-F92FDF39-529E-46B5-BF71-4564BA21AF4E</id>
    <country_name>Chile</country_name>
    <country_wikidata>Q298</country_wikidata>
    <country>CHL</country>
    <state_status>sovereign state</state_status>
    <capital>Santiago</capital>
    <capital_wikidata>Q2887</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>-33.4375</lat>
    <lon>-70.65</lon>
  </row>
  <row>
    <id>Q581741-597754E7-911C-48A2-A79E-10187AE46CA2</id>
    <country_name>Chimor</country_name>
    <country_wikidata>Q581741</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Chan Chan</capital>
    <capital_wikidata>Q277540</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-8.1106</lat>
    <lon>-79.075</lon>
  </row>
  <row>
    <id>Q1135255-9EE6D314-1784-4B94-80BA-2D6A47CA603B</id>
    <country_name>Chinese Soviet Republic</country_name>
    <country_wikidata>Q1135255</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ruijin</capital>
    <capital_wikidata>Q1025459</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>25.8833</lat>
    <lon>116.0333</lon>
  </row>
  <row>
    <id>Q1089675-E5B1BEDB-004B-4F1D-9FB0-CEAA870BEFA6</id>
    <country_name>Chobanids</country_name>
    <country_wikidata>Q1089675</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tabriz</capital>
    <capital_wikidata>Q80053</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>38.0739</lat>
    <lon>46.2961</lon>
  </row>
  <row>
    <id>Q6806806-62cd6b20-4328-3287-5444-9094d661f4ba</id>
    <country_name>Chola Empire</country_name>
    <country_wikidata>Q6806806</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Gangaikonda Cholapuram</capital>
    <capital_wikidata>Q1493439</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>11.2052</lat>
    <lon>79.4528</lon>
  </row>
  <row>
    <id>Q151148-5959CBE4-B630-477D-A9F7-A2C9A6A8754D</id>
    <country_name>Chola dynasty</country_name>
    <country_wikidata>Q151148</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Puhar</capital>
    <capital_wikidata>Q2135463</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>11.144</lat>
    <lon>79.855</lon>
  </row>
  <row>
    <id>Q1196298-084ABEA5-E9C7-4D42-834F-1B6139599855</id>
    <country_name>Chouchi Kingdom</country_name>
    <country_wikidata>Q1196298</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Hui County</capital>
    <capital_wikidata>Q974580</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>33.7694</lat>
    <lon>106.0793</lon>
  </row>
  <row>
    <id>Q504759-E49C5541-23F5-40FD-B86D-BD5B9427FDDE</id>
    <country_name>Chu</country_name>
    <country_wikidata>Q504759</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Danyang</capital>
    <capital_wikidata>Q5221425</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>32.011</lat>
    <lon>119.6013</lon>
  </row>
  <row>
    <id>Q504759-0c2a3956-4d7f-03d4-ad1d-8ff540c1c164</id>
    <country_name>Chu</country_name>
    <country_wikidata>Q504759</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ying</capital>
    <capital_wikidata>Q1504476</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>30.4228</lat>
    <lon>112.1733</lon>
  </row>
  <row>
    <id>Q7650054-27657648-0CDB-4A14-B714-6A2E50EEB3E9</id>
    <country_name>Chutia Kingdom</country_name>
    <country_wikidata>Q7650054</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sadiya</capital>
    <capital_wikidata>Q7397977</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>27.83</lat>
    <lon>95.67</lon>
  </row>
  <row>
    <id>Q7650054-E07C0190-A2B1-4080-A08E-EF12CDD2E04F</id>
    <country_name>Chutia Kingdom</country_name>
    <country_wikidata>Q7650054</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bhismaknagar ruins</capital>
    <capital_wikidata>Q18177128</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>28.0483</lat>
    <lon>96.0045</lon>
  </row>
  <row>
    <id>Q55521-97151126-46dd-d396-5941-d736cdf33a60</id>
    <country_name>Chūzan</country_name>
    <country_wikidata>Q55521</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Urasoe</capital>
    <capital_wikidata>Q695895</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>26.2457</lat>
    <lon>127.7219</lon>
  </row>
  <row>
    <id>Q213353-a4ffa78b-4445-3216-7132-4502211ea8db</id>
    <country_name>Cisalpine Republic</country_name>
    <country_wikidata>Q213353</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Milan</capital>
    <capital_wikidata>Q490</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>45.4669</lat>
    <lon>9.19</lon>
  </row>
  <row>
    <id>Q5124786-05f893cd-457b-1f95-aea0-0e2cba9c0862</id>
    <country_name>Civitas Schinesghe</country_name>
    <country_wikidata>Q5124786</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Gniezno</capital>
    <capital_wikidata>Q51432</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.5333</lat>
    <lon>17.6</lon>
  </row>
  <row>
    <id>Q965174-713DE655-FB94-4E6F-94A1-9F6B16771E5D</id>
    <country_name>Coalition Provisional Authority</country_name>
    <country_wikidata>Q965174</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Baghdad</capital>
    <capital_wikidata>Q1530</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>33.3153</lat>
    <lon>44.3661</lon>
  </row>
  <row>
    <id>Q903061-443c6c47-4c9d-5f04-1ab3-de1ab2a25b0e</id>
    <country_name>Cochinchina Autonomous Republic</country_name>
    <country_wikidata>Q903061</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ho Chi Minh City</capital>
    <capital_wikidata>Q1854</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>10.7756</lat>
    <lon>106.7019</lon>
  </row>
  <row>
    <id>Q183150-F0014150-B46F-40C0-92F7-9C9A8EDEC37F</id>
    <country_name>Colchis</country_name>
    <country_wikidata>Q183150</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kutaisi</capital>
    <capital_wikidata>Q172415</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>42.2717</lat>
    <lon>42.7056</lon>
  </row>
  <row>
    <id>q739-0848E6D1-CFA5-4F7C-8E52-50480CEBDAF9</id>
    <country_name>Colombia</country_name>
    <country_wikidata>Q739</country_wikidata>
    <country>COL</country>
    <state_status>sovereign state</state_status>
    <capital>Bogotá</capital>
    <capital_wikidata>Q2841</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>4.6097</lat>
    <lon>-74.0817</lon>
  </row>
  <row>
    <id>Q49910-9a0eab01-4282-f347-31f0-a4a6c227e504</id>
    <country_name>Colony of Aden</country_name>
    <country_wikidata>Q49910</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Aden</capital>
    <capital_wikidata>Q131694</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>12.8</lat>
    <lon>45.0333</lon>
  </row>
  <row>
    <id>Q2526023-b371f519-4578-db34-445b-5c506e9c18b2</id>
    <country_name>Colony of Jamaica</country_name>
    <country_wikidata>Q2526023</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kingston</capital>
    <capital_wikidata>Q34692</capital_wikidata>
    <from>1872</from>
    <from_year>1872</from_year>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>17.9714</lat>
    <lon>-76.7931</lon>
  </row>
  <row>
    <id>Q330362-6AE956CB-CBB5-43B1-BB9D-41208B770AE5</id>
    <country_name>Commonwealth of England</country_name>
    <country_wikidata>Q330362</country_wikidata>
    <state_status>historical state</state_status>
    <capital>London</capital>
    <capital_wikidata>Q84</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.5072</lat>
    <lon>-0.1275</lon>
  </row>
  <row>
    <id>Q146328-e611baff-4a15-5cae-ac50-973fc57a3d42</id>
    <country_name>Commonwealth of the Philippines</country_name>
    <country_wikidata>Q146328</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Manila</capital>
    <capital_wikidata>Q1461</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>14.5958</lat>
    <lon>120.9772</lon>
  </row>
  <row>
    <id>Q5622720-a00e48f3-4ae0-dc2a-cb79-8fad89208665</id>
    <country_name>Commonwealth realm of Guyana</country_name>
    <country_wikidata>Q5622720</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Georgetown</capital>
    <capital_wikidata>Q10717</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>6.8058</lat>
    <lon>-58.1508</lon>
  </row>
  <row>
    <id>Q14759030-0567820f-474e-200e-35d0-d6122cc630ec</id>
    <country_name>Commonwealth realm of Mauritius</country_name>
    <country_wikidata>Q14759030</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Port Louis</capital>
    <capital_wikidata>Q3929</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-20.1619</lat>
    <lon>57.4989</lon>
  </row>
  <row>
    <id>Q14920623-E1CD4A28-E715-48DA-AB4C-DF93545F2EB5</id>
    <country_name>Commonwealth realm of Sierra Leone</country_name>
    <country_wikidata>Q14920623</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Freetown</capital>
    <capital_wikidata>Q3780</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>8.4872</lat>
    <lon>-13.2356</lon>
  </row>
  <row>
    <id>Q7877575-923B613D-F6E4-4E80-8247-B45552136516</id>
    <country_name>Commonwealth realm of Uganda</country_name>
    <country_wikidata>Q7877575</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kampala</capital>
    <capital_wikidata>Q3894</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>0.3136</lat>
    <lon>32.5811</lon>
  </row>
  <row>
    <id>Q7735661-7038c326-4fc4-dd5f-9d78-113e45f74402</id>
    <country_name>Commonwealth realm of the Gambia</country_name>
    <country_wikidata>Q7735661</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Banjul</capital>
    <capital_wikidata>Q3726</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>13.4531</lat>
    <lon>-16.5775</lon>
  </row>
  <row>
    <id>q970-398C6380-2E53-4F09-A077-D43E7C8B94C6</id>
    <country_name>Comoros</country_name>
    <country_wikidata>Q970</country_wikidata>
    <country>COM</country>
    <state_status>sovereign state</state_status>
    <capital>Moroni</capital>
    <capital_wikidata>Q3901</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>-11.7036</lat>
    <lon>43.2536</lon>
  </row>
  <row>
    <id>Q2001966-bc815cec-4ddf-d303-0707-d57d91520998</id>
    <country_name>Company rule in India</country_name>
    <country_wikidata>Q2001966</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kolkata</capital>
    <capital_wikidata>Q1348</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>22.5675</lat>
    <lon>88.37</lon>
  </row>
  <row>
    <id>Q12739306-1a10c944-43a5-21de-4dc7-1962b27311ed</id>
    <country_name>Comrat Republic</country_name>
    <country_wikidata>Q12739306</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Comrat</capital>
    <capital_wikidata>Q241122</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>46.3003</lat>
    <lon>28.6572</lon>
  </row>
  <row>
    <id>Q1122980-01f68d25-40f0-0583-41c4-f3153c7b4627</id>
    <country_name>Comtat Venaissin</country_name>
    <country_wikidata>Q1122980</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Pernes-les-Fontaines</capital>
    <capital_wikidata>Q472574</capital_wikidata>
    <from>1274</from>
    <until>1320</until>
    <from_year>1274</from_year>
    <until_year>1320</until_year>
    <years_as_capital>46</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>43.9978</lat>
    <lon>5.0592</lon>
  </row>
  <row>
    <id>Q1122980-74057d71-46fd-077f-7297-5a6704eb4521</id>
    <country_name>Comtat Venaissin</country_name>
    <country_wikidata>Q1122980</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Carpentras</capital>
    <capital_wikidata>Q202560</capital_wikidata>
    <from>1320</from>
    <until>1791-09-14</until>
    <from_year>1320</from_year>
    <until_year>1791</until_year>
    <years_as_capital>471</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>44.055</lat>
    <lon>5.0481</lon>
  </row>
  <row>
    <id>Q1407718-152bd460-4247-9202-8a5b-e3ee3dbbb59f</id>
    <country_name>Confederate Ireland</country_name>
    <country_wikidata>Q1407718</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kilkenny</capital>
    <capital_wikidata>Q109092</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.6506</lat>
    <lon>-7.2514</lon>
  </row>
  <row>
    <id>Q76048-A25B76F9-114C-492B-BD6C-298EE5FCE711</id>
    <country_name>Congo Free State</country_name>
    <country_wikidata>Q76048</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vivi</capital>
    <capital_wikidata>Q3085535</capital_wikidata>
    <from>1885</from>
    <until>1886</until>
    <from_year>1885</from_year>
    <until_year>1886</until_year>
    <years_as_capital>1</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>-5.7936</lat>
    <lon>13.4812</lon>
  </row>
  <row>
    <id>Q76048-52a6f922-4aef-a65d-56d7-a44270c385b2</id>
    <country_name>Congo Free State</country_name>
    <country_wikidata>Q76048</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Boma</capital>
    <capital_wikidata>Q223917</capital_wikidata>
    <from>1886</from>
    <until>1908</until>
    <from_year>1886</from_year>
    <until_year>1908</until_year>
    <years_as_capital>22</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>-5.85</lat>
    <lon>13.05</lon>
  </row>
  <row>
    <id>Q221457-8CEE980A-5A9C-478A-B0CF-69B7C038F3E1</id>
    <country_name>Congress Poland</country_name>
    <country_wikidata>Q221457</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Warsaw</capital>
    <capital_wikidata>Q270</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.23</lat>
    <lon>21.0111</lon>
  </row>
  <row>
    <id>q800-D3A22FA3-4538-4D4C-9794-BDDF979D6312</id>
    <country_name>Costa Rica</country_name>
    <country_wikidata>Q800</country_wikidata>
    <country>CRI</country>
    <state_status>sovereign state</state_status>
    <capital>San José</capital>
    <capital_wikidata>Q3070</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>9.9327</lat>
    <lon>-84.0796</lon>
  </row>
  <row>
    <id>Q2324047-763e151a-4324-d77b-13ec-41d6bd922e8b</id>
    <country_name>County of Apulia</country_name>
    <country_wikidata>Q2324047</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Melfi</capital>
    <capital_wikidata>Q30565</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>40.9964</lat>
    <lon>15.6558</lon>
  </row>
  <row>
    <id>Q1235737-63156E94-CBE5-4791-9846-7AF00CA6B645</id>
    <country_name>County of Aragon</country_name>
    <country_wikidata>Q1235737</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Jaca</capital>
    <capital_wikidata>Q49581</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>42.55</lat>
    <lon>-0.55</lon>
  </row>
  <row>
    <id>Q1411349-acd19f93-40b0-5ceb-2edf-728b3dce29a2</id>
    <country_name>County of Armagnac</country_name>
    <country_wikidata>Q1411349</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lectoure</capital>
    <capital_wikidata>Q473919</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>43.9344</lat>
    <lon>0.6211</lon>
  </row>
  <row>
    <id>Q1541613-d7022253-470b-fa42-93c0-c006c5660c14</id>
    <country_name>County of Astarac</country_name>
    <country_wikidata>Q1541613</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mirande</capital>
    <capital_wikidata>Q501104</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>43.5147</lat>
    <lon>0.4042</lon>
  </row>
  <row>
    <id>Q17176539-17e399c7-4ea9-1aef-0d60-fc488b608a2b</id>
    <country_name>County of Aversa</country_name>
    <country_wikidata>Q17176539</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Aversa</capital>
    <capital_wikidata>Q19279</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>40.973</lat>
    <lon>14.2065</lon>
  </row>
  <row>
    <id>Q1233672-307fe870-4c60-270a-1e85-d6d997eb5af7</id>
    <country_name>County of Barcelona</country_name>
    <country_wikidata>Q1233672</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Barcelona</capital>
    <capital_wikidata>Q1492</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.3825</lat>
    <lon>2.1769</lon>
  </row>
  <row>
    <id>Q1541642-332d14ea-4498-2b59-d877-0e9bdb0ba237</id>
    <country_name>County of Besalú</country_name>
    <country_wikidata>Q1541642</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Besalú</capital>
    <capital_wikidata>Q12586</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>42.1989</lat>
    <lon>2.6986</lon>
  </row>
  <row>
    <id>Q2067314-6ABEBF62-E390-444E-9530-ECB45622E357</id>
    <country_name>County of Bigorre</country_name>
    <country_wikidata>Q2067314</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tarbes</capital>
    <capital_wikidata>Q184023</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>43.2328</lat>
    <lon>0.0744</lon>
  </row>
  <row>
    <id>Q19336869-10abf40b-4e34-8915-e38f-072841cbc932</id>
    <country_name>County of Blois</country_name>
    <country_wikidata>Q19336869</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Blois</capital>
    <capital_wikidata>Q160927</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>47.5931</lat>
    <lon>1.3272</lon>
  </row>
  <row>
    <id>Q283330-0D2A57C4-781F-4E48-BFBD-2EBA246284B6</id>
    <country_name>County of Buren</country_name>
    <country_wikidata>Q283330</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Buren</capital>
    <capital_wikidata>Q73061</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.9106</lat>
    <lon>5.3333</lon>
  </row>
  <row>
    <id>Q1249230-5E87D4C9-EAC5-415A-8E9F-8820C5999499</id>
    <country_name>County of Castilla</country_name>
    <country_wikidata>Q1249230</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Burgos</capital>
    <capital_wikidata>Q9580</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>42.3408</lat>
    <lon>-3.6997</lon>
  </row>
  <row>
    <id>Q652275-7476bfa4-47ab-8b80-1c06-bf614e94e0c3</id>
    <country_name>County of Cerdanya</country_name>
    <country_wikidata>Q652275</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Hix</capital>
    <capital_wikidata>Q17182098</capital_wikidata>
    <from>0798</from>
    <from_year>798</from_year>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>42.4336</lat>
    <lon>1.9546</lon>
  </row>
  <row>
    <id>Q652275-e33adc23-4659-2b20-3dbd-526c7e3f3994</id>
    <country_name>County of Cerdanya</country_name>
    <country_wikidata>Q652275</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Puigcerdà</capital>
    <capital_wikidata>Q13765</capital_wikidata>
    <from>1178</from>
    <from_year>1178</from_year>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>42.4317</lat>
    <lon>1.9283</lon>
  </row>
  <row>
    <id>Q652275-230bbbd9-45fc-7320-16c0-7681a2b24069</id>
    <country_name>County of Cerdanya</country_name>
    <country_wikidata>Q652275</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Llívia</capital>
    <capital_wikidata>Q13745</capital_wikidata>
    <until>1178</until>
    <until_year>1178</until_year>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>42.4639</lat>
    <lon>1.9791</lon>
  </row>
  <row>
    <id>Q546266-85e8cab7-45dc-18b8-a0ba-da3c5bf6fd1d</id>
    <country_name>County of Champagne</country_name>
    <country_wikidata>Q546266</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Troyes</capital>
    <capital_wikidata>Q5489</capital_wikidata>
    <from>1125</from>
    <from_year>1125</from_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>48.2989</lat>
    <lon>4.0781</lon>
  </row>
  <row>
    <id>Q546266-bdd6e37c-41ec-8d84-3b2f-977f3456d140</id>
    <country_name>County of Champagne</country_name>
    <country_wikidata>Q546266</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Provins</capital>
    <capital_wikidata>Q203285</capital_wikidata>
    <until>1335</until>
    <until_year>1335</until_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>48.5589</lat>
    <lon>3.2994</lon>
  </row>
  <row>
    <id>Q868222-769b4523-4d22-6b1b-4882-9f3d08b994dc</id>
    <country_name>County of Coimbra</country_name>
    <country_wikidata>Q868222</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Coimbra</capital>
    <capital_wikidata>Q45412</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>40.2111</lat>
    <lon>-8.4289</lon>
  </row>
  <row>
    <id>Q322763-bd8322fe-4a3d-1292-ac81-a2d31bf21aae</id>
    <country_name>County of Dagsburg</country_name>
    <country_wikidata>Q322763</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Dabo</capital>
    <capital_wikidata>Q22092</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.6539</lat>
    <lon>7.2369</lon>
  </row>
  <row>
    <id>Q232806-89185FEE-63AB-47B2-A961-E3BA1E5300A4</id>
    <country_name>County of Edessa</country_name>
    <country_wikidata>Q232806</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Edessa</capital>
    <capital_wikidata>Q1190403</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.15</lat>
    <lon>38.7825</lon>
  </row>
  <row>
    <id>Q1541699-f95eb3ef-4854-48e7-20b9-4b0b7445c4a8</id>
    <country_name>County of Empúries</country_name>
    <country_wikidata>Q1541699</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sant Martí d'Empúries</capital>
    <capital_wikidata>Q1106404</capital_wikidata>
    <from>0812</from>
    <until>1078</until>
    <from_year>812</from_year>
    <until_year>1078</until_year>
    <years_as_capital>266</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>42.1333</lat>
    <lon>3.1167</lon>
  </row>
  <row>
    <id>Q1541699-73eb54b7-4444-b5cd-0534-4ee991871319</id>
    <country_name>County of Empúries</country_name>
    <country_wikidata>Q1541699</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Castelló d'Empúries</capital>
    <capital_wikidata>Q11286</capital_wikidata>
    <from>1078</from>
    <from_year>1078</from_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>42.2582</lat>
    <lon>3.0747</lon>
  </row>
  <row>
    <id>Q157070-65C1C9A1-F75D-4072-AF75-D8CCEC86BC3E</id>
    <country_name>County of Flanders</country_name>
    <country_wikidata>Q157070</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bruges</capital>
    <capital_wikidata>Q12994</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.2089</lat>
    <lon>3.2242</lon>
  </row>
  <row>
    <id>Q2037817-69828f9f-453a-2939-37f2-c8b2f162a25a</id>
    <country_name>County of Girona</country_name>
    <country_wikidata>Q2037817</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Girona</capital>
    <capital_wikidata>Q24001084</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.9831</lat>
    <lon>2.8249</lon>
  </row>
  <row>
    <id>q762943-9b2db171-48ba-87dd-ba3c-047a9879fff7</id>
    <country_name>County of Holland</country_name>
    <country_wikidata>Q762943</country_wikidata>
    <state_status>historical state</state_status>
    <capital>The Hague</capital>
    <capital_wikidata>Q36600</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.08</lat>
    <lon>4.31</lon>
  </row>
  <row>
    <id>Q572222-AF52DBB5-4810-42E0-A06E-BDAE61F7DE95</id>
    <country_name>County of Horne</country_name>
    <country_wikidata>Q572222</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Horn</capital>
    <capital_wikidata>Q502425</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.2111</lat>
    <lon>5.9428</lon>
  </row>
  <row>
    <id>Q1541723-a26f4d3c-41c2-c6e0-6fca-2f8b422c3de2</id>
    <country_name>County of Lippe</country_name>
    <country_wikidata>Q1541723</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Detmold</capital>
    <capital_wikidata>Q3922</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.9378</lat>
    <lon>8.8833</lon>
  </row>
  <row>
    <id>Q5177890-2ac120b0-49db-6158-cdb7-2819ecec3c1d</id>
    <country_name>County of Luxembourg</country_name>
    <country_wikidata>Q5177890</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Luxembourg</capital>
    <capital_wikidata>Q1842</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>49.6114</lat>
    <lon>6.13</lon>
  </row>
  <row>
    <id>Q589251-1f4ad7db-44fb-7dc4-c041-9fc38a37d7a8</id>
    <country_name>County of Montbéliard</country_name>
    <country_wikidata>Q589251</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Montbéliard</capital>
    <capital_wikidata>Q154715</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>47.5097</lat>
    <lon>6.7983</lon>
  </row>
  <row>
    <id>Q599613-8FCC2F4D-8B05-41CE-B4E2-2BFF79D04FA2</id>
    <country_name>County of Namur</country_name>
    <country_wikidata>Q599613</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Namur</capital>
    <capital_wikidata>Q134121</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.4667</lat>
    <lon>4.8667</lon>
  </row>
  <row>
    <id>Q12817455-43CF569C-B5AD-414E-902B-32E724C4549B</id>
    <country_name>County of Nassau</country_name>
    <country_wikidata>Q12817455</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nassau</capital>
    <capital_wikidata>Q158216</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.3158</lat>
    <lon>7.8022</lon>
  </row>
  <row>
    <id>Q706553-a0528616-43dc-51fb-2f70-a223fa9957c1</id>
    <country_name>County of Nice</country_name>
    <country_wikidata>Q706553</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nice</capital>
    <capital_wikidata>Q33959</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>43.7019</lat>
    <lon>7.2683</lon>
  </row>
  <row>
    <id>Q170390-FD0E116B-955D-43F4-9654-8D0331C8E2A6</id>
    <country_name>County of Oldenburg</country_name>
    <country_wikidata>Q170390</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Oldenburg</capital>
    <capital_wikidata>Q2936</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>53.1439</lat>
    <lon>8.2139</lon>
  </row>
  <row>
    <id>Q1541779-1162dfb1-447d-1077-18e8-16abb14c593d</id>
    <country_name>County of Osona</country_name>
    <country_wikidata>Q1541779</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vic</capital>
    <capital_wikidata>Q13855</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.9304</lat>
    <lon>2.2546</lon>
  </row>
  <row>
    <id>Q1541787-9B856167-A6B2-4F05-B306-EAE8EF3164D3</id>
    <country_name>County of Pallars</country_name>
    <country_wikidata>Q1541787</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sort</capital>
    <capital_wikidata>Q12690</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>42.4101</lat>
    <lon>1.1287</lon>
  </row>
  <row>
    <id>Q1139807-de9dd6f4-430e-5389-9b90-49be30e911ce</id>
    <country_name>County of Portugal</country_name>
    <country_wikidata>Q1139807</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Guimarães</capital>
    <capital_wikidata>Q170903</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.445</lat>
    <lon>-8.2908</lon>
  </row>
  <row>
    <id>Q2991382-9899f8e0-48bf-0265-e39f-1bb4c67a8d0f</id>
    <country_name>County of Provence</country_name>
    <country_wikidata>Q2991382</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Aix-en-Provence</capital>
    <capital_wikidata>Q47465</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>43.5278</lat>
    <lon>5.4456</lon>
  </row>
  <row>
    <id>Q1297894-5600C95C-1F33-4CB5-829B-A9FB95425C3B</id>
    <country_name>County of Ribagorza</country_name>
    <country_wikidata>Q1297894</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Benabarre</capital>
    <capital_wikidata>Q816666</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>42.1167</lat>
    <lon>0.4833</lon>
  </row>
  <row>
    <id>Q1297894-d8dc90d3-4157-0fac-bcc4-8e2296101448</id>
    <country_name>County of Ribagorza</country_name>
    <country_wikidata>Q1297894</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Roda de Isábena</capital>
    <capital_wikidata>Q1020516</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>42.2833</lat>
    <lon>0.5333</lon>
  </row>
  <row>
    <id>Q1232887-C114B93E-4F37-419C-AE56-D1DB696ADCFA</id>
    <country_name>County of Savoy</country_name>
    <country_wikidata>Q1232887</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Chambéry</capital>
    <capital_wikidata>Q165090</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>45.5664</lat>
    <lon>5.9208</lon>
  </row>
  <row>
    <id>Q1917014-51f525ea-484b-da24-c79c-f27ad5fd38c9</id>
    <country_name>County of Sicily</country_name>
    <country_wikidata>Q1917014</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Palermo</capital>
    <capital_wikidata>Q2656</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>38.1157</lat>
    <lon>13.3613</lon>
  </row>
  <row>
    <id>Q2991433-68D4997E-D9BB-4343-9211-945E0677371C</id>
    <country_name>County of Sobrarbe</country_name>
    <country_wikidata>Q2991433</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Santa María de Buil</capital>
    <capital_wikidata>Q9074110</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>42.3669</lat>
    <lon>0.0874</lon>
  </row>
  <row>
    <id>Q2991433-d88c38cd-480d-69cc-7462-bd06598be434</id>
    <country_name>County of Sobrarbe</country_name>
    <country_wikidata>Q2991433</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Aínsa</capital>
    <capital_wikidata>Q13049257</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>42.4172</lat>
    <lon>0.1375</lon>
  </row>
  <row>
    <id>Q272033-35B31DC9-097C-4704-BEB4-3F561C86DC28</id>
    <country_name>County of Tripoli</country_name>
    <country_wikidata>Q272033</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tripoli</capital>
    <capital_wikidata>Q168954</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>34.4367</lat>
    <lon>35.8344</lon>
  </row>
  <row>
    <id>Q1514510-9C9C7B34-9AB2-4CF0-8D77-B02C6960F74A</id>
    <country_name>County of Urgell</country_name>
    <country_wikidata>Q1514510</country_wikidata>
    <state_status>historical state</state_status>
    <capital>La Seu d'Urgell</capital>
    <capital_wikidata>Q673412</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>42.3578</lat>
    <lon>1.4586</lon>
  </row>
  <row>
    <id>Q544636-0b7c2258-4d33-44aa-709c-bab06c81c346</id>
    <country_name>County of Verdun</country_name>
    <country_wikidata>Q544636</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Verdun</capital>
    <capital_wikidata>Q154748</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>49.1597</lat>
    <lon>5.3828</lon>
  </row>
  <row>
    <id>Q110133597-e0d29e65-4494-73db-e3ca-7a571dba5991</id>
    <country_name>County of Vianden</country_name>
    <country_wikidata>Q110133597</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vianden</capital>
    <capital_wikidata>Q836082</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>49.9336</lat>
    <lon>6.2075</lon>
  </row>
  <row>
    <id>Q1945565-d3d5c723-4472-e4e5-3036-c6c00aa30a45</id>
    <country_name>County of Zeeland</country_name>
    <country_wikidata>Q1945565</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Middelburg</capital>
    <capital_wikidata>Q52101</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.4997</lat>
    <lon>3.6136</lon>
  </row>
  <row>
    <id>Q953432-ef813aef-4ee9-98aa-56af-4332a3557f02</id>
    <country_name>Couto Misto</country_name>
    <country_wikidata>Q953432</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Santiago de Rubiás</capital>
    <capital_wikidata>Q7420386</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.908</lat>
    <lon>-7.818</lon>
  </row>
  <row>
    <id>Q72785-d793c320-4c09-9d1f-632e-b061d644b5bd</id>
    <country_name>Cretan State</country_name>
    <country_wikidata>Q72785</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Chania</capital>
    <capital_wikidata>Q182299</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>35.5167</lat>
    <lon>24.0167</lon>
  </row>
  <row>
    <id>Q160440-bf44e2d6-464b-ab90-cf5d-d181afab72b1</id>
    <country_name>Crimean Khanate</country_name>
    <country_wikidata>Q160440</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Chufut-Kale</capital>
    <capital_wikidata>Q1017178</capital_wikidata>
    <from>1449</from>
    <until>1490</until>
    <from_year>1449</from_year>
    <until_year>1490</until_year>
    <years_as_capital>41</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>44.741</lat>
    <lon>33.9245</lon>
  </row>
  <row>
    <id>Q160440-F9B3B49E-4E27-4526-A0E4-53D70FBCC1E6</id>
    <country_name>Crimean Khanate</country_name>
    <country_wikidata>Q160440</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bakhchysarai</capital>
    <capital_wikidata>Q158604</capital_wikidata>
    <from>1490</from>
    <until>1783</until>
    <from_year>1490</from_year>
    <until_year>1783</until_year>
    <years_as_capital>293</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>44.7528</lat>
    <lon>33.8608</lon>
  </row>
  <row>
    <id>Q160440-f8c53cdf-49a1-8366-f5da-2452a318ad6a</id>
    <country_name>Crimean Khanate</country_name>
    <country_wikidata>Q160440</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Staroselye</capital>
    <capital_wikidata>Q17305931</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>44.7472</lat>
    <lon>33.9069</lon>
  </row>
  <row>
    <id>Q1419681-ea318314-4352-f64e-3ab4-8857106b897c</id>
    <country_name>Crimean People's Republic</country_name>
    <country_wikidata>Q1419681</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bakhchysarai</capital>
    <capital_wikidata>Q158604</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>44.7528</lat>
    <lon>33.8608</lon>
  </row>
  <row>
    <id>Q2703679-f12addfb-4678-921f-6b80-18d4164837ad</id>
    <country_name>Crimean Regional Government</country_name>
    <country_wikidata>Q2703679</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Simferopol</capital>
    <capital_wikidata>Q19566</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>44.9484</lat>
    <lon>34.1</lon>
  </row>
  <row>
    <id>Q1842362-e1b700a9-44b8-0775-527b-4bb9dc2dd45a</id>
    <country_name>Crimean Socialist Soviet Republic</country_name>
    <country_wikidata>Q1842362</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Simferopol</capital>
    <capital_wikidata>Q19566</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>44.9484</lat>
    <lon>34.1</lon>
  </row>
  <row>
    <id>q224-03EB33A0-5668-47BB-A348-9ABAC14DA421</id>
    <country_name>Croatia</country_name>
    <country_wikidata>Q224</country_wikidata>
    <country>HRV</country>
    <state_status>sovereign state</state_status>
    <capital>Zagreb</capital>
    <capital_wikidata>Q1435</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>45.8131</lat>
    <lon>15.9772</lon>
  </row>
  <row>
    <id>Q1789596-6afa8906-4818-423a-89cb-482b033bf5ba</id>
    <country_name>Croatia in personal union with Hungary</country_name>
    <country_wikidata>Q1789596</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Knin</capital>
    <capital_wikidata>Q208514</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>44.0333</lat>
    <lon>16.1833</lon>
  </row>
  <row>
    <id>Q1789596-A5257A92-1231-4F83-8F72-C1FBBDEAAA94</id>
    <country_name>Croatia in personal union with Hungary</country_name>
    <country_wikidata>Q1789596</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Biograd na Moru</capital>
    <capital_wikidata>Q399139</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>43.9333</lat>
    <lon>15.4333</lon>
  </row>
  <row>
    <id>Q1789596-de2a6461-4e14-cf92-cb54-d8d31d5755b3</id>
    <country_name>Croatia in personal union with Hungary</country_name>
    <country_wikidata>Q1789596</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bihać</capital>
    <capital_wikidata>Q204434</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>44.8147</lat>
    <lon>15.8692</lon>
  </row>
  <row>
    <id>Q217196-27897235-43b2-2499-5c55-80488f7e904a</id>
    <country_name>Crown of Castile</country_name>
    <country_wikidata>Q217196</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Valladolid</capital>
    <capital_wikidata>Q8356</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>41.652</lat>
    <lon>-4.7286</lon>
  </row>
  <row>
    <id>Q217196-f1aabc0f-4222-16ae-e393-1511d2c5bfe3</id>
    <country_name>Crown of Castile</country_name>
    <country_wikidata>Q217196</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Madrid</capital>
    <capital_wikidata>Q2807</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>40.4169</lat>
    <lon>-3.7033</lon>
  </row>
  <row>
    <id>Q171348-088CB495-3ADC-4B32-9650-7187EADEFCC1</id>
    <country_name>Crown of the Kingdom of Poland</country_name>
    <country_wikidata>Q171348</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kraków</capital>
    <capital_wikidata>Q31487</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>50.0614</lat>
    <lon>19.9372</lon>
  </row>
  <row>
    <id>Q171348-16289026-4b8a-6a7f-e59e-f9d9898b8eda</id>
    <country_name>Crown of the Kingdom of Poland</country_name>
    <country_wikidata>Q171348</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Warsaw</capital>
    <capital_wikidata>Q270</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>52.23</lat>
    <lon>21.0111</lon>
  </row>
  <row>
    <id>q241-8868eb5a-44e3-7eea-4661-5af39f055ee0</id>
    <country_name>Cuba</country_name>
    <country_wikidata>Q241</country_wikidata>
    <country>CUB</country>
    <state_status>sovereign state</state_status>
    <capital>Havana</capital>
    <capital_wikidata>Q1563</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>23.1367</lat>
    <lon>-82.3589</lon>
  </row>
  <row>
    <id>Q1720882-56ab8593-4ffb-e1f8-1421-dd7030a5612a</id>
    <country_name>Cutch State</country_name>
    <country_wikidata>Q1720882</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bhuj</capital>
    <capital_wikidata>Q798382</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>23.25</lat>
    <lon>69.67</lon>
  </row>
  <row>
    <id>q229-320F8EAE-42C1-42E6-8FE1-390031D0FF59</id>
    <country_name>Cyprus</country_name>
    <country_wikidata>Q229</country_wikidata>
    <country>CYP</country>
    <state_status>sovereign state</state_status>
    <capital>Nicosia</capital>
    <capital_wikidata>Q3856</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>35.1725</lat>
    <lon>33.365</lon>
  </row>
  <row>
    <id>q213-1E56D764-BD62-4E9C-9A9C-BEA65531C905</id>
    <country_name>Czech Republic</country_name>
    <country_wikidata>Q213</country_wikidata>
    <country>CZE</country>
    <state_status>sovereign state</state_status>
    <capital>Prague</capital>
    <capital_wikidata>Q1085</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>50.0875</lat>
    <lon>14.4214</lon>
  </row>
  <row>
    <id>Q1998866-81206cbb-4359-3e15-7351-c338b59dbcee</id>
    <country_name>Czech and Slovak Federal Republic</country_name>
    <country_wikidata>Q1998866</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Prague</capital>
    <capital_wikidata>Q1085</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.0875</lat>
    <lon>14.4214</lon>
  </row>
  <row>
    <id>Q11178782-b3e4413b-45d1-c515-515d-af2f76e3daca</id>
    <country_name>Czechoslovak Republic</country_name>
    <country_wikidata>Q11178782</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Prague</capital>
    <capital_wikidata>Q1085</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.0875</lat>
    <lon>14.4214</lon>
  </row>
  <row>
    <id>Q853348-8d693163-4d6c-038c-6aa7-507a21f7de66</id>
    <country_name>Czechoslovak Socialist Republic</country_name>
    <country_wikidata>Q853348</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Prague</capital>
    <capital_wikidata>Q1085</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.0875</lat>
    <lon>14.4214</lon>
  </row>
  <row>
    <id>Q33946-9c136da4-4bd2-ce79-f836-8636d561976d</id>
    <country_name>Czechoslovakia</country_name>
    <country_wikidata>Q33946</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Prague</capital>
    <capital_wikidata>Q1085</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.0875</lat>
    <lon>14.4214</lon>
  </row>
  <row>
    <id>Q173082-3BEF6970-2FB7-4EF7-A555-A8C07DD6D00E</id>
    <country_name>Dacia</country_name>
    <country_wikidata>Q173082</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sarmizegetusa Regia</capital>
    <capital_wikidata>Q739802</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>45.6228</lat>
    <lon>23.3103</lon>
  </row>
  <row>
    <id>Q468814-D3256B8F-5B67-41A6-BDB7-F3AF17186D86</id>
    <country_name>Dahomey</country_name>
    <country_wikidata>Q468814</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Abomey</capital>
    <capital_wikidata>Q189685</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>7.1853</lat>
    <lon>1.9914</lon>
  </row>
  <row>
    <id>Q1149098-4f31fb86-4083-d1c4-23c7-5144c9e4f983</id>
    <country_name>Dai</country_name>
    <country_wikidata>Q1149098</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Shengle</capital>
    <capital_wikidata>Q15940691</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>40.476</lat>
    <lon>111.7572</lon>
  </row>
  <row>
    <id>Q430309-b8ddb589-464d-81a1-c7fb-c734e090bcb9</id>
    <country_name>Dai Viet</country_name>
    <country_wikidata>Q430309</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Thăng Long</capital>
    <capital_wikidata>Q10825974</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
  </row>
  <row>
    <id>Q26472-B2CB6499-90D8-4B77-B435-BCB6881EEE65</id>
    <country_name>Dali Kingdom</country_name>
    <country_wikidata>Q26472</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Dali</capital>
    <capital_wikidata>Q855228</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>25.6811</lat>
    <lon>100.3003</lon>
  </row>
  <row>
    <id>Q846670-0099E473-4910-4542-AA3D-4B393A8C167A</id>
    <country_name>Danishmendid dynasty</country_name>
    <country_wikidata>Q846670</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sivas</capital>
    <capital_wikidata>Q107401</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>39.75</lat>
    <lon>37.0167</lon>
  </row>
  <row>
    <id>Q1106424-64c7fd81-4a80-a2bf-0fa4-4af3d971bc39</id>
    <country_name>Darawiish</country_name>
    <country_wikidata>Q1106424</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Taleh</capital>
    <capital_wikidata>Q1111521</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>9.1483</lat>
    <lon>48.4211</lon>
  </row>
  <row>
    <id>Q1106424-e0943735-42b8-c72a-446f-f70c84d077b9</id>
    <country_name>Darawiish</country_name>
    <country_wikidata>Q1106424</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Eyl</capital>
    <capital_wikidata>Q1019060</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>7.9667</lat>
    <lon>49.85</lon>
  </row>
  <row>
    <id>Q1106424-f383c38c-4df0-a637-9405-ec63554d1fcb</id>
    <country_name>Darawiish</country_name>
    <country_wikidata>Q1106424</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Dareema Caddo</capital>
    <capital_wikidata>Q79428121</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
  </row>
  <row>
    <id>Q1172600-21b18742-46ad-52b3-0934-e3102c29dd24</id>
    <country_name>Datia State</country_name>
    <country_wikidata>Q1172600</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Datia</capital>
    <capital_wikidata>Q1192238</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>25.6731</lat>
    <lon>78.4592</lon>
  </row>
  <row>
    <id>Q1183649-BD255A95-B840-4FDF-9CDF-B3216D9A5BF8</id>
    <country_name>Deccan sultanates</country_name>
    <country_wikidata>Q1183649</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ahilyanagar</capital>
    <capital_wikidata>Q223517</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>19.0833</lat>
    <lon>74.7333</lon>
  </row>
  <row>
    <id>Q229411-7294c363-4d5d-7029-7472-7e7241780e01</id>
    <country_name>Delhi Sultanate</country_name>
    <country_wikidata>Q229411</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lahore</capital>
    <capital_wikidata>Q11739</capital_wikidata>
    <from>1206</from>
    <until>1210</until>
    <from_year>1206</from_year>
    <until_year>1210</until_year>
    <years_as_capital>4</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>31.5497</lat>
    <lon>74.3436</lon>
  </row>
  <row>
    <id>Q229411-a09d14cd-4f63-5e60-1f23-589ad0542594</id>
    <country_name>Delhi Sultanate</country_name>
    <country_wikidata>Q229411</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Budaun</capital>
    <capital_wikidata>Q798839</capital_wikidata>
    <from>1210</from>
    <until>1214</until>
    <from_year>1210</from_year>
    <until_year>1214</until_year>
    <years_as_capital>4</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>28.05</lat>
    <lon>79.12</lon>
  </row>
  <row>
    <id>Q229411-57131981-909D-4B81-8153-1571F863FC0E</id>
    <country_name>Delhi Sultanate</country_name>
    <country_wikidata>Q229411</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Delhi</capital>
    <capital_wikidata>Q1353</capital_wikidata>
    <from>1214</from>
    <until>1327</until>
    <from_year>1214</from_year>
    <until_year>1327</until_year>
    <years_as_capital>113</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>28.6667</lat>
    <lon>77.2167</lon>
  </row>
  <row>
    <id>Q1277557-b2e7c56d-40fe-5b61-0bee-ae3a5e174e29</id>
    <country_name>Democratic Federal Yugoslavia</country_name>
    <country_wikidata>Q1277557</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Belgrade</capital>
    <capital_wikidata>Q3711</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>44.8178</lat>
    <lon>20.4569</lon>
  </row>
  <row>
    <id>Q330988-d80af2ba-4e25-71fc-723a-34d9472774b6</id>
    <country_name>Democratic Kampuchea</country_name>
    <country_wikidata>Q330988</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Phnom Penh</capital>
    <capital_wikidata>Q1850</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>11.5696</lat>
    <lon>104.921</lon>
  </row>
  <row>
    <id>Q476757-1922c5bb-492f-94ac-6ac5-9609676cd83b</id>
    <country_name>Democratic Republic of Afghanistan</country_name>
    <country_wikidata>Q476757</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kabul</capital>
    <capital_wikidata>Q5838</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>34.5328</lat>
    <lon>69.1658</lon>
  </row>
  <row>
    <id>Q114415093-5daa3938-48fb-02d8-1a8e-5e23c8660c91</id>
    <country_name>Democratic Republic of East Timor</country_name>
    <country_wikidata>Q114415093</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Dili</capital>
    <capital_wikidata>Q9310</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-8.5536</lat>
    <lon>125.5783</lon>
  </row>
  <row>
    <id>Q245160-f98215c6-42f9-7850-8006-789e82d2c885</id>
    <country_name>Democratic Republic of Georgia</country_name>
    <country_wikidata>Q245160</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tbilisi</capital>
    <capital_wikidata>Q994</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.7225</lat>
    <lon>44.7925</lon>
  </row>
  <row>
    <id>Q5866728-2C4D504A-1F5E-435F-9A7D-56093A6CC14D</id>
    <country_name>Democratic Republic of Sudan</country_name>
    <country_wikidata>Q5866728</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Khartoum</capital>
    <capital_wikidata>Q1963</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>15.6031</lat>
    <lon>32.5265</lon>
  </row>
  <row>
    <id>q974-F8F5F746-C7DF-4259-9038-4A46955DF80F</id>
    <country_name>Democratic Republic of the Congo</country_name>
    <country_wikidata>Q974</country_wikidata>
    <country>COD</country>
    <state_status>sovereign state</state_status>
    <capital>Kinshasa</capital>
    <capital_wikidata>Q3838</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>-4.3219</lat>
    <lon>15.3119</lon>
  </row>
  <row>
    <id>Q62651-953d364f-4846-20b8-0206-c881164025c6</id>
    <country_name>Denmark–Norway</country_name>
    <country_wikidata>Q62651</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Oslo</capital>
    <capital_wikidata>Q585</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>59.9133</lat>
    <lon>10.7389</lon>
  </row>
  <row>
    <id>Q62651-E358D518-5289-4D51-94F0-2FDBA6FFECEB</id>
    <country_name>Denmark–Norway</country_name>
    <country_wikidata>Q62651</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Copenhagen</capital>
    <capital_wikidata>Q1748</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>55.6761</lat>
    <lon>12.5689</lon>
  </row>
  <row>
    <id>Q1740529-daa9890a-4e39-9316-b0b5-902cc2639bcb</id>
    <country_name>Derbent Khanate</country_name>
    <country_wikidata>Q1740529</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Derbent</capital>
    <capital_wikidata>Q131416</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>42.0578</lat>
    <lon>48.2889</lon>
  </row>
  <row>
    <id>Q542165-F7775607-0698-49AE-9274-7C2D1818C110</id>
    <country_name>Despotate of Dobruja</country_name>
    <country_wikidata>Q542165</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kavarna</capital>
    <capital_wikidata>Q405120</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>43.4361</lat>
    <lon>28.3394</lon>
  </row>
  <row>
    <id>Q187684-ff5707d6-4848-e8fe-5de7-ed7ecfc8e20e</id>
    <country_name>Despotate of Epirus</country_name>
    <country_wikidata>Q187684</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ioannina</capital>
    <capital_wikidata>Q183199</capital_wikidata>
    <from>1356</from>
    <until>1430</until>
    <from_year>1356</from_year>
    <until_year>1430</until_year>
    <years_as_capital>74</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>39.6636</lat>
    <lon>20.8522</lon>
  </row>
  <row>
    <id>Q187684-7583b557-4a20-1c38-aa46-c8150cc02b27</id>
    <country_name>Despotate of Epirus</country_name>
    <country_wikidata>Q187684</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vonitsa</capital>
    <capital_wikidata>Q1727945</capital_wikidata>
    <from>1460</from>
    <until>1479</until>
    <from_year>1460</from_year>
    <until_year>1479</until_year>
    <years_as_capital>19</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>38.9153</lat>
    <lon>20.8911</lon>
  </row>
  <row>
    <id>Q187684-D5AEC97B-BC0B-4618-B067-B4E6BED22D0D</id>
    <country_name>Despotate of Epirus</country_name>
    <country_wikidata>Q187684</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Arta</capital>
    <capital_wikidata>Q208573</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>39.165</lat>
    <lon>20.9875</lon>
  </row>
  <row>
    <id>Q1207105-B9366B2C-A04B-43EA-9A58-E1E9FB6DDC37</id>
    <country_name>Dewas State</country_name>
    <country_wikidata>Q1207105</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Dewas</capital>
    <capital_wikidata>Q1266413</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>22.9667</lat>
    <lon>76.0667</lon>
  </row>
  <row>
    <id>Q1207561-83bd7bd4-4ac8-4148-a0c0-e2a4e1f7ca54</id>
    <country_name>Dhar State</country_name>
    <country_wikidata>Q1207561</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Dhar</capital>
    <capital_wikidata>Q617987</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>22.5992</lat>
    <lon>75.3028</lon>
  </row>
  <row>
    <id>Q657861-0acdf8e8-4289-6620-f209-74652604c783</id>
    <country_name>Dholpur State</country_name>
    <country_wikidata>Q657861</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Dholpur</capital>
    <capital_wikidata>Q1264412</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>26.7</lat>
    <lon>77.9</lon>
  </row>
  <row>
    <id>Q1683696-0f5ba87d-4ea6-0eeb-79d0-243d9ca47fc8</id>
    <country_name>Diarra</country_name>
    <country_wikidata>Q1683696</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Diarra</capital>
    <capital_wikidata>Q3026354</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>15.3175</lat>
    <lon>-9.3214</lon>
  </row>
  <row>
    <id>Q3623202-8FFB384E-A835-43A1-BA07-A937826D1619</id>
    <country_name>District of Branković</country_name>
    <country_wikidata>Q3623202</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Pristina</capital>
    <capital_wikidata>Q25270</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>42.6667</lat>
    <lon>21.1667</lon>
  </row>
  <row>
    <id>q977-ECA6EDB8-6BE4-424F-BC8C-7B4069DEB574</id>
    <country_name>Djibouti</country_name>
    <country_wikidata>Q977</country_wikidata>
    <country>DJI</country>
    <state_status>sovereign state</state_status>
    <capital>Djibouti</capital>
    <capital_wikidata>Q3604</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>11.595</lat>
    <lon>43.1481</lon>
  </row>
  <row>
    <id>q784-AA7AAD4A-1417-4190-B998-CE0E6C49720E</id>
    <country_name>Dominica</country_name>
    <country_wikidata>Q784</country_wikidata>
    <country>DMA</country>
    <state_status>sovereign state</state_status>
    <capital>Roseau</capital>
    <capital_wikidata>Q36281</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>15.3</lat>
    <lon>-61.3833</lon>
  </row>
  <row>
    <id>q786-CBC2425A-1DDC-490E-ABFB-E832566E244D</id>
    <country_name>Dominican Republic</country_name>
    <country_wikidata>Q786</country_wikidata>
    <country>DOM</country>
    <state_status>sovereign state</state_status>
    <capital>Santo Domingo</capital>
    <capital_wikidata>Q34820</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>18.4625</lat>
    <lon>-69.9361</lon>
  </row>
  <row>
    <id>Q2670092-a9b21b36-4546-f341-ed8d-19942567dc3c</id>
    <country_name>Dominion of Ceylon</country_name>
    <country_wikidata>Q2670092</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Colombo</capital>
    <capital_wikidata>Q35381</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>6.9267</lat>
    <lon>79.8606</lon>
  </row>
  <row>
    <id>Q5291089-6a16c7ed-4d30-f0b0-cb81-8df86542bbf2</id>
    <country_name>Dominion of Fiji</country_name>
    <country_wikidata>Q5291089</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Suva</capital>
    <capital_wikidata>Q38807</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-18.1267</lat>
    <lon>178.44</lon>
  </row>
  <row>
    <id>Q1775277-AFE9D8D0-200F-4C86-9A89-F4F147DBAA23</id>
    <country_name>Dominion of India</country_name>
    <country_wikidata>Q1775277</country_wikidata>
    <state_status>historical state</state_status>
    <capital>New Delhi</capital>
    <capital_wikidata>Q987</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>28.6139</lat>
    <lon>77.2089</lon>
  </row>
  <row>
    <id>Q38610-327dcda2-4df1-8bea-4ea5-0b7927a44ecf</id>
    <country_name>Dominion of Newfoundland</country_name>
    <country_wikidata>Q38610</country_wikidata>
    <state_status>historical state</state_status>
    <capital>St. John's</capital>
    <capital_wikidata>Q2082</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>47.5614</lat>
    <lon>-52.7119</lon>
  </row>
  <row>
    <id>Q2006542-72366367-4c1a-7e3e-3933-65c685ae4fc5</id>
    <country_name>Dominion of Pakistan</country_name>
    <country_wikidata>Q2006542</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Karachi</capital>
    <capital_wikidata>Q8660</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>24.86</lat>
    <lon>67.01</lon>
  </row>
  <row>
    <id>Q61427-c704c813-453f-e672-a7c6-714cef152c31</id>
    <country_name>Donetsk-Krivoy Rog Soviet Republic</country_name>
    <country_wikidata>Q61427</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Luhansk</capital>
    <capital_wikidata>Q134279</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>48.5717</lat>
    <lon>39.2973</lon>
  </row>
  <row>
    <id>Q61427-cdef1f78-4137-6cdf-a35d-e05ef11d81ab</id>
    <country_name>Donetsk-Krivoy Rog Soviet Republic</country_name>
    <country_wikidata>Q61427</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kharkiv</capital>
    <capital_wikidata>Q42308</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>49.9925</lat>
    <lon>36.2311</lon>
  </row>
  <row>
    <id>Q1147373-ca992dfa-4d3c-6ff2-260f-05047277684e</id>
    <country_name>Dongdan Kingdom</country_name>
    <country_wikidata>Q1147373</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Shangjing Longquanfu</capital>
    <capital_wikidata>Q709753</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>44.1306</lat>
    <lon>129.1417</lon>
  </row>
  <row>
    <id>Q4167201-3532b890-4cd4-82d5-cea2-2d8b2fc54b3f</id>
    <country_name>Dosso Kingdom</country_name>
    <country_wikidata>Q4167201</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Dosso</capital>
    <capital_wikidata>Q985620</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>13.0505</lat>
    <lon>3.2081</lon>
  </row>
  <row>
    <id>Q16550783-34ccc46b-4972-de8b-0ae4-67afdc069a29</id>
    <country_name>Duchy of Anhalt</country_name>
    <country_wikidata>Q16550783</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Dessau</capital>
    <capital_wikidata>Q487070</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.8342</lat>
    <lon>12.2461</lon>
  </row>
  <row>
    <id>Q7703611-65D102FA-CFFD-4F83-805E-DB1B04D8007D</id>
    <country_name>Duchy of Aquitaine</country_name>
    <country_wikidata>Q7703611</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Toulouse</capital>
    <capital_wikidata>Q7880</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>43.6044</lat>
    <lon>1.4433</lon>
  </row>
  <row>
    <id>Q508488-c90e15a7-4d38-bc4c-d66d-79245da17931</id>
    <country_name>Duchy of Arenberg-Meppen</country_name>
    <country_wikidata>Q508488</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Recklinghausen</capital>
    <capital_wikidata>Q3050</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.6167</lat>
    <lon>7.2</lon>
  </row>
  <row>
    <id>Q334714-E74614B7-B8C3-4ADE-B0BC-9516945848E1</id>
    <country_name>Duchy of Athens</country_name>
    <country_wikidata>Q334714</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Athens</capital>
    <capital_wikidata>Q1524</capital_wikidata>
    <from>1205</from>
    <until>1311</until>
    <from_year>1205</from_year>
    <until_year>1311</until_year>
    <years_as_capital>106</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>37.9842</lat>
    <lon>23.7281</lon>
  </row>
  <row>
    <id>Q334714-479201b0-408e-a543-aa69-bd3b38740755</id>
    <country_name>Duchy of Athens</country_name>
    <country_wikidata>Q334714</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Thebes</capital>
    <capital_wikidata>Q11225429</capital_wikidata>
    <from>1311</from>
    <from_year>1311</from_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>38.3239</lat>
    <lon>23.3172</lon>
  </row>
  <row>
    <id>Q3624335-7C8165B5-5A0B-4A95-93CE-06053B92286A</id>
    <country_name>Duchy of Austria</country_name>
    <country_wikidata>Q3624335</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vienna</capital>
    <capital_wikidata>Q1741</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.2083</lat>
    <lon>16.3725</lon>
  </row>
  <row>
    <id>Q47261-6f58d4b3-4386-49a2-d5e4-b76ad38076ce</id>
    <country_name>Duchy of Bavaria</country_name>
    <country_wikidata>Q47261</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Munich</capital>
    <capital_wikidata>Q1726</capital_wikidata>
    <from>1505</from>
    <from_year>1505</from_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>48.1375</lat>
    <lon>11.575</lon>
  </row>
  <row>
    <id>Q47261-082124FB-10FD-4384-AB24-84A9AF9D12A5</id>
    <country_name>Duchy of Bavaria</country_name>
    <country_wikidata>Q47261</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Regensburg</capital>
    <capital_wikidata>Q2978</capital_wikidata>
    <until>1255</until>
    <until_year>1255</until_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>49.0167</lat>
    <lon>12.0833</lon>
  </row>
  <row>
    <id>Q2183293-816699DE-C3B2-4CC3-B97F-5C338976FEB6</id>
    <country_name>Duchy of Bełz</country_name>
    <country_wikidata>Q2183293</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Belz</capital>
    <capital_wikidata>Q156565</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.3833</lat>
    <lon>24.0167</lon>
  </row>
  <row>
    <id>Q2162698-D853F79E-8480-43C4-AC91-8EB4D03236AD</id>
    <country_name>Duchy of Bohemia</country_name>
    <country_wikidata>Q2162698</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Prague</capital>
    <capital_wikidata>Q1085</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.0875</lat>
    <lon>14.4214</lon>
  </row>
  <row>
    <id>Q159856-8728cc36-40e5-80ad-4a16-987588121a7c</id>
    <country_name>Duchy of Brabant</country_name>
    <country_wikidata>Q159856</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Coop of Brussels</capital>
    <capital_wikidata>Q2449703</capital_wikidata>
    <from>1267</from>
    <until>1795</until>
    <from_year>1267</from_year>
    <until_year>1795</until_year>
    <years_as_capital>528</years_as_capital>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.8467</lat>
    <lon>4.3525</lon>
  </row>
  <row>
    <id>Q694594-BCBFBDC6-5B14-45BD-9722-53E83615B2F7</id>
    <country_name>Duchy of Bremen and Verden</country_name>
    <country_wikidata>Q694594</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Stade</capital>
    <capital_wikidata>Q6949</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>53.6008</lat>
    <lon>9.4764</lon>
  </row>
  <row>
    <id>Q71747-565FD13E-794F-4376-8FCF-02BE4559B5AA</id>
    <country_name>Duchy of Brittany</country_name>
    <country_wikidata>Q71747</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nantes</capital>
    <capital_wikidata>Q12191</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>47.2172</lat>
    <lon>-1.5539</lon>
  </row>
  <row>
    <id>Q71747-b3972b41-4106-421b-5025-8bd70e27fe04</id>
    <country_name>Duchy of Brittany</country_name>
    <country_wikidata>Q71747</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Rennes</capital>
    <capital_wikidata>Q647</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>48.1142</lat>
    <lon>-1.6808</lon>
  </row>
  <row>
    <id>Q326029-52792c18-4568-5ed0-f1c0-3806fa5ca004</id>
    <country_name>Duchy of Brunswick</country_name>
    <country_wikidata>Q326029</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Brunswick</capital>
    <capital_wikidata>Q2773</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.2692</lat>
    <lon>10.5211</lon>
  </row>
  <row>
    <id>Q606974-17fd1b0e-4a65-3d99-0b49-bab3870e6244</id>
    <country_name>Duchy of Brzeg</country_name>
    <country_wikidata>Q606974</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Brzeg</capital>
    <capital_wikidata>Q214640</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.8667</lat>
    <lon>17.4667</lon>
  </row>
  <row>
    <id>Q4712-C957CB52-177B-42F9-8C08-D22B7867A79C</id>
    <country_name>Duchy of Burgundy</country_name>
    <country_wikidata>Q4712</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Dijon</capital>
    <capital_wikidata>Q7003</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>47.3231</lat>
    <lon>5.0419</lon>
  </row>
  <row>
    <id>Q682001-66f2e06f-4ca9-3d98-10db-952364cca754</id>
    <country_name>Duchy of Bytom</country_name>
    <country_wikidata>Q682001</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bytom</capital>
    <capital_wikidata>Q102350</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.347</lat>
    <lon>18.923</lon>
  </row>
  <row>
    <id>Q2360973-AE71561E-C643-4AFA-8D0A-B22677739752</id>
    <country_name>Duchy of Carniola</country_name>
    <country_wikidata>Q2360973</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ljubljana</capital>
    <capital_wikidata>Q437</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>46.0514</lat>
    <lon>14.5061</lon>
  </row>
  <row>
    <id>Q1615411-fadd1540-4967-f65d-e18c-d8320d608b33</id>
    <country_name>Duchy of Castro</country_name>
    <country_wikidata>Q1615411</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Castro, Lazio</capital>
    <capital_wikidata>Q1049884</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>42.5328</lat>
    <lon>11.6486</lon>
  </row>
  <row>
    <id>Q156038-F9923F85-141A-452F-AE80-D0E84F9ABF3D</id>
    <country_name>Duchy of Courland and Semigallia</country_name>
    <country_wikidata>Q156038</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Jelgava</capital>
    <capital_wikidata>Q179830</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>56.6522</lat>
    <lon>23.7244</lon>
  </row>
  <row>
    <id>Q1991540-F03C791A-509A-4EDD-A4B2-AE043CE8BE04</id>
    <country_name>Duchy of Courland and Semigallia (1918)</country_name>
    <country_wikidata>Q1991540</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Riga</capital>
    <capital_wikidata>Q1773</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>56.9475</lat>
    <lon>24.1069</lon>
  </row>
  <row>
    <id>Q11750526-4f2805ba-4f4a-0e1f-5e29-21493120665d</id>
    <country_name>Duchy of Courland, Semigallia and Pilten</country_name>
    <country_wikidata>Q11750526</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Jelgava</capital>
    <capital_wikidata>Q179830</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>56.6522</lat>
    <lon>23.7244</lon>
  </row>
  <row>
    <id>Q693570-80135491-4449-141b-680c-443f4ca53b20</id>
    <country_name>Duchy of Ferrara</country_name>
    <country_wikidata>Q693570</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ferrara</capital>
    <capital_wikidata>Q13362</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>44.8392</lat>
    <lon>11.6175</lon>
  </row>
  <row>
    <id>Q2252973-5629212d-40bd-e788-74f1-8446c6ef876a</id>
    <country_name>Duchy of Florence</country_name>
    <country_wikidata>Q2252973</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Florence</capital>
    <capital_wikidata>Q2044</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>43.7714</lat>
    <lon>11.2542</lon>
  </row>
  <row>
    <id>Q2295939-9DC8F116-2236-45E1-8729-ECD562CFAC4C</id>
    <country_name>Duchy of Gascony</country_name>
    <country_wikidata>Q2295939</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bordeaux</capital>
    <capital_wikidata>Q1479</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>44.8378</lat>
    <lon>-0.5794</lon>
  </row>
  <row>
    <id>Q1515009-E0FDF720-BAD7-4378-9C1A-BD8C88B3B371</id>
    <country_name>Duchy of Greater Poland</country_name>
    <country_wikidata>Q1515009</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Poznań</capital>
    <capital_wikidata>Q268</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.4083</lat>
    <lon>16.9336</lon>
  </row>
  <row>
    <id>Q152420-A819CF6E-8FF8-4523-832D-41C7A2A6629E</id>
    <country_name>Duchy of Guelders</country_name>
    <country_wikidata>Q152420</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Geldern</capital>
    <capital_wikidata>Q16024</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.5197</lat>
    <lon>6.3325</lon>
  </row>
  <row>
    <id>Q684501-efabe8ed-4bdf-12ed-e846-9fce9ec47769</id>
    <country_name>Duchy of Głogów</country_name>
    <country_wikidata>Q684501</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Głogów</capital>
    <capital_wikidata>Q66013</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.6589</lat>
    <lon>16.0803</lon>
  </row>
  <row>
    <id>Q5311360-B9542D8B-9EB7-4968-A8AF-9AD6A5462F36</id>
    <country_name>Duchy of Inowrocław</country_name>
    <country_wikidata>Q5311360</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Inowrocław</capital>
    <capital_wikidata>Q378821</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.7958</lat>
    <lon>18.2611</lon>
  </row>
  <row>
    <id>Q561204-ccc2a390-4c91-67e6-3a92-5425735d345a</id>
    <country_name>Duchy of Jawor</country_name>
    <country_wikidata>Q561204</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Jawor</capital>
    <capital_wikidata>Q731805</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.05</lat>
    <lon>16.1833</lon>
  </row>
  <row>
    <id>Q322062-647983bf-4429-25ad-66be-ee6619568604</id>
    <country_name>Duchy of Jülich-Berg</country_name>
    <country_wikidata>Q322062</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Düsseldorf</capital>
    <capital_wikidata>Q1718</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.2256</lat>
    <lon>6.7767</lon>
  </row>
  <row>
    <id>Q570740-bcceb835-4acd-6556-d97d-ee4d2bb24b52</id>
    <country_name>Duchy of Legnica</country_name>
    <country_wikidata>Q570740</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Legnica</capital>
    <capital_wikidata>Q106274</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.2101</lat>
    <lon>16.1619</lon>
  </row>
  <row>
    <id>Q376009-c8d17b94-40b2-c079-f050-19aec6158779</id>
    <country_name>Duchy of Limburg</country_name>
    <country_wikidata>Q376009</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Maastricht</capital>
    <capital_wikidata>Q1309</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.8667</lat>
    <lon>5.6833</lon>
  </row>
  <row>
    <id>Q697787-fc387117-41ec-57db-6e3d-564b902e646c</id>
    <country_name>Duchy of Limburg</country_name>
    <country_wikidata>Q697787</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Limbourg</capital>
    <capital_wikidata>Q506739</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.6122</lat>
    <lon>5.9403</lon>
  </row>
  <row>
    <id>Q1352878-f2d2d86e-4b81-e152-4ad4-18118f2d74f9</id>
    <country_name>Duchy of Livonia</country_name>
    <country_wikidata>Q1352878</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Riga</capital>
    <capital_wikidata>Q1773</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>56.9475</lat>
    <lon>24.1069</lon>
  </row>
  <row>
    <id>Q155019-6DFDD480-5E9F-496D-934B-054F5D572A9C</id>
    <country_name>Duchy of Lorraine</country_name>
    <country_wikidata>Q155019</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nancy</capital>
    <capital_wikidata>Q40898</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.6928</lat>
    <lon>6.1836</lon>
  </row>
  <row>
    <id>Q2719360-723F8721-658A-438B-8935-9561FC429861</id>
    <country_name>Duchy of Luxembourg</country_name>
    <country_wikidata>Q2719360</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Luxembourg</capital>
    <capital_wikidata>Q1842</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>49.6114</lat>
    <lon>6.13</lon>
  </row>
  <row>
    <id>Q766501-c785431d-4cd9-6fa7-f281-5244104440dd</id>
    <country_name>Duchy of Mantua</country_name>
    <country_wikidata>Q766501</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mantua</capital>
    <capital_wikidata>Q6247</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>45.1564</lat>
    <lon>10.7911</lon>
  </row>
  <row>
    <id>Q2361927-716CE146-1F90-4933-B5C8-ABB8887D8B8B</id>
    <country_name>Duchy of Masovia</country_name>
    <country_wikidata>Q2361927</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Płock</capital>
    <capital_wikidata>Q104725</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.55</lat>
    <lon>19.7</lon>
  </row>
  <row>
    <id>Q933592-2e3548ba-4c5d-efd7-f7a2-0c60a1bfb211</id>
    <country_name>Duchy of Massa and Carrara</country_name>
    <country_wikidata>Q933592</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Massa</capital>
    <capital_wikidata>Q13370</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>44.0333</lat>
    <lon>10.1333</lon>
  </row>
  <row>
    <id>Q109252949-6e2a21c6-48a8-4ae4-7168-f39df303be7c</id>
    <country_name>Duchy of Mecklenburg</country_name>
    <country_wikidata>Q109252949</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Schwerin</capital>
    <capital_wikidata>Q1709</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>53.6289</lat>
    <lon>11.415</lon>
  </row>
  <row>
    <id>Q153529-f9d25aa3-44b8-dff7-33c1-9c42eb75d976</id>
    <country_name>Duchy of Milan</country_name>
    <country_wikidata>Q153529</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Milan</capital>
    <capital_wikidata>Q490</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>45.4669</lat>
    <lon>9.19</lon>
  </row>
  <row>
    <id>Q1615455-63ffb8cd-4ac8-0fcb-da0f-4fac11053687</id>
    <country_name>Duchy of Mirandola</country_name>
    <country_wikidata>Q1615455</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mirandola</capital>
    <capital_wikidata>Q100065</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>44.8873</lat>
    <lon>11.066</lon>
  </row>
  <row>
    <id>Q252580-21B6BFBE-AB48-4B3C-868C-47E8A047E4B0</id>
    <country_name>Duchy of Modena and Reggio</country_name>
    <country_wikidata>Q252580</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Modena</capital>
    <capital_wikidata>Q279</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>44.6458</lat>
    <lon>10.9257</lon>
  </row>
  <row>
    <id>Q15604942-1a1c9039-4eac-508d-1470-7f30b3ba27a4</id>
    <country_name>Duchy of Montferrat</country_name>
    <country_wikidata>Q15604942</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Casale Monferrato</capital>
    <capital_wikidata>Q16333</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>45.1342</lat>
    <lon>8.4583</lon>
  </row>
  <row>
    <id>Q836680-47EAB9DB-09C7-4BDC-BD08-6C94D61E64D0</id>
    <country_name>Duchy of Nassau</country_name>
    <country_wikidata>Q836680</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Weilburg</capital>
    <capital_wikidata>Q573599</capital_wikidata>
    <from>1806</from>
    <until>1816</until>
    <from_year>1806</from_year>
    <until_year>1816</until_year>
    <years_as_capital>10</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>50.4833</lat>
    <lon>8.25</lon>
  </row>
  <row>
    <id>Q836680-07c52634-41c9-fe72-c1d9-39d3202ba358</id>
    <country_name>Duchy of Nassau</country_name>
    <country_wikidata>Q836680</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Wiesbaden</capital>
    <capital_wikidata>Q1721</capital_wikidata>
    <from>1816</from>
    <until>1866</until>
    <from_year>1816</from_year>
    <until_year>1866</until_year>
    <years_as_capital>50</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>50.0825</lat>
    <lon>8.24</lon>
  </row>
  <row>
    <id>Q1520008-54fe1db5-4046-042c-d6a4-9652c8da4384</id>
    <country_name>Duchy of Neopatria</country_name>
    <country_wikidata>Q1520008</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ypati</capital>
    <capital_wikidata>Q1231790</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>38.8722</lat>
    <lon>22.2394</lon>
  </row>
  <row>
    <id>Q842091-239CA103-302B-4D33-A6F0-5900728EE79A</id>
    <country_name>Duchy of Normandy</country_name>
    <country_wikidata>Q842091</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Rouen</capital>
    <capital_wikidata>Q30974</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>49.4431</lat>
    <lon>1.1025</lon>
  </row>
  <row>
    <id>Q570702-6ebd3f93-4c9c-5ac1-7952-1c0927804389</id>
    <country_name>Duchy of Nysa</country_name>
    <country_wikidata>Q570702</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nysa</capital>
    <capital_wikidata>Q815721</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.4738</lat>
    <lon>17.3344</lon>
  </row>
  <row>
    <id>Q697084-31369AB7-E220-4E65-95AC-249C07A8237A</id>
    <country_name>Duchy of Oldenburg</country_name>
    <country_wikidata>Q697084</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Oldenburg</capital>
    <capital_wikidata>Q2936</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>53.1439</lat>
    <lon>8.2139</lon>
  </row>
  <row>
    <id>Q534894-1952044a-4a1e-33ec-6dbc-a4d45647dff7</id>
    <country_name>Duchy of Oleśnica</country_name>
    <country_wikidata>Q534894</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Oleśnica</capital>
    <capital_wikidata>Q138229</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.2128</lat>
    <lon>17.3831</lon>
  </row>
  <row>
    <id>Q566639-9709655e-4a34-c739-a20e-d4a77724deed</id>
    <country_name>Duchy of Opava</country_name>
    <country_wikidata>Q566639</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Opava</capital>
    <capital_wikidata>Q156080</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>49.9381</lat>
    <lon>17.9044</lon>
  </row>
  <row>
    <id>Q661980-3928B22A-2120-49A4-A25D-4EC02D6C5A3E</id>
    <country_name>Duchy of Opole</country_name>
    <country_wikidata>Q661980</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Opole</capital>
    <capital_wikidata>Q92212</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.6667</lat>
    <lon>17.9242</lon>
  </row>
  <row>
    <id>Q5311376-84c99c0f-4160-26ce-0085-95aa7fdd1b13</id>
    <country_name>Duchy of Opole and Racibórz</country_name>
    <country_wikidata>Q5311376</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Opole</capital>
    <capital_wikidata>Q92212</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.6667</lat>
    <lon>17.9242</lon>
  </row>
  <row>
    <id>Q702327-8fc1f5de-4100-1dc6-48eb-c1d1a5711d5e</id>
    <country_name>Duchy of Oświęcim</country_name>
    <country_wikidata>Q702327</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Oświęcim</capital>
    <capital_wikidata>Q7342</capital_wikidata>
    <from>1315</from>
    <until>1564</until>
    <from_year>1315</from_year>
    <until_year>1564</until_year>
    <years_as_capital>249</years_as_capital>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.0381</lat>
    <lon>19.2214</lon>
  </row>
  <row>
    <id>Q104863335-2B4A9B66-4477-4F3C-8CEA-E0A20BEEA2DF</id>
    <country_name>Duchy of Poland</country_name>
    <country_wikidata>Q104863335</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kraków</capital>
    <capital_wikidata>Q31487</capital_wikidata>
    <from>1038</from>
    <from_year>1038</from_year>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>50.0614</lat>
    <lon>19.9372</lon>
  </row>
  <row>
    <id>Q104863335-cf62b1de-4d34-86dc-a441-2cb77f658f55</id>
    <country_name>Duchy of Poland</country_name>
    <country_wikidata>Q104863335</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Płock</capital>
    <capital_wikidata>Q104725</capital_wikidata>
    <from>1079</from>
    <from_year>1079</from_year>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>52.55</lat>
    <lon>19.7</lon>
  </row>
  <row>
    <id>Q616915-5DF876E5-EACC-4E8A-9B21-652D07E4CB5A</id>
    <country_name>Duchy of Poland</country_name>
    <country_wikidata>Q616915</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kraków</capital>
    <capital_wikidata>Q31487</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.0614</lat>
    <lon>19.9372</lon>
  </row>
  <row>
    <id>Q104863335-ce8a4474-4f7f-2b16-24af-09eb452ee1b8</id>
    <country_name>Duchy of Poland</country_name>
    <country_wikidata>Q104863335</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Gniezno</capital>
    <capital_wikidata>Q51432</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>52.5333</lat>
    <lon>17.6</lon>
  </row>
  <row>
    <id>Q696640-B7A058E8-081B-4C42-9827-ADE231FA3871</id>
    <country_name>Duchy of Pomerania</country_name>
    <country_wikidata>Q696640</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Szczecin</capital>
    <capital_wikidata>Q393</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>53.4247</lat>
    <lon>14.5553</lon>
  </row>
  <row>
    <id>Q153091-201B71C6-084D-4001-B53A-474731BC3537</id>
    <country_name>Duchy of Prussia</country_name>
    <country_wikidata>Q153091</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Königsberg</capital>
    <capital_wikidata>Q4120832</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>54.7115</lat>
    <lon>20.5093</lon>
  </row>
  <row>
    <id>Q153091-0f0ce85a-46e0-72ab-8f84-bdd8e819cd21</id>
    <country_name>Duchy of Prussia</country_name>
    <country_wikidata>Q153091</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kaliningrad</capital>
    <capital_wikidata>Q1829</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>54.7167</lat>
    <lon>20.5</lon>
  </row>
  <row>
    <id>Q700117-4f6c4e77-40ba-21fb-dea4-bb63043f5018</id>
    <country_name>Duchy of Racibórz</country_name>
    <country_wikidata>Q700117</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Racibórz</capital>
    <capital_wikidata>Q25302</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.0919</lat>
    <lon>18.2192</lon>
  </row>
  <row>
    <id>Q661340-2e60dea5-4866-6fd7-3f45-ed92487abe6a</id>
    <country_name>Duchy of Salzburg</country_name>
    <country_wikidata>Q661340</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Salzburg</capital>
    <capital_wikidata>Q34713</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>47.8</lat>
    <lon>13.045</lon>
  </row>
  <row>
    <id>Q16933165-FA40AC50-75C2-4402-8AE6-542A646C191F</id>
    <country_name>Duchy of Sandomierz</country_name>
    <country_wikidata>Q16933165</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sandomierz</capital>
    <capital_wikidata>Q193177</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.6833</lat>
    <lon>21.75</lon>
  </row>
  <row>
    <id>Q426025-E252B518-49A5-4763-9D8F-39DA4E970467</id>
    <country_name>Duchy of Savoy</country_name>
    <country_wikidata>Q426025</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Chambéry</capital>
    <capital_wikidata>Q165090</capital_wikidata>
    <from>1416</from>
    <until>1563</until>
    <from_year>1416</from_year>
    <until_year>1563</until_year>
    <years_as_capital>147</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>45.5664</lat>
    <lon>5.9208</lon>
  </row>
  <row>
    <id>Q426025-bd9500b1-4e06-fbc0-2276-256e2639829c</id>
    <country_name>Duchy of Savoy</country_name>
    <country_wikidata>Q426025</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Turin</capital>
    <capital_wikidata>Q495</capital_wikidata>
    <from>1563</from>
    <from_year>1563</from_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>45.0792</lat>
    <lon>7.6761</lon>
  </row>
  <row>
    <id>Q3462133-35d85596-4b1f-2964-e403-abb540ffd944</id>
    <country_name>Duchy of Saxe-Coburg and Gotha</country_name>
    <country_wikidata>Q3462133</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Gotha</capital>
    <capital_wikidata>Q6986</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>50.9494</lat>
    <lon>10.7014</lon>
  </row>
  <row>
    <id>Q3462133-DCA02D2B-78FC-4063-AD46-16451FCB9CF0</id>
    <country_name>Duchy of Saxe-Coburg and Gotha</country_name>
    <country_wikidata>Q3462133</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Coburg</capital>
    <capital_wikidata>Q14821</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>50.2585</lat>
    <lon>10.9579</lon>
  </row>
  <row>
    <id>Q696651-41DBEE1D-BDA3-407F-A1DA-F63C1101C3AA</id>
    <country_name>Duchy of Saxe-Eisenach</country_name>
    <country_wikidata>Q696651</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Eisenach</capital>
    <capital_wikidata>Q7070</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.9747</lat>
    <lon>10.3244</lon>
  </row>
  <row>
    <id>Q313175-8e1751e4-46a2-dc95-3b5f-2ab8680a6677</id>
    <country_name>Duchy of Saxe-Lauenburg</country_name>
    <country_wikidata>Q313175</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ratzeburg</capital>
    <capital_wikidata>Q490025</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>53.7017</lat>
    <lon>10.7567</lon>
  </row>
  <row>
    <id>Q313175-E4D8A0F4-DE56-47C8-A6A0-08009F49CCDD</id>
    <country_name>Duchy of Saxe-Lauenburg</country_name>
    <country_wikidata>Q313175</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lauenburg/Elbe</capital>
    <capital_wikidata>Q492380</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>53.3758</lat>
    <lon>10.5589</lon>
  </row>
  <row>
    <id>Q693562-C871FC15-5D1A-4BA6-AD2B-D8507759C49B</id>
    <country_name>Duchy of Saxe-Wittenberg</country_name>
    <country_wikidata>Q693562</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lutherstadt Wittenberg</capital>
    <capital_wikidata>Q6837</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.8671</lat>
    <lon>12.6484</lon>
  </row>
  <row>
    <id>Q1395320-06DBE73A-5767-4217-BD18-75DB65D697AA</id>
    <country_name>Duchy of Siewierz</country_name>
    <country_wikidata>Q1395320</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Siewierz</capital>
    <capital_wikidata>Q989846</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.4733</lat>
    <lon>19.2331</lon>
  </row>
  <row>
    <id>Q568638-25a37eae-46c4-9c07-81d9-d90dcd71f8c4</id>
    <country_name>Duchy of Silesia</country_name>
    <country_wikidata>Q568638</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Wrocław</capital>
    <capital_wikidata>Q1799</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.11</lat>
    <lon>17.0325</lon>
  </row>
  <row>
    <id>Q671899-DACEF4CB-6666-43F7-ADC2-A07AAA4096B9</id>
    <country_name>Duchy of Teschen</country_name>
    <country_wikidata>Q671899</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Cieszyn</capital>
    <capital_wikidata>Q321197</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>49.75</lat>
    <lon>18.6333</lon>
  </row>
  <row>
    <id>Q152115-43319dd5-47ed-a8b2-b8a0-6dae29f2d5db</id>
    <country_name>Duchy of Warsaw</country_name>
    <country_wikidata>Q152115</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Warsaw</capital>
    <capital_wikidata>Q270</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.23</lat>
    <lon>21.0111</lon>
  </row>
  <row>
    <id>Q325725-c2ac2d16-43c7-fd90-97b9-243bbc804e2c</id>
    <country_name>Duchy of Wroclaw</country_name>
    <country_wikidata>Q325725</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Wrocław</capital>
    <capital_wikidata>Q1799</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.11</lat>
    <lon>17.0325</lon>
  </row>
  <row>
    <id>Q2227570-79B9D37D-F3CB-4494-9DA7-EE9265C37E75</id>
    <country_name>Duchy of Württemberg</country_name>
    <country_wikidata>Q2227570</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Stuttgart</capital>
    <capital_wikidata>Q1022</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.7775</lat>
    <lon>9.18</lon>
  </row>
  <row>
    <id>Q777981-E0803973-29B5-4743-9131-2FA212846D7E</id>
    <country_name>Duchy of the Archipelago</country_name>
    <country_wikidata>Q777981</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Naxos</capital>
    <capital_wikidata>Q530644</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.1019</lat>
    <lon>25.3794</lon>
  </row>
  <row>
    <id>Q568471-0B625F9A-1954-468D-8FE6-01A7A44BE1B1</id>
    <country_name>Duchy of Żagań</country_name>
    <country_wikidata>Q568471</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Żagań</capital>
    <capital_wikidata>Q158459</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.6167</lat>
    <lon>15.3167</lon>
  </row>
  <row>
    <id>Q973433-49c55ccd-4d5d-2a76-7a58-782dddffe16f</id>
    <country_name>Dungarpur State</country_name>
    <country_wikidata>Q973433</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Dungarpur</capital>
    <capital_wikidata>Q741991</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>23.8431</lat>
    <lon>73.7144</lon>
  </row>
  <row>
    <id>Q2264840-c340a4f6-4bcc-749a-bfb8-a2646ca040ed</id>
    <country_name>Dunoding</country_name>
    <country_wikidata>Q2264840</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Criccieth</capital>
    <capital_wikidata>Q1139893</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.917</lat>
    <lon>-4.2363</lon>
  </row>
  <row>
    <id>Q467627-7D37B6D0-6528-4180-91FD-FDA33AFC83B1</id>
    <country_name>Durrani Empire</country_name>
    <country_wikidata>Q467627</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kandahar</capital>
    <capital_wikidata>Q45604</capital_wikidata>
    <from>1747</from>
    <until>1776</until>
    <from_year>1747</from_year>
    <until_year>1776</until_year>
    <years_as_capital>29</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>31.6207</lat>
    <lon>65.7159</lon>
  </row>
  <row>
    <id>Q467627-150ac342-4000-01e9-4f20-9456aa8db309</id>
    <country_name>Durrani Empire</country_name>
    <country_wikidata>Q467627</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kabul</capital>
    <capital_wikidata>Q5838</capital_wikidata>
    <from>1776</from>
    <until>1823</until>
    <from_year>1776</from_year>
    <until_year>1823</until_year>
    <years_as_capital>47</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>34.5328</lat>
    <lon>69.1658</lon>
  </row>
  <row>
    <id>Q467627-9fa1220a-4ba0-e7af-56b4-ab800280b63a</id>
    <country_name>Durrani Empire</country_name>
    <country_wikidata>Q467627</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kabul</capital>
    <capital_wikidata>Q5838</capital_wikidata>
    <from>1839</from>
    <until>1842</until>
    <from_year>1839</from_year>
    <until_year>1842</until_year>
    <years_as_capital>3</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>34.5328</lat>
    <lon>69.1658</lon>
  </row>
  <row>
    <id>Q221357-EE8D1D12-BA90-49CD-B383-3294B3BAD6AE</id>
    <country_name>Dutch Brazil</country_name>
    <country_wikidata>Q221357</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mauritsstad</capital>
    <capital_wikidata>Q2671184</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
  </row>
  <row>
    <id>Q188161-b583a01a-44b1-0ee9-12da-da771f302894</id>
    <country_name>Dutch East Indies</country_name>
    <country_wikidata>Q188161</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Batavia</capital>
    <capital_wikidata>Q1199713</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-6.1348</lat>
    <lon>106.8132</lon>
  </row>
  <row>
    <id>Q130654-d162fdec-497d-a3bb-8560-f1b414f80626</id>
    <country_name>Dutch Empire</country_name>
    <country_wikidata>Q130654</country_wikidata>
    <state_status>historical state</state_status>
    <capital>The Hague</capital>
    <capital_wikidata>Q36600</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.08</lat>
    <lon>4.31</lon>
  </row>
  <row>
    <id>Q770776-10ABF419-9B69-41E0-B6A4-648AC92FED22</id>
    <country_name>Dutch Gold Coast</country_name>
    <country_wikidata>Q770776</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Fort Nassau</capital>
    <capital_wikidata>Q504406</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>5.1333</lat>
    <lon>-1.2</lon>
  </row>
  <row>
    <id>Q2442581-5428afac-43a8-7777-9d36-b54af61d5e20</id>
    <country_name>Dutch Loango-Angola</country_name>
    <country_wikidata>Q2442581</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Luanda</capital>
    <capital_wikidata>Q3897</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-8.815</lat>
    <lon>13.23</lon>
  </row>
  <row>
    <id>Q170072-78f370f9-4dd6-4f10-716b-0a6fe77ddf79</id>
    <country_name>Dutch Republic</country_name>
    <country_wikidata>Q170072</country_wikidata>
    <state_status>historical state</state_status>
    <capital>The Hague</capital>
    <capital_wikidata>Q36600</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.08</lat>
    <lon>4.31</lon>
  </row>
  <row>
    <id>Q1923401-43C6B9B7-3FC2-4CE1-8AFD-F281F8E85958</id>
    <country_name>Dzungar Khanate</country_name>
    <country_wikidata>Q1923401</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Yining</capital>
    <capital_wikidata>Q866021</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>43.9167</lat>
    <lon>81.3167</lon>
  </row>
  <row>
    <id>Q139315-8B9D4210-723D-4DE8-8118-9212C7182BE6</id>
    <country_name>Dʿmt</country_name>
    <country_wikidata>Q139315</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Yeha</capital>
    <capital_wikidata>Q1081229</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>14.2833</lat>
    <lon>39.0167</lon>
  </row>
  <row>
    <id>Q153080-1e900290-4a9b-b9ee-06fd-5244f39666a4</id>
    <country_name>East Francia</country_name>
    <country_wikidata>Q153080</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Frankfurt</capital>
    <capital_wikidata>Q1794</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.1106</lat>
    <lon>8.6822</lon>
  </row>
  <row>
    <id>q16957-5f9f09bd-4dd0-9fa3-6f68-12f1a67975af</id>
    <country_name>East Germany</country_name>
    <country_wikidata>Q16957</country_wikidata>
    <state_status>historical state</state_status>
    <capital>East Berlin</capital>
    <capital_wikidata>Q56037</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.5186</lat>
    <lon>13.4044</lon>
  </row>
  <row>
    <id>Q707917-e33f80b2-4ddc-677c-a51a-d7ef882c58de</id>
    <country_name>East Hebei Autonomous Government</country_name>
    <country_wikidata>Q707917</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tongzhou District</capital>
    <capital_wikidata>Q393836</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>39.9086</lat>
    <lon>116.6513</lon>
  </row>
  <row>
    <id>Q3765117-4027EF37-5CF8-41C0-8D78-DC165E75579D</id>
    <country_name>Eastern Chalukyas</country_name>
    <country_wikidata>Q3765117</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vengi</capital>
    <capital_wikidata>Q167166</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
  </row>
  <row>
    <id>Q625380-bcd420d1-44ef-e755-3608-cfa410e4165e</id>
    <country_name>Eastern Hungarian Kingdom</country_name>
    <country_wikidata>Q625380</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Buda</capital>
    <capital_wikidata>Q193478</capital_wikidata>
    <from>1526</from>
    <until>1541</until>
    <from_year>1526</from_year>
    <until_year>1541</until_year>
    <years_as_capital>15</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>47.4667</lat>
    <lon>19.05</lon>
  </row>
  <row>
    <id>Q625380-56c56bad-44eb-d8cd-d863-101d16d65588</id>
    <country_name>Eastern Hungarian Kingdom</country_name>
    <country_wikidata>Q625380</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lipova</capital>
    <capital_wikidata>Q756598</capital_wikidata>
    <from>1541</from>
    <until>1542</until>
    <from_year>1541</from_year>
    <until_year>1542</until_year>
    <years_as_capital>1</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>46.0894</lat>
    <lon>21.6914</lon>
  </row>
  <row>
    <id>Q625380-f58b3ad9-414f-eea3-dc1d-53839565ec6f</id>
    <country_name>Eastern Hungarian Kingdom</country_name>
    <country_wikidata>Q625380</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Alba Iulia</capital>
    <capital_wikidata>Q174665</capital_wikidata>
    <from>1542</from>
    <until>1570</until>
    <from_year>1542</from_year>
    <until_year>1570</until_year>
    <years_as_capital>28</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>46.0764</lat>
    <lon>23.5728</lon>
  </row>
  <row>
    <id>Q1028614-3807d944-4075-2d3a-c032-c0f7fd9d8e9a</id>
    <country_name>Eastern Liao</country_name>
    <country_wikidata>Q1028614</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kaiyuan</capital>
    <capital_wikidata>Q1000918</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>42.538</lat>
    <lon>124.0371</lon>
  </row>
  <row>
    <id>Q2607292-63A919A1-7844-48D9-B373-D68948567AA9</id>
    <country_name>Eastern Turkic Khaganate</country_name>
    <country_wikidata>Q2607292</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ordu-Baliq</capital>
    <capital_wikidata>Q2475401</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>47.4311</lat>
    <lon>102.6594</lon>
  </row>
  <row>
    <id>Q3560494-BE17CF9C-0635-4330-AC45-FFC1BAB24455</id>
    <country_name>Eastern Xia</country_name>
    <country_wikidata>Q3560494</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ussuriysk</capital>
    <capital_wikidata>Q196934</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>43.8</lat>
    <lon>131.95</lon>
  </row>
  <row>
    <id>q736-15023082-D446-4954-87A6-89438A8BA504</id>
    <country_name>Ecuador</country_name>
    <country_wikidata>Q736</country_wikidata>
    <country>ECU</country>
    <state_status>sovereign state</state_status>
    <capital>Quito</capital>
    <capital_wikidata>Q2900</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>-0.22</lat>
    <lon>-78.5125</lon>
  </row>
  <row>
    <id>Q208475-F8970B85-9403-4BF5-8B3F-085BE0C86003</id>
    <country_name>Edom</country_name>
    <country_wikidata>Q208475</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bozrah</capital>
    <capital_wikidata>Q4952895</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>30.7458</lat>
    <lon>35.6039</lon>
  </row>
  <row>
    <id>Q79-c2ef81bb-4006-910a-6e77-970b0abefa8f</id>
    <country_name>Egypt</country_name>
    <country_wikidata>Q79</country_wikidata>
    <country>EGY</country>
    <state_status>sovereign state</state_status>
    <capital>Thinis</capital>
    <capital_wikidata>Q1153959</capital_wikidata>
    <from>-3032</from>
    <until>-2707</until>
    <from_year>-3032</from_year>
    <until_year>-2707</until_year>
    <years_as_capital>325</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>26.3333</lat>
    <lon>31.9</lon>
  </row>
  <row>
    <id>Q79-e832bd4a-40c3-635b-2b33-4b0bf9096939</id>
    <country_name>Egypt</country_name>
    <country_wikidata>Q79</country_wikidata>
    <country>EGY</country>
    <state_status>sovereign state</state_status>
    <capital>Memphis</capital>
    <capital_wikidata>Q5715</capital_wikidata>
    <from>-2707</from>
    <until>-2216</until>
    <from_year>-2707</from_year>
    <until_year>-2216</until_year>
    <years_as_capital>491</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>29.8447</lat>
    <lon>31.2509</lon>
  </row>
  <row>
    <id>Q79-77efdc4d-4dc6-73f2-222a-948fdc1d3ad1</id>
    <country_name>Egypt</country_name>
    <country_wikidata>Q79</country_wikidata>
    <country>EGY</country>
    <state_status>sovereign state</state_status>
    <capital>Cairo</capital>
    <capital_wikidata>Q85</capital_wikidata>
    <current>true</current>
    <capitals_count>3</capitals_count>
    <lat>30.0444</lat>
    <lon>31.2358</lon>
  </row>
  <row>
    <id>q792-5A6D9446-3A1F-46F2-9618-7FE954A466A7</id>
    <country_name>El Salvador</country_name>
    <country_wikidata>Q792</country_wikidata>
    <country>SLV</country>
    <state_status>sovereign state</state_status>
    <capital>San Salvador</capital>
    <capital_wikidata>Q3110</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>13.6976</lat>
    <lon>-89.1912</lon>
  </row>
  <row>
    <id>Q128904-835BBA72-6208-43E1-BD85-90B080326801</id>
    <country_name>Elam</country_name>
    <country_wikidata>Q128904</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Susa</capital>
    <capital_wikidata>Q180773</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>32.1894</lat>
    <lon>48.2561</lon>
  </row>
  <row>
    <id>Q128904-A8DFC97F-A904-480C-9DB0-767A17D94287</id>
    <country_name>Elam</country_name>
    <country_wikidata>Q128904</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Anshan Persia</capital>
    <capital_wikidata>Q569107</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>30.0117</lat>
    <lon>52.4078</lon>
  </row>
  <row>
    <id>Q7418448-12D4C69C-691F-4938-9A6B-E44CCC17AC6C</id>
    <country_name>Eldiguzid state</country_name>
    <country_wikidata>Q7418448</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nakhchivan</capital>
    <capital_wikidata>Q230104</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>39.2089</lat>
    <lon>45.4122</lon>
  </row>
  <row>
    <id>Q7418448-5E7B1F56-BE86-4155-87EB-1638F0FB0ED0</id>
    <country_name>Eldiguzid state</country_name>
    <country_wikidata>Q7418448</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Hamadan</capital>
    <capital_wikidata>Q28587</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>34.8</lat>
    <lon>48.5167</lon>
  </row>
  <row>
    <id>Q7418448-5F58A242-4922-4D7C-B2BE-512E26A01018</id>
    <country_name>Eldiguzid state</country_name>
    <country_wikidata>Q7418448</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tabriz</capital>
    <capital_wikidata>Q80053</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>38.0739</lat>
    <lon>46.2961</lon>
  </row>
  <row>
    <id>Q7418448-F6581E73-608A-48AD-8A80-C04E5809DB7D</id>
    <country_name>Eldiguzid state</country_name>
    <country_wikidata>Q7418448</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ardabil</capital>
    <capital_wikidata>Q180103</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>38.25</lat>
    <lon>48.3</lon>
  </row>
  <row>
    <id>Q22880-81506AE2-895C-481F-848E-563D533B04B1</id>
    <country_name>Electoral Palatinate</country_name>
    <country_wikidata>Q22880</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Heidelberg</capital>
    <capital_wikidata>Q2966</capital_wikidata>
    <from>1085</from>
    <until>1690</until>
    <from_year>1085</from_year>
    <until_year>1690</until_year>
    <years_as_capital>605</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>49.4094</lat>
    <lon>8.6947</lon>
  </row>
  <row>
    <id>Q22880-8357b092-40e8-bcb5-b686-772766eda163</id>
    <country_name>Electoral Palatinate</country_name>
    <country_wikidata>Q22880</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Düsseldorf</capital>
    <capital_wikidata>Q1718</capital_wikidata>
    <from>1690</from>
    <until>1720</until>
    <from_year>1690</from_year>
    <until_year>1720</until_year>
    <years_as_capital>30</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>51.2256</lat>
    <lon>6.7767</lon>
  </row>
  <row>
    <id>Q22880-3600c782-4dee-94e3-8941-7865044579d7</id>
    <country_name>Electoral Palatinate</country_name>
    <country_wikidata>Q22880</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mannheim</capital>
    <capital_wikidata>Q2119</capital_wikidata>
    <from>1720</from>
    <until>1803</until>
    <from_year>1720</from_year>
    <until_year>1803</until_year>
    <years_as_capital>83</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>49.4878</lat>
    <lon>8.4661</lon>
  </row>
  <row>
    <id>Q637238-30502620-4859-804b-6241-ad1c78f67535</id>
    <country_name>Electorate of Baden</country_name>
    <country_wikidata>Q637238</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Karlsruhe</capital>
    <capital_wikidata>Q1040</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>49.0167</lat>
    <lon>8.4</lon>
  </row>
  <row>
    <id>Q256961-fc360f81-468c-0a1c-6fa3-800e77544892</id>
    <country_name>Electorate of Bavaria</country_name>
    <country_wikidata>Q256961</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Munich</capital>
    <capital_wikidata>Q1726</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.1375</lat>
    <lon>11.575</lon>
  </row>
  <row>
    <id>Q529605-49e06a54-4ac5-b359-81ba-79c7b675a286</id>
    <country_name>Electorate of Hesse</country_name>
    <country_wikidata>Q529605</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kassel</capital>
    <capital_wikidata>Q2865</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.3158</lat>
    <lon>9.4979</lon>
  </row>
  <row>
    <id>Q284667-f16d9283-4039-3b64-5124-8cfe2e830f5f</id>
    <country_name>Electorate of Mainz</country_name>
    <country_wikidata>Q284667</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mainz</capital>
    <capital_wikidata>Q1720</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>49.9994</lat>
    <lon>8.2736</lon>
  </row>
  <row>
    <id>Q156199-e9e0e779-435c-2a44-5b36-056e34fed9fa</id>
    <country_name>Electorate of Saxony</country_name>
    <country_wikidata>Q156199</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lutherstadt Wittenberg</capital>
    <capital_wikidata>Q6837</capital_wikidata>
    <from>1356</from>
    <until>1547</until>
    <from_year>1356</from_year>
    <until_year>1547</until_year>
    <years_as_capital>191</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>51.8671</lat>
    <lon>12.6484</lon>
  </row>
  <row>
    <id>Q156199-3a103ce6-4b57-34fa-13b7-813405efef9b</id>
    <country_name>Electorate of Saxony</country_name>
    <country_wikidata>Q156199</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Dresden</capital>
    <capital_wikidata>Q1731</capital_wikidata>
    <from>1547</from>
    <until>1806</until>
    <from_year>1547</from_year>
    <until_year>1806</until_year>
    <years_as_capital>259</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>51.0493</lat>
    <lon>13.7381</lon>
  </row>
  <row>
    <id>Q1794352-8d645ecf-4fb3-e571-57c5-961c7bce584c</id>
    <country_name>Electorate of Trier</country_name>
    <country_wikidata>Q1794352</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Trier</capital>
    <capital_wikidata>Q3138</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>49.7557</lat>
    <lon>6.6394</lon>
  </row>
  <row>
    <id>Q1333032-0B5C404D-9962-4EE2-A396-CC20B9CF6BB2</id>
    <country_name>Elmet</country_name>
    <country_wikidata>Q1333032</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Barwick in Elmet</capital>
    <capital_wikidata>Q2724826</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>53.8312</lat>
    <lon>-1.3945</lon>
  </row>
  <row>
    <id>Q1275158-D1FB68AA-6EDD-44AC-AD08-1D64F5EF6BC8</id>
    <country_name>Elymais</country_name>
    <country_wikidata>Q1275158</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Susa</capital>
    <capital_wikidata>Q180773</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>32.1894</lat>
    <lon>48.2561</lon>
  </row>
  <row>
    <id>Q1335260-dad64606-476e-edb3-ad83-82d91f2ad4aa</id>
    <country_name>Emirate of Afghanistan</country_name>
    <country_wikidata>Q1335260</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kabul</capital>
    <capital_wikidata>Q5838</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>34.5328</lat>
    <lon>69.1658</lon>
  </row>
  <row>
    <id>Q1656908-5f7d36df-40f0-eeec-ab0a-cb28f8eef1f8</id>
    <country_name>Emirate of Asir</country_name>
    <country_wikidata>Q1656908</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sabya</capital>
    <capital_wikidata>Q97290972</capital_wikidata>
    <from>1906</from>
    <until>1934</until>
    <from_year>1906</from_year>
    <until_year>1934</until_year>
    <years_as_capital>28</years_as_capital>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>17.1549</lat>
    <lon>42.6268</lon>
  </row>
  <row>
    <id>Q1878022-13c2111a-4ecb-a359-c9fc-b8f942055d9f</id>
    <country_name>Emirate of Bari</country_name>
    <country_wikidata>Q1878022</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bari</capital>
    <capital_wikidata>Q3519</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.1253</lat>
    <lon>16.8667</lon>
  </row>
  <row>
    <id>Q2485209-E252BC24-3119-40A1-8835-A115A91B8CCB</id>
    <country_name>Emirate of Beihan</country_name>
    <country_wikidata>Q2485209</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Beihan</capital>
    <capital_wikidata>Q803753</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>14.8</lat>
    <lon>45.7333</lon>
  </row>
  <row>
    <id>Q746558-abb6d9fa-4238-0c6d-9c25-1976a0c73309</id>
    <country_name>Emirate of Bukhara</country_name>
    <country_wikidata>Q746558</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bukhara</capital>
    <capital_wikidata>Q5764</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>39.7747</lat>
    <lon>64.4286</lon>
  </row>
  <row>
    <id>Q603771-7af32a49-4db6-7c95-b98b-b9d859992c38</id>
    <country_name>Emirate of Crete</country_name>
    <country_wikidata>Q603771</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Heraklion</capital>
    <capital_wikidata>Q160544</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>35.3403</lat>
    <lon>25.1344</lon>
  </row>
  <row>
    <id>Q370372-3d4b4c75-44e4-238c-858e-bc43a7a5c77a</id>
    <country_name>Emirate of Cyrenaica</country_name>
    <country_wikidata>Q370372</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Benghazi</capital>
    <capital_wikidata>Q40816</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>32.1167</lat>
    <lon>20.0667</lon>
  </row>
  <row>
    <id>Q1337854-37F9F00A-7B96-4E83-92A8-8BA0A953BE65</id>
    <country_name>Emirate of Córdoba</country_name>
    <country_wikidata>Q1337854</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Córdoba</capital>
    <capital_wikidata>Q5818</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.89</lat>
    <lon>-4.78</lon>
  </row>
  <row>
    <id>Q6415938-5F3F663D-0C6B-4E48-A78E-EA41EFDC3545</id>
    <country_name>Emirate of Dhala</country_name>
    <country_wikidata>Q6415938</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ad Dali'</capital>
    <capital_wikidata>Q1369593</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>13.6967</lat>
    <lon>44.7308</lon>
  </row>
  <row>
    <id>Q56885910-67B96E3B-7954-472F-85F9-7D2F3F375BD6</id>
    <country_name>Emirate of Diriyah</country_name>
    <country_wikidata>Q56885910</country_wikidata>
    <state_status>historical state</state_status>
    <capital>At-Turaif District</capital>
    <capital_wikidata>Q22687629</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>24.7333</lat>
    <lon>46.5756</lon>
  </row>
  <row>
    <id>Q56885910-b7aeef15-43e4-1f66-42dc-80a4165f89f1</id>
    <country_name>Emirate of Diriyah</country_name>
    <country_wikidata>Q56885910</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Diriyah</capital>
    <capital_wikidata>Q277505</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>24.7333</lat>
    <lon>46.5756</lon>
  </row>
  <row>
    <id>Q238445-7f6a4b08-499e-f955-6d1b-c53ebbe7a2f4</id>
    <country_name>Emirate of Granada</country_name>
    <country_wikidata>Q238445</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Granada</capital>
    <capital_wikidata>Q8810</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.175</lat>
    <lon>-3.6</lon>
  </row>
  <row>
    <id>Q5362837-665afdcb-4246-d544-2018-4ba51a951e35</id>
    <country_name>Emirate of Jabal Shammar</country_name>
    <country_wikidata>Q5362837</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ha'il</capital>
    <capital_wikidata>Q675568</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>27.5167</lat>
    <lon>41.6833</lon>
  </row>
  <row>
    <id>Q96028967-89ebb64a-4c5e-d6d7-2eca-36ba845157ab</id>
    <country_name>Emirate of Nejd and Hasa</country_name>
    <country_wikidata>Q96028967</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Riyadh</capital>
    <capital_wikidata>Q3692</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>24.6383</lat>
    <lon>46.715</lon>
  </row>
  <row>
    <id>Q1709337-9A9746CE-9B9A-4B78-A05D-A2877EACE7F0</id>
    <country_name>Emirate of Nekor</country_name>
    <country_wikidata>Q1709337</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Temsamane</capital>
    <capital_wikidata>Q2006438</capital_wikidata>
    <from>0710</from>
    <until>0760</until>
    <from_year>710</from_year>
    <until_year>760</until_year>
    <years_as_capital>50</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>35.1175</lat>
    <lon>-3.6413</lon>
  </row>
  <row>
    <id>Q1709337-b8aeb9d1-48e0-d473-b7ca-4d12989f87a8</id>
    <country_name>Emirate of Nekor</country_name>
    <country_wikidata>Q1709337</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nekor</capital>
    <capital_wikidata>Q3537816</capital_wikidata>
    <from>0760</from>
    <until>1019</until>
    <from_year>760</from_year>
    <until_year>1019</until_year>
    <years_as_capital>259</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>35.0898</lat>
    <lon>-3.8075</lon>
  </row>
  <row>
    <id>Q1337828-4c537ae7-4d33-8f80-ed5b-9e481d647a16</id>
    <country_name>Emirate of Tbilisi</country_name>
    <country_wikidata>Q1337828</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tbilisi</capital>
    <capital_wikidata>Q994</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.7225</lat>
    <lon>44.7925</lon>
  </row>
  <row>
    <id>Q3446273-DEFD7810-9340-44B8-8E3F-AEFD410F5519</id>
    <country_name>Emirate of Tlemcen</country_name>
    <country_wikidata>Q3446273</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tlemcen</capital>
    <capital_wikidata>Q185134</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>34.8828</lat>
    <lon>-1.3167</lon>
  </row>
  <row>
    <id>Q1812976-8A41C64F-47BB-4793-9C0C-7E7398070D88</id>
    <country_name>Emirate of Trarza</country_name>
    <country_wikidata>Q1812976</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Boutilimit</capital>
    <capital_wikidata>Q895292</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>17.5481</lat>
    <lon>-14.6944</lon>
  </row>
  <row>
    <id>Q536476-9E2D5543-92DC-4334-A461-F509587A9568</id>
    <country_name>Empire Peul</country_name>
    <country_wikidata>Q536476</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ségou</capital>
    <capital_wikidata>Q333476</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>13.45</lat>
    <lon>-6.2667</lon>
  </row>
  <row>
    <id>Q217230-9daa1efc-4e56-b7c4-3f16-61e830bdcce6</id>
    <country_name>Empire of Brazil</country_name>
    <country_wikidata>Q217230</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Rio de Janeiro</capital>
    <capital_wikidata>Q8678</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-22.9111</lat>
    <lon>-43.2056</lon>
  </row>
  <row>
    <id>Q175379-749099b7-436b-9d34-d364-58372bca2511</id>
    <country_name>Empire of China</country_name>
    <country_wikidata>Q175379</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Beijing</capital>
    <capital_wikidata>Q956</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>39.904</lat>
    <lon>116.4075</lon>
  </row>
  <row>
    <id>Q1186858-5a0a094a-4a5a-3865-60fe-414fffa290be</id>
    <country_name>Empire of Great Fulo</country_name>
    <country_wikidata>Q1186858</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Futa Tooro</capital>
    <capital_wikidata>Q1440091</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>16.1864</lat>
    <lon>-13.8827</lon>
  </row>
  <row>
    <id>Q188712-52523259-F751-49D9-B27C-6223BE1E29C6</id>
    <country_name>Empire of Japan</country_name>
    <country_wikidata>Q188712</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tokyo City</capital>
    <capital_wikidata>Q1207735</capital_wikidata>
    <from>1889</from>
    <until>1943</until>
    <from_year>1889</from_year>
    <until_year>1943</until_year>
    <years_as_capital>54</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>35.6767</lat>
    <lon>139.7647</lon>
  </row>
  <row>
    <id>Q188712-528628d9-4326-fe97-b553-1fcebc56bece</id>
    <country_name>Empire of Japan</country_name>
    <country_wikidata>Q188712</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tokyo</capital>
    <capital_wikidata>Q1490</capital_wikidata>
    <from>1943</from>
    <from_year>1943</from_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>35.6894</lat>
    <lon>139.6917</lon>
  </row>
  <row>
    <id>Q181254-FC796D7F-36D2-4CC0-9874-3A8581B46600</id>
    <country_name>Empire of Nicaea</country_name>
    <country_wikidata>Q181254</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nicaea</capital>
    <capital_wikidata>Q739037</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>40.429</lat>
    <lon>29.7195</lon>
  </row>
  <row>
    <id>Q623151-cd227f9e-423a-ff30-7e03-dcfbd47f5bc1</id>
    <country_name>Empire of Thessalonica</country_name>
    <country_wikidata>Q623151</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Thessaloniki</capital>
    <capital_wikidata>Q17151</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>40.6403</lat>
    <lon>22.9356</lon>
  </row>
  <row>
    <id>Q178913-81a98204-4577-17df-782c-4a3e367313e8</id>
    <country_name>Empire of Trebizond</country_name>
    <country_wikidata>Q178913</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Trabzon</capital>
    <capital_wikidata>Q45301</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.005</lat>
    <lon>39.7225</lon>
  </row>
  <row>
    <id>Q701337-DDC29B30-6FDE-475C-9DC8-F98534279139</id>
    <country_name>Empire of Vietnam</country_name>
    <country_wikidata>Q701337</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Huế</capital>
    <capital_wikidata>Q36167</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>16.4561</lat>
    <lon>107.5764</lon>
  </row>
  <row>
    <id>Q1468426-99B90C17-8888-4ED8-957B-5E358BD96F59</id>
    <country_name>Ennarea</country_name>
    <country_wikidata>Q1468426</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Saqqa</capital>
    <capital_wikidata>Q3473230</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>8.2</lat>
    <lon>36.9333</lon>
  </row>
  <row>
    <id>q983-69FE3B7C-02B0-466F-AEA5-90D0379CEE4B</id>
    <country_name>Equatorial Guinea</country_name>
    <country_wikidata>Q983</country_wikidata>
    <country>GNQ</country>
    <state_status>sovereign state</state_status>
    <capital>Malabo</capital>
    <capital_wikidata>Q3818</capital_wikidata>
    <from>1968-10-12</from>
    <until>2026-01-03</until>
    <from_year>1968</from_year>
    <until_year>2026</until_year>
    <years_as_capital>58</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>3.7521</lat>
    <lon>8.7737</lon>
  </row>
  <row>
    <id>Q983-17a84117-4103-ad5c-e150-150b35cc3f60</id>
    <country_name>Equatorial Guinea</country_name>
    <country_wikidata>Q983</country_wikidata>
    <country>GNQ</country>
    <state_status>sovereign state</state_status>
    <capital>Ciudad de la Paz</capital>
    <capital_wikidata>Q1140136</capital_wikidata>
    <from>2026-01-03</from>
    <from_year>2026</from_year>
    <current>true</current>
    <capitals_count>2</capitals_count>
    <lat>1.5917</lat>
    <lon>10.8222</lon>
  </row>
  <row>
    <id>Q583057-74f37018-438e-d2af-5bf1-f046bb03ece8</id>
    <country_name>Eretnids</country_name>
    <country_wikidata>Q583057</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kayseri</capital>
    <capital_wikidata>Q48338</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>38.7225</lat>
    <lon>35.4875</lon>
  </row>
  <row>
    <id>Q583057-D7F799C4-9FC3-443D-8C63-110A346CDC0F</id>
    <country_name>Eretnids</country_name>
    <country_wikidata>Q583057</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sivas</capital>
    <capital_wikidata>Q107401</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>39.75</lat>
    <lon>37.0167</lon>
  </row>
  <row>
    <id>q986-CBBB759D-5A1C-49F1-932D-5561C4B55DFB</id>
    <country_name>Eritrea</country_name>
    <country_wikidata>Q986</country_wikidata>
    <country>ERI</country>
    <state_status>sovereign state</state_status>
    <capital>Asmara</capital>
    <capital_wikidata>Q3642</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>15.3333</lat>
    <lon>38.9167</lon>
  </row>
  <row>
    <id>Q210198-71B9D9FD-7D5E-4F80-83AB-A41CEF1E4205</id>
    <country_name>Erivan Khanate</country_name>
    <country_wikidata>Q210198</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Yerevan</capital>
    <capital_wikidata>Q1953</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>40.1814</lat>
    <lon>44.5144</lon>
  </row>
  <row>
    <id>Q8842943-6a4b6c27-4ce1-7d05-7ae5-31fa21b07b17</id>
    <country_name>Estado Libre del Istmo</country_name>
    <country_wikidata>Q8842943</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Panama City</capital>
    <capital_wikidata>Q3306</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>8.9711</lat>
    <lon>-79.5347</lon>
  </row>
  <row>
    <id>Q824489-6130f286-4048-4265-b0ab-04be47237799</id>
    <country_name>Estado Novo</country_name>
    <country_wikidata>Q824489</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lisbon</capital>
    <capital_wikidata>Q597</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>38.708</lat>
    <lon>-9.139</lon>
  </row>
  <row>
    <id>Q191-79196558-4f60-3630-d4d7-7f09882dc5b2</id>
    <country_name>Estonia</country_name>
    <country_wikidata>Q191</country_wikidata>
    <country>EST</country>
    <state_status>sovereign state</state_status>
    <capital>Tallinn</capital>
    <capital_wikidata>Q1770</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>59.4372</lat>
    <lon>24.745</lon>
  </row>
  <row>
    <id>Q130280-5489f168-487a-7769-2b9c-b5cdcf9701f1</id>
    <country_name>Estonian Soviet Socialist Republic</country_name>
    <country_wikidata>Q130280</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tallinn</capital>
    <capital_wikidata>Q1770</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>59.4372</lat>
    <lon>24.745</lon>
  </row>
  <row>
    <id>q1050-2C7AD801-4D5A-498D-B527-57ACA225A602</id>
    <country_name>Eswatini</country_name>
    <country_wikidata>Q1050</country_wikidata>
    <country>SWZ</country>
    <state_status>sovereign state</state_status>
    <capital>Mbabane</capital>
    <capital_wikidata>Q3904</capital_wikidata>
    <current>true</current>
    <role>executive branch</role>
    <capitals_count>2</capitals_count>
    <lat>-26.3167</lat>
    <lon>31.1333</lon>
  </row>
  <row>
    <id>q1050-DE85CA10-B693-4272-8453-DC5DC3D3D2FE</id>
    <country_name>Eswatini</country_name>
    <country_wikidata>Q1050</country_wikidata>
    <country>SWZ</country>
    <state_status>sovereign state</state_status>
    <capital>Lobamba</capital>
    <capital_wikidata>Q101418</capital_wikidata>
    <current>true</current>
    <role>legislature</role>
    <capitals_count>2</capitals_count>
    <lat>-26.4465</lat>
    <lon>31.2064</lon>
  </row>
  <row>
    <id>q115-B724F2F3-CC48-41E8-9E5B-AFB0D776EE1A</id>
    <country_name>Ethiopia</country_name>
    <country_wikidata>Q115</country_wikidata>
    <country>ETH</country>
    <state_status>sovereign state</state_status>
    <capital>Addis Ababa</capital>
    <capital_wikidata>Q3624</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>9.0358</lat>
    <lon>38.7525</lon>
  </row>
  <row>
    <id>Q207521-b84ca309-4b16-28f1-b5a6-45a04937fc20</id>
    <country_name>Ethiopian Empire</country_name>
    <country_wikidata>Q207521</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Addis Ababa</capital>
    <capital_wikidata>Q3624</capital_wikidata>
    <from>1889</from>
    <until>1974</until>
    <from_year>1889</from_year>
    <until_year>1974</until_year>
    <years_as_capital>85</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>9.0358</lat>
    <lon>38.7525</lon>
  </row>
  <row>
    <id>Q207521-92933510-4309-a956-dbe3-74e5be69c1b9</id>
    <country_name>Ethiopian Empire</country_name>
    <country_wikidata>Q207521</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Gondar</capital>
    <capital_wikidata>Q218861</capital_wikidata>
    <until>1889</until>
    <until_year>1889</until_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>12.6</lat>
    <lon>37.4667</lon>
  </row>
  <row>
    <id>Q182279-7DBFD9D3-6CC8-411C-ACE5-EB99698BCE90</id>
    <country_name>Fadhli Sultanate</country_name>
    <country_wikidata>Q182279</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Shuqrah</capital>
    <capital_wikidata>Q1099126</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>13.3558</lat>
    <lon>45.6997</lon>
  </row>
  <row>
    <id>Q61292-276cf7e4-4093-3c00-85d7-d8a388b058c2</id>
    <country_name>Far Eastern Republic</country_name>
    <country_wikidata>Q61292</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Chita</capital>
    <capital_wikidata>Q53139</capital_wikidata>
    <from>1920-10</from>
    <from_year>1920</from_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>52.0334</lat>
    <lon>113.5009</lon>
  </row>
  <row>
    <id>Q61292-C45AA330-61E0-4BCA-8DC4-AE26F0DFA6AB</id>
    <country_name>Far Eastern Republic</country_name>
    <country_wikidata>Q61292</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ulan-Ude</capital>
    <capital_wikidata>Q6816</capital_wikidata>
    <until>1920-10</until>
    <until_year>1920</until_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>51.8272</lat>
    <lon>107.6064</lon>
  </row>
  <row>
    <id>Q1396700-6d7c5ed3-403e-de1e-6d48-ce018249e79a</id>
    <country_name>Faridkot State</country_name>
    <country_wikidata>Q1396700</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Faridkot</capital>
    <capital_wikidata>Q1780350</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>30.67</lat>
    <lon>74.76</lon>
  </row>
  <row>
    <id>Q48742118-485dc667-415d-7428-0908-00672140634d</id>
    <country_name>Fascist Italy</country_name>
    <country_wikidata>Q48742118</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Rome</capital>
    <capital_wikidata>Q220</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.8931</lat>
    <lon>12.4828</lon>
  </row>
  <row>
    <id>Q12714608-9ADCDA02-77A3-4799-A462-C041DA03AF26</id>
    <country_name>Fascist Romania</country_name>
    <country_wikidata>Q12714608</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bucharest</capital>
    <capital_wikidata>Q19660</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>44.4134</lat>
    <lon>26.0978</lon>
  </row>
  <row>
    <id>q160307-3d042744-4bd1-6cdc-aa41-3dfa7ea95246</id>
    <country_name>Fatimid Caliphate</country_name>
    <country_wikidata>Q160307</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mahdia</capital>
    <capital_wikidata>Q466054</capital_wikidata>
    <from>0909</from>
    <until>0948</until>
    <from_year>909</from_year>
    <until_year>948</until_year>
    <years_as_capital>39</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>35.5047</lat>
    <lon>11.0622</lon>
  </row>
  <row>
    <id>Q160307-bcbc2b56-4614-549c-0139-4ab9298534bf</id>
    <country_name>Fatimid Caliphate</country_name>
    <country_wikidata>Q160307</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Al-Mansuriya</capital>
    <capital_wikidata>Q289618</capital_wikidata>
    <from>0948</from>
    <until>0973</until>
    <from_year>948</from_year>
    <until_year>973</until_year>
    <years_as_capital>25</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>35.6581</lat>
    <lon>10.1139</lon>
  </row>
  <row>
    <id>Q160307-ee667c89-45be-2ac7-2428-0e4e2aeb87f5</id>
    <country_name>Fatimid Caliphate</country_name>
    <country_wikidata>Q160307</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Cairo</capital>
    <capital_wikidata>Q85</capital_wikidata>
    <from>0973</from>
    <until>1171</until>
    <from_year>973</from_year>
    <until_year>1171</until_year>
    <years_as_capital>198</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>30.0444</lat>
    <lon>31.2358</lon>
  </row>
  <row>
    <id>Q16674377-ACFB38BB-8885-4E8D-A1C9-FB556F5309A6</id>
    <country_name>Federal Islamic Republic of the Comoros</country_name>
    <country_wikidata>Q16674377</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Moroni</capital>
    <capital_wikidata>Q3901</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-11.7036</lat>
    <lon>43.2536</lon>
  </row>
  <row>
    <id>Q1290149-fd27702f-4639-38a1-87d2-0dbc1059f29f</id>
    <country_name>Federal People's Republic of Yugoslavia</country_name>
    <country_wikidata>Q1290149</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Belgrade</capital>
    <capital_wikidata>Q3711</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>44.8178</lat>
    <lon>20.4569</lon>
  </row>
  <row>
    <id>Q30744169-abb6c685-4c6d-f930-31c4-3f65ed7374e1</id>
    <country_name>Federal Republic of Cameroon</country_name>
    <country_wikidata>Q30744169</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Yaoundé</capital>
    <capital_wikidata>Q3808</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>3.8578</lat>
    <lon>11.5181</lon>
  </row>
  <row>
    <id>Q190025-65CD0849-EE2B-48FC-9DA1-563979B02926</id>
    <country_name>Federal Republic of Central America</country_name>
    <country_wikidata>Q190025</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Guatemala City</capital>
    <capital_wikidata>Q1555</capital_wikidata>
    <from>1821</from>
    <until>1834</until>
    <from_year>1821</from_year>
    <until_year>1834</until_year>
    <years_as_capital>13</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>14.6417</lat>
    <lon>-90.5133</lon>
  </row>
  <row>
    <id>Q190025-209d51b2-4285-ab84-f4ad-7adcbe7eef7e</id>
    <country_name>Federal Republic of Central America</country_name>
    <country_wikidata>Q190025</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sonsonate</capital>
    <capital_wikidata>Q1014248</capital_wikidata>
    <from>1834</from>
    <until>1834</until>
    <from_year>1834</from_year>
    <until_year>1834</until_year>
    <years_as_capital>0</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>13.7206</lat>
    <lon>-89.7275</lon>
  </row>
  <row>
    <id>Q190025-91e6aac8-4766-07a6-e878-e365b0453d71</id>
    <country_name>Federal Republic of Central America</country_name>
    <country_wikidata>Q190025</country_wikidata>
    <state_status>historical state</state_status>
    <capital>San Salvador</capital>
    <capital_wikidata>Q3110</capital_wikidata>
    <from>1834</from>
    <until>1838</until>
    <from_year>1834</from_year>
    <until_year>1838</until_year>
    <years_as_capital>4</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>13.6976</lat>
    <lon>-89.1912</lon>
  </row>
  <row>
    <id>Q838261-4a3c8651-41f4-bb02-a6a1-ad39ffeb9b1a</id>
    <country_name>Federal Republic of Yugoslavia</country_name>
    <country_wikidata>Q838261</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Belgrade</capital>
    <capital_wikidata>Q3711</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>44.8178</lat>
    <lon>20.4569</lon>
  </row>
  <row>
    <id>Q176495-ebeb8567-4910-b1d7-dff4-bc9634a22ff3</id>
    <country_name>Federal State of Austria</country_name>
    <country_wikidata>Q176495</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vienna</capital>
    <capital_wikidata>Q1741</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.2083</lat>
    <lon>16.3725</lon>
  </row>
  <row>
    <id>Q1400154-BC6A4BE2-691B-429B-8BA4-FA20E42F2BA4</id>
    <country_name>Federated Malay States</country_name>
    <country_wikidata>Q1400154</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kuala Lumpur</capital>
    <capital_wikidata>Q1865</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>3.1478</lat>
    <lon>101.6953</lon>
  </row>
  <row>
    <id>Q702-d2cc3485-471e-b8c2-22c2-8c25ae5a1449</id>
    <country_name>Federated States of Micronesia</country_name>
    <country_wikidata>Q702</country_wikidata>
    <country>FSM</country>
    <state_status>sovereign state</state_status>
    <capital>Kolonia</capital>
    <capital_wikidata>Q514165</capital_wikidata>
    <from>1979</from>
    <until>1989</until>
    <from_year>1979</from_year>
    <until_year>1989</until_year>
    <years_as_capital>10</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>6.9639</lat>
    <lon>158.2081</lon>
  </row>
  <row>
    <id>q702-DD281AFC-38A6-4943-AE41-FC7AFABF184B</id>
    <country_name>Federated States of Micronesia</country_name>
    <country_wikidata>Q702</country_wikidata>
    <country>FSM</country>
    <state_status>sovereign state</state_status>
    <capital>Palikir</capital>
    <capital_wikidata>Q42751</capital_wikidata>
    <from>1989</from>
    <from_year>1989</from_year>
    <current>true</current>
    <capitals_count>2</capitals_count>
    <lat>6.9178</lat>
    <lon>158.185</lon>
  </row>
  <row>
    <id>Q44642-61025A73-FC58-4846-B783-EA216B73F07D</id>
    <country_name>Federation of Arab Republics</country_name>
    <country_wikidata>Q44642</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tripoli</capital>
    <capital_wikidata>Q3579</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>32.8875</lat>
    <lon>13.1875</lon>
  </row>
  <row>
    <id>Q133844233-d6c8324e-4db0-31a4-fb5f-ffd00a6b8390</id>
    <country_name>Federation of Central America</country_name>
    <country_wikidata>Q133844233</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tegucigalpa</capital>
    <capital_wikidata>Q3238</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>14.1058</lat>
    <lon>-87.2047</lon>
  </row>
  <row>
    <id>Q2603305-fc0b71f9-44ac-958c-6077-8fcd046c1695</id>
    <country_name>Federation of Ethiopia and Eritrea</country_name>
    <country_wikidata>Q2603305</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Addis Ababa</capital>
    <capital_wikidata>Q3624</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>9.0358</lat>
    <lon>38.7525</lon>
  </row>
  <row>
    <id>Q1479726-ce8fc7b1-416f-7e1e-9a64-df0e9bd2ad8a</id>
    <country_name>Federation of Malaya</country_name>
    <country_wikidata>Q1479726</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kuala Lumpur</capital>
    <capital_wikidata>Q1865</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>3.1478</lat>
    <lon>101.6953</lon>
  </row>
  <row>
    <id>Q5440850-0434f70f-41ee-be8c-95d4-22c66aaa366e</id>
    <country_name>Federation of Nigeria</country_name>
    <country_wikidata>Q5440850</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lagos</capital>
    <capital_wikidata>Q8673</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>6.4561</lat>
    <lon>3.3936</lon>
  </row>
  <row>
    <id>Q654342-08b85a2d-4be4-d545-8e70-84ce023ed4b7</id>
    <country_name>Federation of Rhodesia and Nyasaland</country_name>
    <country_wikidata>Q654342</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Harare</capital>
    <capital_wikidata>Q3921</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-17.8292</lat>
    <lon>31.0522</lon>
  </row>
  <row>
    <id>Q834486-d3dd2194-4dc7-568b-d83c-14bd773e5026</id>
    <country_name>Federation of South Arabia</country_name>
    <country_wikidata>Q834486</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Aden</capital>
    <capital_wikidata>Q131694</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>12.8</lat>
    <lon>45.0333</lon>
  </row>
  <row>
    <id>Q5404684-71f39dcd-4d3c-e3b1-98fb-117d351dc07d</id>
    <country_name>Federation of the Seven Communities</country_name>
    <country_wikidata>Q5404684</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Asiago</capital>
    <capital_wikidata>Q47066</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>45.8667</lat>
    <lon>11.5167</lon>
  </row>
  <row>
    <id>Q482705-d5cef3a6-451a-0e92-94eb-688ba55025d3</id>
    <country_name>Fifth Republic of South Korea</country_name>
    <country_wikidata>Q482705</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Seoul</capital>
    <capital_wikidata>Q8684</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.56</lat>
    <lon>126.99</lon>
  </row>
  <row>
    <id>q712-A4E14F49-6D76-484E-88EB-838C72460A1F</id>
    <country_name>Fiji</country_name>
    <country_wikidata>Q712</country_wikidata>
    <country>FJI</country>
    <state_status>sovereign state</state_status>
    <capital>Suva</capital>
    <capital_wikidata>Q38807</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>-18.1267</lat>
    <lon>178.44</lon>
  </row>
  <row>
    <id>Q33-793a34de-417e-afbf-49ba-20a4400a2538</id>
    <country_name>Finland</country_name>
    <country_wikidata>Q33</country_wikidata>
    <country>FIN</country>
    <state_status>sovereign state</state_status>
    <capital>Turku</capital>
    <capital_wikidata>Q38511</capital_wikidata>
    <from>1809-09-17</from>
    <until>1812-04-08</until>
    <from_year>1809</from_year>
    <until_year>1812</until_year>
    <years_as_capital>3</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>60.4517</lat>
    <lon>22.2669</lon>
  </row>
  <row>
    <id>q33-D0472690-0F96-4CD5-9275-01DE9246835A</id>
    <country_name>Finland</country_name>
    <country_wikidata>Q33</country_wikidata>
    <country>FIN</country>
    <state_status>sovereign state</state_status>
    <capital>Helsinki</capital>
    <capital_wikidata>Q1757</capital_wikidata>
    <from>1812-04-08</from>
    <from_year>1812</from_year>
    <current>true</current>
    <capitals_count>2</capitals_count>
    <lat>60.1708</lat>
    <lon>24.9375</lon>
  </row>
  <row>
    <id>Q62519-C7CAE0B2-DA5A-4A2D-AC54-133ADF0951F0</id>
    <country_name>Finnish Democratic Republic</country_name>
    <country_wikidata>Q62519</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Zelenogorsk</capital>
    <capital_wikidata>Q46850</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>60.2</lat>
    <lon>29.7</lon>
  </row>
  <row>
    <id>Q2414171-0983359F-616F-4D66-8436-C1574E776D11</id>
    <country_name>First Brazilian Republic</country_name>
    <country_wikidata>Q2414171</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Rio de Janeiro</capital>
    <capital_wikidata>Q8678</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>-22.9111</lat>
    <lon>-43.2056</lon>
  </row>
  <row>
    <id>Q2414171-2AE7D11C-0ECB-457E-873A-89AFFF9A363D</id>
    <country_name>First Brazilian Republic</country_name>
    <country_wikidata>Q2414171</country_wikidata>
    <state_status>historical state</state_status>
    <capital>São Carlos</capital>
    <capital_wikidata>Q194338</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>-22.0178</lat>
    <lon>-47.8908</lon>
  </row>
  <row>
    <id>Q203817-282CF485-AF42-48DE-903E-A1FE41051F0D</id>
    <country_name>First Bulgarian Empire</country_name>
    <country_wikidata>Q203817</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Pliska</capital>
    <capital_wikidata>Q318889</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>43.362</lat>
    <lon>27.1254</lon>
  </row>
  <row>
    <id>Q203817-3803e496-4196-7bf6-420c-f9ea36cef36c</id>
    <country_name>First Bulgarian Empire</country_name>
    <country_wikidata>Q203817</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Skopje</capital>
    <capital_wikidata>Q384</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>41.9961</lat>
    <lon>21.4317</lon>
  </row>
  <row>
    <id>Q203817-5957e5cf-4081-5b81-2996-5faf145b9ff6</id>
    <country_name>First Bulgarian Empire</country_name>
    <country_wikidata>Q203817</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ohrid</capital>
    <capital_wikidata>Q1223508</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>41.1169</lat>
    <lon>20.8019</lon>
  </row>
  <row>
    <id>Q203817-7179b130-4383-46b8-9c07-74f44a722d7d</id>
    <country_name>First Bulgarian Empire</country_name>
    <country_wikidata>Q203817</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Veliki Preslav</capital>
    <capital_wikidata>Q243616</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>43.1605</lat>
    <lon>26.812</lon>
  </row>
  <row>
    <id>Q140359-ba19ec43-410b-6958-493d-a3e42fc0bb8b</id>
    <country_name>First Czechoslovak Republic</country_name>
    <country_wikidata>Q140359</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Prague</capital>
    <capital_wikidata>Q1085</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.0875</lat>
    <lon>14.4214</lon>
  </row>
  <row>
    <id>Q2006756-5013a65c-4641-b8a1-a33d-bd797d2865cb</id>
    <country_name>First Empire of Haiti</country_name>
    <country_wikidata>Q2006756</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Port-au-Prince</capital>
    <capital_wikidata>Q34261</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>18.5469</lat>
    <lon>-72.3403</lon>
  </row>
  <row>
    <id>Q71084-88695710-4ba1-1005-c431-ddba9884d91e</id>
    <country_name>First French Empire</country_name>
    <country_wikidata>Q71084</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Paris</capital>
    <capital_wikidata>Q90</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.8567</lat>
    <lon>2.3522</lon>
  </row>
  <row>
    <id>Q528546-d8f0e105-4270-aed9-117c-2f5c95297af3</id>
    <country_name>First Hellenic Republic</country_name>
    <country_wikidata>Q528546</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nafplio</capital>
    <capital_wikidata>Q202337</capital_wikidata>
    <from>1827</from>
    <from_year>1827</from_year>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.5658</lat>
    <lon>22.8</lon>
  </row>
  <row>
    <id>Q7216494-9639f48f-46c9-d78e-2c15-e245dffc1b04</id>
    <country_name>First Kingdom of Kakheti</country_name>
    <country_wikidata>Q7216494</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Telavi</capital>
    <capital_wikidata>Q209009</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.9169</lat>
    <lon>45.4764</lon>
  </row>
  <row>
    <id>Q285658-7C795FD4-C16C-4B33-8BC3-0A8C60E56C07</id>
    <country_name>First Mexican Empire</country_name>
    <country_wikidata>Q285658</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mexico City</capital>
    <capital_wikidata>Q1489</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>19.3538</lat>
    <lon>-99.1359</lon>
  </row>
  <row>
    <id>Q1109279-ba23349b-4f72-90c9-3d83-71171d578bac</id>
    <country_name>First Mexican Republic</country_name>
    <country_wikidata>Q1109279</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mexico City</capital>
    <capital_wikidata>Q1489</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>19.3538</lat>
    <lon>-99.1359</lon>
  </row>
  <row>
    <id>Q3511905-8102db06-4865-e3ca-6f6c-be987532c20c</id>
    <country_name>First Nigerian Republic</country_name>
    <country_wikidata>Q3511905</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lagos</capital>
    <capital_wikidata>Q8673</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>6.4561</lat>
    <lon>3.3936</lon>
  </row>
  <row>
    <id>Q1361989-d99cb88c-475e-8fcf-6c17-9501b419f960</id>
    <country_name>First Philippine Republic</country_name>
    <country_wikidata>Q1361989</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tarlac City</capital>
    <capital_wikidata>Q5285</capital_wikidata>
    <from>1899-06-21</from>
    <until>1899-11-12</until>
    <from_year>1899</from_year>
    <until_year>1899</until_year>
    <years_as_capital>0</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>15.4869</lat>
    <lon>120.59</lon>
  </row>
  <row>
    <id>Q1361989-5729abeb-42bd-5999-ca48-35eed6071170</id>
    <country_name>First Philippine Republic</country_name>
    <country_wikidata>Q1361989</country_wikidata>
    <state_status>historical state</state_status>
    <capital>San Isidro</capital>
    <capital_wikidata>Q55572</capital_wikidata>
    <from>1899-03-29</from>
    <from_year>1899</from_year>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>15.3097</lat>
    <lon>120.9069</lon>
  </row>
  <row>
    <id>Q1361989-879D1860-04E1-42C7-87F8-28E7099B27B4</id>
    <country_name>First Philippine Republic</country_name>
    <country_wikidata>Q1361989</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Malolos</capital>
    <capital_wikidata>Q2180</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>14.8436</lat>
    <lon>120.8114</lon>
  </row>
  <row>
    <id>Q167360-B00167B1-AD03-4F3D-A2F3-0E12B7BADBA3</id>
    <country_name>First Portuguese Republic</country_name>
    <country_wikidata>Q167360</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lisbon</capital>
    <capital_wikidata>Q597</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>38.708</lat>
    <lon>-9.139</lon>
  </row>
  <row>
    <id>Q51545918-ade012c1-49be-bf1e-02bd-3856e49ed02d</id>
    <country_name>First Republic (Dominican Republic)</country_name>
    <country_wikidata>Q51545918</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Santo Domingo</capital>
    <capital_wikidata>Q34820</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>18.4625</lat>
    <lon>-69.9361</lon>
  </row>
  <row>
    <id>Q139670-3FAEF1AC-6712-431E-9FB7-9875C4D42EBC</id>
    <country_name>First Republic of Armenia</country_name>
    <country_wikidata>Q139670</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Yerevan</capital>
    <capital_wikidata>Q1953</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>40.1814</lat>
    <lon>44.5144</lon>
  </row>
  <row>
    <id>Q518101-f63f7993-42db-4701-6654-879dad094db4</id>
    <country_name>First Republic of Austria</country_name>
    <country_wikidata>Q518101</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vienna</capital>
    <capital_wikidata>Q1741</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.2083</lat>
    <lon>16.3725</lon>
  </row>
  <row>
    <id>Q3041595-ca5555b8-4fe3-331f-c1ba-7599653b3fec</id>
    <country_name>First Republic of Iraq</country_name>
    <country_wikidata>Q3041595</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Baghdad</capital>
    <capital_wikidata>Q1530</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>33.3153</lat>
    <lon>44.3661</lon>
  </row>
  <row>
    <id>Q491559-2BD9FE4C-96A6-4026-B4A1-7848394FF056</id>
    <country_name>First Republic of South Korea</country_name>
    <country_wikidata>Q491559</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Seoul</capital>
    <capital_wikidata>Q8684</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.56</lat>
    <lon>126.99</lon>
  </row>
  <row>
    <id>Q8935-afd94624-45ac-22b6-d118-5e43911f1f26</id>
    <country_name>First Republic of Venezuela</country_name>
    <country_wikidata>Q8935</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Valencia</capital>
    <capital_wikidata>Q54880</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>10.1667</lat>
    <lon>-68</lon>
  </row>
  <row>
    <id>Q146871-0fd5c410-4377-5508-972f-ef80b29750b3</id>
    <country_name>First Saudi State</country_name>
    <country_wikidata>Q146871</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Diriyah</capital>
    <capital_wikidata>Q277505</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>24.7333</lat>
    <lon>46.5756</lon>
  </row>
  <row>
    <id>Q497777-0ADD4709-63C2-4949-B383-08927A96D028</id>
    <country_name>First Spanish Republic</country_name>
    <country_wikidata>Q497777</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Madrid</capital>
    <capital_wikidata>Q2807</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>40.4169</lat>
    <lon>-3.7033</lon>
  </row>
  <row>
    <id>Q26234937-127c4f54-4d7e-fa04-ce44-50ac57b4d68f</id>
    <country_name>First Syrian Republic</country_name>
    <country_wikidata>Q26234937</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Damascus</capital>
    <capital_wikidata>Q3766</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>33.5131</lat>
    <lon>36.2919</lon>
  </row>
  <row>
    <id>Q23039102-972EDC5E-D5B7-47A1-B54B-1B3550521266</id>
    <country_name>First Toungoo Empire</country_name>
    <country_wikidata>Q23039102</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Taungoo</capital>
    <capital_wikidata>Q1193412</capital_wikidata>
    <from>1510</from>
    <until>1539</until>
    <from_year>1510</from_year>
    <until_year>1539</until_year>
    <years_as_capital>29</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>18.9333</lat>
    <lon>96.4333</lon>
  </row>
  <row>
    <id>Q23039102-CFCD92E1-2CA0-4DFA-BE34-F799F11386D2</id>
    <country_name>First Toungoo Empire</country_name>
    <country_wikidata>Q23039102</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bago</capital>
    <capital_wikidata>Q800122</capital_wikidata>
    <from>1539</from>
    <until>1599</until>
    <from_year>1539</from_year>
    <until_year>1599</until_year>
    <years_as_capital>60</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>17.3433</lat>
    <lon>96.4981</lon>
  </row>
  <row>
    <id>Q210542-f6a56bce-45f3-9df7-e44e-b9799bad75bb</id>
    <country_name>Fourth Brazilian Republic</country_name>
    <country_wikidata>Q210542</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Brasília</capital>
    <capital_wikidata>Q2844</capital_wikidata>
    <from>1960</from>
    <from_year>1960</from_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>-15.7939</lat>
    <lon>-47.8828</lon>
  </row>
  <row>
    <id>Q210542-bbbdd931-468c-22d9-155f-db1ffdbc95f9</id>
    <country_name>Fourth Brazilian Republic</country_name>
    <country_wikidata>Q210542</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Rio de Janeiro</capital>
    <capital_wikidata>Q8678</capital_wikidata>
    <until>1960</until>
    <until_year>1960</until_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>-22.9111</lat>
    <lon>-43.2056</lon>
  </row>
  <row>
    <id>Q488521-6DF2372E-476E-4BC1-B2D8-96A14186464F</id>
    <country_name>Fourth Republic of South Korea</country_name>
    <country_wikidata>Q488521</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Seoul</capital>
    <capital_wikidata>Q8684</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.56</lat>
    <lon>126.99</lon>
  </row>
  <row>
    <id>Q142-22d71d7a-485b-05ce-ab57-10c674a8aa93</id>
    <country_name>France</country_name>
    <country_wikidata>Q142</country_wikidata>
    <country>FRA</country>
    <state_status>sovereign state</state_status>
    <capital>Versailles</capital>
    <capital_wikidata>Q621</capital_wikidata>
    <from>1682</from>
    <until>1789-10-05</until>
    <from_year>1682</from_year>
    <until_year>1789</until_year>
    <years_as_capital>107</years_as_capital>
    <current>false</current>
    <capitals_count>9</capitals_count>
    <lat>48.805</lat>
    <lon>2.135</lon>
  </row>
  <row>
    <id>q142-BBD442C6-E5D6-465D-ABD6-A23C8B08035D</id>
    <country_name>France</country_name>
    <country_wikidata>Q142</country_wikidata>
    <country>FRA</country>
    <state_status>sovereign state</state_status>
    <capital>Paris</capital>
    <capital_wikidata>Q90</capital_wikidata>
    <from>1789-10-05</from>
    <from_year>1789</from_year>
    <current>true</current>
    <capitals_count>9</capitals_count>
    <lat>48.8567</lat>
    <lon>2.3522</lon>
  </row>
  <row>
    <id>Q142-07970cdf-4187-f428-6e8e-af156a5da844</id>
    <country_name>France</country_name>
    <country_wikidata>Q142</country_wikidata>
    <country>FRA</country>
    <state_status>sovereign state</state_status>
    <capital>Versailles</capital>
    <capital_wikidata>Q621</capital_wikidata>
    <from>1871</from>
    <until>1879</until>
    <from_year>1871</from_year>
    <until_year>1879</until_year>
    <years_as_capital>8</years_as_capital>
    <current>false</current>
    <capitals_count>9</capitals_count>
    <lat>48.805</lat>
    <lon>2.135</lon>
  </row>
  <row>
    <id>Q142-1183d06d-4e4b-99c8-8452-4808cb66409a</id>
    <country_name>France</country_name>
    <country_wikidata>Q142</country_wikidata>
    <country>FRA</country>
    <state_status>sovereign state</state_status>
    <capital>Brazzaville</capital>
    <capital_wikidata>Q3844</capital_wikidata>
    <from>1940</from>
    <until>1942</until>
    <from_year>1940</from_year>
    <until_year>1942</until_year>
    <years_as_capital>2</years_as_capital>
    <current>false</current>
    <capitals_count>9</capitals_count>
    <lat>-4.2694</lat>
    <lon>15.2711</lon>
  </row>
  <row>
    <id>Q142-39d55134-4620-32cc-5c61-e8f6417511a8</id>
    <country_name>France</country_name>
    <country_wikidata>Q142</country_wikidata>
    <country>FRA</country>
    <state_status>sovereign state</state_status>
    <capital>Vichy</capital>
    <capital_wikidata>Q93351</capital_wikidata>
    <from>1940-07</from>
    <until>1944-08-20</until>
    <from_year>1940</from_year>
    <until_year>1944</until_year>
    <years_as_capital>4</years_as_capital>
    <current>false</current>
    <capitals_count>9</capitals_count>
    <lat>46.1269</lat>
    <lon>3.4258</lon>
  </row>
  <row>
    <id>Q142-5eea8e7e-40a8-5f78-0a0e-d4091a1d3c74</id>
    <country_name>France</country_name>
    <country_wikidata>Q142</country_wikidata>
    <country>FRA</country>
    <state_status>sovereign state</state_status>
    <capital>Bordeaux</capital>
    <capital_wikidata>Q1479</capital_wikidata>
    <from>1940-06-14</from>
    <until>1940-06-28</until>
    <from_year>1940</from_year>
    <until_year>1940</until_year>
    <years_as_capital>0</years_as_capital>
    <current>false</current>
    <capitals_count>9</capitals_count>
    <lat>44.8378</lat>
    <lon>-0.5794</lon>
  </row>
  <row>
    <id>Q142-5fb9be18-4dd3-fd67-ab4b-6f4fbbbb78b8</id>
    <country_name>France</country_name>
    <country_wikidata>Q142</country_wikidata>
    <country>FRA</country>
    <state_status>sovereign state</state_status>
    <capital>London</capital>
    <capital_wikidata>Q84</capital_wikidata>
    <from>1940-06</from>
    <until>1942</until>
    <from_year>1940</from_year>
    <until_year>1942</until_year>
    <years_as_capital>2</years_as_capital>
    <current>false</current>
    <capitals_count>9</capitals_count>
    <lat>51.5072</lat>
    <lon>-0.1275</lon>
  </row>
  <row>
    <id>Q142-cec5d409-4862-15a8-7855-d61dc4f500fa</id>
    <country_name>France</country_name>
    <country_wikidata>Q142</country_wikidata>
    <country>FRA</country>
    <state_status>sovereign state</state_status>
    <capital>Tours</capital>
    <capital_wikidata>Q288</capital_wikidata>
    <from>1940-06-10</from>
    <until>1940-06-13</until>
    <from_year>1940</from_year>
    <until_year>1940</until_year>
    <years_as_capital>0</years_as_capital>
    <current>false</current>
    <capitals_count>9</capitals_count>
    <lat>47.3928</lat>
    <lon>0.6883</lon>
  </row>
  <row>
    <id>Q142-05cdde65-43a9-c172-43c9-3b470a1767f0</id>
    <country_name>France</country_name>
    <country_wikidata>Q142</country_wikidata>
    <country>FRA</country>
    <state_status>sovereign state</state_status>
    <capital>Algiers</capital>
    <capital_wikidata>Q3561</capital_wikidata>
    <from>1942</from>
    <until>1944</until>
    <from_year>1942</from_year>
    <until_year>1944</until_year>
    <years_as_capital>2</years_as_capital>
    <current>false</current>
    <capitals_count>9</capitals_count>
    <lat>36.7764</lat>
    <lon>3.0586</lon>
  </row>
  <row>
    <id>Q142-8af3d4a0-48c9-0bdf-39b6-e037a49ed798</id>
    <country_name>France</country_name>
    <country_wikidata>Q142</country_wikidata>
    <country>FRA</country>
    <state_status>sovereign state</state_status>
    <capital>Bayeux</capital>
    <capital_wikidata>Q183910</capital_wikidata>
    <from>1944-06</from>
    <until>1944-09</until>
    <from_year>1944</from_year>
    <until_year>1944</until_year>
    <years_as_capital>0</years_as_capital>
    <current>false</current>
    <capitals_count>9</capitals_count>
    <lat>49.2786</lat>
    <lon>-0.7039</lon>
  </row>
  <row>
    <id>Q146246-1381B2D6-55B2-4CA2-A2DC-CAEDFF84E3B6</id>
    <country_name>Francia</country_name>
    <country_wikidata>Q146246</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tournai</capital>
    <capital_wikidata>Q173219</capital_wikidata>
    <from>0431</from>
    <until>0508</until>
    <from_year>431</from_year>
    <until_year>508</until_year>
    <years_as_capital>77</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>50.6056</lat>
    <lon>3.3881</lon>
  </row>
  <row>
    <id>Q146246-7a350f42-4442-2d76-494a-24d36fd487e7</id>
    <country_name>Francia</country_name>
    <country_wikidata>Q146246</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Paris</capital>
    <capital_wikidata>Q90</capital_wikidata>
    <from>0508</from>
    <until>0768</until>
    <from_year>508</from_year>
    <until_year>768</until_year>
    <years_as_capital>260</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>48.8567</lat>
    <lon>2.3522</lon>
  </row>
  <row>
    <id>Q146246-33308589-4275-3e68-b2e6-8ab9b247ba7a</id>
    <country_name>Francia</country_name>
    <country_wikidata>Q146246</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Aachen</capital>
    <capital_wikidata>Q1017</capital_wikidata>
    <from>0768</from>
    <until>0843</until>
    <from_year>768</from_year>
    <until_year>843</until_year>
    <years_as_capital>75</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>50.7762</lat>
    <lon>6.0838</lon>
  </row>
  <row>
    <id>Q13474305-EFB33CE5-26D5-4189-9EC1-E7F32633D599</id>
    <country_name>Francoist Spain</country_name>
    <country_wikidata>Q13474305</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Salamanca</capital>
    <capital_wikidata>Q15695</capital_wikidata>
    <from>1936</from>
    <until>1939</until>
    <from_year>1936</from_year>
    <until_year>1939</until_year>
    <years_as_capital>3</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>40.965</lat>
    <lon>-5.6642</lon>
  </row>
  <row>
    <id>Q13474305-b5a14332-4ce9-c69e-ea63-69c294f76975</id>
    <country_name>Francoist Spain</country_name>
    <country_wikidata>Q13474305</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Madrid</capital>
    <capital_wikidata>Q2807</capital_wikidata>
    <from>1939</from>
    <until>1975</until>
    <from_year>1939</from_year>
    <until_year>1975</until_year>
    <years_as_capital>36</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>40.4169</lat>
    <lon>-3.7033</lon>
  </row>
  <row>
    <id>Q216173-ACC1B148-C768-4E94-B0DE-ABCE2B9F454D</id>
    <country_name>Free City of Danzig</country_name>
    <country_wikidata>Q216173</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Gdańsk</capital>
    <capital_wikidata>Q1792</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>54.3483</lat>
    <lon>18.654</lon>
  </row>
  <row>
    <id>Q901974-4FAC55FB-7E39-4C6D-AEA8-62EDDA736E4E</id>
    <country_name>Free City of Danzig</country_name>
    <country_wikidata>Q901974</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Gdańsk</capital>
    <capital_wikidata>Q1792</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>54.3483</lat>
    <lon>18.654</lon>
  </row>
  <row>
    <id>Q501303-76e292f6-402b-1e08-d6db-a610b2e79253</id>
    <country_name>Free City of Kraków</country_name>
    <country_wikidata>Q501303</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kraków</capital>
    <capital_wikidata>Q31487</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.0614</lat>
    <lon>19.9372</lon>
  </row>
  <row>
    <id>Q117020-1029d5e5-43f0-e8db-0329-6de6146a7b74</id>
    <country_name>Free Imperial City of Nuremberg</country_name>
    <country_wikidata>Q117020</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nuremberg</capital>
    <capital_wikidata>Q2090</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>49.4539</lat>
    <lon>11.0775</lon>
  </row>
  <row>
    <id>Q569871-eef17bd1-4ad7-27b0-7f02-b6c604c4124c</id>
    <country_name>Free People's State of Württemberg</country_name>
    <country_wikidata>Q569871</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Stuttgart</capital>
    <capital_wikidata>Q1022</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.7775</lat>
    <lon>9.18</lon>
  </row>
  <row>
    <id>Q3892131-d01f90fb-46dc-d18b-b60e-e520e3fac24f</id>
    <country_name>Free Province of Guayaquil</country_name>
    <country_wikidata>Q3892131</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Guayaquil</capital>
    <capital_wikidata>Q43509</capital_wikidata>
    <from>1820-10-09</from>
    <until>1822-07-27</until>
    <from_year>1820</from_year>
    <until_year>1822</until_year>
    <years_as_capital>2</years_as_capital>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-2.19</lat>
    <lon>-79.8875</lon>
  </row>
  <row>
    <id>Q694858-f765cdb0-4e97-d50e-f87b-74524dbf2944</id>
    <country_name>Free State Bottleneck</country_name>
    <country_wikidata>Q694858</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lorch</capital>
    <capital_wikidata>Q625783</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.0441</lat>
    <lon>7.8038</lon>
  </row>
  <row>
    <id>Q314925-a71dd2fc-483d-20af-6a64-cf0155349ef6</id>
    <country_name>Free State of Coburg</country_name>
    <country_wikidata>Q314925</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Coburg</capital>
    <capital_wikidata>Q14821</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.2585</lat>
    <lon>10.9579</lon>
  </row>
  <row>
    <id>Q548114-5a34cc9c-4393-20d5-f418-f804760ce537</id>
    <country_name>Free State of Fiume</country_name>
    <country_wikidata>Q548114</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Rijeka</capital>
    <capital_wikidata>Q1647</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>45.3333</lat>
    <lon>14.4333</lon>
  </row>
  <row>
    <id>Q1131500-97a3cc8b-428b-1ffe-6dbb-bbab209b6fcc</id>
    <country_name>Free State of Icaria</country_name>
    <country_wikidata>Q1131500</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Agios Kirykos</capital>
    <capital_wikidata>Q393962</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.6114</lat>
    <lon>26.2931</lon>
  </row>
  <row>
    <id>Q1297084-F2694273-D7D7-4EAA-8F1C-E9EB2DB7D6A8</id>
    <country_name>Free State of Saxe-Gotha</country_name>
    <country_wikidata>Q1297084</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Gotha</capital>
    <capital_wikidata>Q6986</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.9494</lat>
    <lon>10.7014</lon>
  </row>
  <row>
    <id>Q954891-70680ec4-4339-904f-06d3-0ced1a9dbfd6</id>
    <country_name>Free State of Waldeck-Pyrmont</country_name>
    <country_wikidata>Q954891</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bad Arolsen</capital>
    <capital_wikidata>Q498078</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.3778</lat>
    <lon>9.0167</lon>
  </row>
  <row>
    <id>Q391980-8c3d7c5e-4a69-cae8-54a6-f137982a4334</id>
    <country_name>Free Territory of Trieste</country_name>
    <country_wikidata>Q391980</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Trieste</capital>
    <capital_wikidata>Q546</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>45.6503</lat>
    <lon>13.7703</lon>
  </row>
  <row>
    <id>Q3591854-a5db02fc-49cd-f449-c578-ab85f9fcbf13</id>
    <country_name>Free and Independent State of Cundinamarca</country_name>
    <country_wikidata>Q3591854</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bogotá</capital>
    <capital_wikidata>Q2841</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>4.6097</lat>
    <lon>-74.0817</lon>
  </row>
  <row>
    <id>Q665248-838f3827-44e2-ab0b-735f-0267c9eb4dc9</id>
    <country_name>Freistaat Schwenten</country_name>
    <country_wikidata>Q665248</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Świętno</capital>
    <capital_wikidata>Q387781</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.0084</lat>
    <lon>16.0473</lon>
  </row>
  <row>
    <id>Q1028848-14F2BC7E-AFC4-492F-8560-ADB14D7E70C7</id>
    <country_name>French Cameroons</country_name>
    <country_wikidata>Q1028848</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Yaoundé</capital>
    <capital_wikidata>Q3808</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>3.8578</lat>
    <lon>11.5181</lon>
  </row>
  <row>
    <id>Q58296-1B63D428-4B24-45D3-90BF-1B065FF98391</id>
    <country_name>French First Republic</country_name>
    <country_wikidata>Q58296</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Paris</capital>
    <capital_wikidata>Q90</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.8567</lat>
    <lon>2.3522</lon>
  </row>
  <row>
    <id>Q69829-6e1ac65b-4fbc-a891-1bd1-25e86bb16a4c</id>
    <country_name>French Fourth Republic</country_name>
    <country_wikidata>Q69829</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Paris</capital>
    <capital_wikidata>Q90</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.8567</lat>
    <lon>2.3522</lon>
  </row>
  <row>
    <id>Q139708-44e6fa0f-410d-0a5f-1632-ede7970fde42</id>
    <country_name>French Mandate for Syria and the Lebanon</country_name>
    <country_wikidata>Q139708</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Aleppo</capital>
    <capital_wikidata>Q41183</capital_wikidata>
    <from>1922</from>
    <until>1923</until>
    <from_year>1922</from_year>
    <until_year>1923</until_year>
    <years_as_capital>1</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>36.2</lat>
    <lon>37.16</lon>
  </row>
  <row>
    <id>Q139708-935a75e5-4432-684a-0e59-0ce53f5a80b7</id>
    <country_name>French Mandate for Syria and the Lebanon</country_name>
    <country_wikidata>Q139708</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Damascus</capital>
    <capital_wikidata>Q3766</capital_wikidata>
    <from>1923</from>
    <from_year>1923</from_year>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>33.5131</lat>
    <lon>36.2919</lon>
  </row>
  <row>
    <id>Q139708-9de2e684-4758-e027-0c28-0b33c58c2f19</id>
    <country_name>French Mandate for Syria and the Lebanon</country_name>
    <country_wikidata>Q139708</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Beirut</capital>
    <capital_wikidata>Q3820</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>33.8869</lat>
    <lon>35.5131</lon>
  </row>
  <row>
    <id>Q1320058-1F75D7ED-F26F-4385-844F-9D61198EA53B</id>
    <country_name>French Protectorate of Laos</country_name>
    <country_wikidata>Q1320058</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vientiane</capital>
    <capital_wikidata>Q9326</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>17.98</lat>
    <lon>102.63</lon>
  </row>
  <row>
    <id>Q1320058-81e80a6c-40f6-2063-62bc-310518f3710d</id>
    <country_name>French Protectorate of Laos</country_name>
    <country_wikidata>Q1320058</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Luang Prabang</capital>
    <capital_wikidata>Q190165</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>19.89</lat>
    <lon>102.1347</lon>
  </row>
  <row>
    <id>Q58326-bde6094e-489b-76bf-2894-c19ada457a2f</id>
    <country_name>French Second Republic</country_name>
    <country_wikidata>Q58326</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Paris</capital>
    <capital_wikidata>Q90</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.8567</lat>
    <lon>2.3522</lon>
  </row>
  <row>
    <id>Q70802-d2cd3f5b-4e1a-bb77-ec4f-c351023e054e</id>
    <country_name>French Third Republic</country_name>
    <country_wikidata>Q70802</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Paris</capital>
    <capital_wikidata>Q90</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.8567</lat>
    <lon>2.3522</lon>
  </row>
  <row>
    <id>Q797214-2659084F-AE1C-4E4A-BFAA-7726E3C36DF4</id>
    <country_name>French Togoland</country_name>
    <country_wikidata>Q797214</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lomé</capital>
    <capital_wikidata>Q3792</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>6.13</lat>
    <lon>1.2158</lon>
  </row>
  <row>
    <id>Q179023-46711037-89B3-47E1-B283-77C88685DA32</id>
    <country_name>French colonial empire</country_name>
    <country_wikidata>Q179023</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Paris</capital>
    <capital_wikidata>Q90</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.8567</lat>
    <lon>2.3522</lon>
  </row>
  <row>
    <id>Q69323-a35dfebe-4b03-9e62-0bc5-b9f21eedcf07</id>
    <country_name>French constitutional monarchy</country_name>
    <country_wikidata>Q69323</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Paris</capital>
    <capital_wikidata>Q90</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.8567</lat>
    <lon>2.3522</lon>
  </row>
  <row>
    <id>Q2017684-d274648e-4e7b-664b-0147-a8d5b5ed1181</id>
    <country_name>French protectorate of Tunisia</country_name>
    <country_wikidata>Q2017684</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tunis</capital>
    <capital_wikidata>Q3572</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>36.8008</lat>
    <lon>10.18</lon>
  </row>
  <row>
    <id>Q87791-d02fbd3e-498e-6294-71bd-a75968f28c0c</id>
    <country_name>Frisian Kingdom</country_name>
    <country_wikidata>Q87791</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Utrecht</capital>
    <capital_wikidata>Q39297398</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.0908</lat>
    <lon>5.1222</lon>
  </row>
  <row>
    <id>q1000-8c49c984-4645-545d-44fc-97a478b76ecc</id>
    <country_name>Gabon</country_name>
    <country_wikidata>Q1000</country_wikidata>
    <country>GAB</country>
    <state_status>sovereign state</state_status>
    <capital>Libreville</capital>
    <capital_wikidata>Q3825</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>0.4078</lat>
    <lon>9.4403</lon>
  </row>
  <row>
    <id>Q2504040-8586367b-461c-66ee-be31-75a5cd332e0c</id>
    <country_name>Gagauz Republic</country_name>
    <country_wikidata>Q2504040</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Comrat</capital>
    <capital_wikidata>Q241122</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>46.3003</lat>
    <lon>28.6572</lon>
  </row>
  <row>
    <id>Q61385-9aa5486f-48c1-615c-8042-95c5bd974b65</id>
    <country_name>Galician Soviet Socialist Republic</country_name>
    <country_wikidata>Q61385</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ternopil</capital>
    <capital_wikidata>Q156743</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>49.5667</lat>
    <lon>25.6</lon>
  </row>
  <row>
    <id>Q273025-EA902F37-3E99-48B9-8098-076E142AC7DE</id>
    <country_name>Gallic Empire</country_name>
    <country_wikidata>Q273025</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Cologne</capital>
    <capital_wikidata>Q365</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.9422</lat>
    <lon>6.9578</lon>
  </row>
  <row>
    <id>Q112980583-26a14d0b-4b8f-31df-d0c3-c68ad95f8876</id>
    <country_name>Gandhāra</country_name>
    <country_wikidata>Q112980583</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Taxila</capital>
    <capital_wikidata>Q156093</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>33.7458</lat>
    <lon>72.7875</lon>
  </row>
  <row>
    <id>Q1740536-82554a10-4e3e-0dc0-345e-7ecffd027fed</id>
    <country_name>Ganja khanate</country_name>
    <country_wikidata>Q1740536</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ganja</capital>
    <capital_wikidata>Q131290</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>40.6828</lat>
    <lon>46.3606</lon>
  </row>
  <row>
    <id>Q3780537-6607fa59-48e7-3578-2a0e-1992abb98ab4</id>
    <country_name>Gaza Empire</country_name>
    <country_wikidata>Q3780537</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Manjacaze</capital>
    <capital_wikidata>Q3492539</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-24.7117</lat>
    <lon>33.8828</lon>
  </row>
  <row>
    <id>Q862518-133bc927-482c-6f0f-7191-d162dcfe458f</id>
    <country_name>Geledi Sultanate</country_name>
    <country_wikidata>Q862518</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Afgooye</capital>
    <capital_wikidata>Q383218</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>2.1167</lat>
    <lon>45.1167</lon>
  </row>
  <row>
    <id>Q230-ec9d648d-482d-8695-71a2-0ead35a2aa2c</id>
    <country_name>Georgia</country_name>
    <country_wikidata>Q230</country_wikidata>
    <country>GEO</country>
    <state_status>sovereign state</state_status>
    <capital>Kutaisi</capital>
    <capital_wikidata>Q172415</capital_wikidata>
    <from>0978</from>
    <until>1122</until>
    <from_year>978</from_year>
    <until_year>1122</until_year>
    <years_as_capital>144</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>42.2717</lat>
    <lon>42.7056</lon>
  </row>
  <row>
    <id>q230-5E6C25E3-250B-4951-B5EE-2625A576B8BE</id>
    <country_name>Georgia</country_name>
    <country_wikidata>Q230</country_wikidata>
    <country>GEO</country>
    <state_status>sovereign state</state_status>
    <capital>Tbilisi</capital>
    <capital_wikidata>Q994</capital_wikidata>
    <from>1122</from>
    <from_year>1122</from_year>
    <current>true</current>
    <capitals_count>2</capitals_count>
    <lat>41.7225</lat>
    <lon>44.7925</lon>
  </row>
  <row>
    <id>Q130229-6cdc56bc-42b5-427f-cab6-f43d7b4af7f1</id>
    <country_name>Georgian SSR</country_name>
    <country_wikidata>Q130229</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tbilisi</capital>
    <capital_wikidata>Q994</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.7225</lat>
    <lon>44.7925</lon>
  </row>
  <row>
    <id>Q153963-7C435705-9FC0-4D02-8D0B-E6036CB68BF8</id>
    <country_name>German East Africa</country_name>
    <country_wikidata>Q153963</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bagamoyo</capital>
    <capital_wikidata>Q799843</capital_wikidata>
    <from>1885</from>
    <until>1890</until>
    <from_year>1885</from_year>
    <until_year>1890</until_year>
    <years_as_capital>5</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>-6.4333</lat>
    <lon>38.9</lon>
  </row>
  <row>
    <id>Q153963-5ec8d7f5-46d6-2018-2c93-17096b1894de</id>
    <country_name>German East Africa</country_name>
    <country_wikidata>Q153963</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Dar es Salaam</capital>
    <capital_wikidata>Q1960</capital_wikidata>
    <from>1890</from>
    <until>1916</until>
    <from_year>1890</from_year>
    <until_year>1916</until_year>
    <years_as_capital>26</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>-6.8161</lat>
    <lon>39.2803</lon>
  </row>
  <row>
    <id>Q43287-edb681dc-4fd2-7793-3a8f-30fddbea8ae2</id>
    <country_name>German Empire</country_name>
    <country_wikidata>Q43287</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Berlin</capital>
    <capital_wikidata>Q64</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.5167</lat>
    <lon>13.3833</lon>
  </row>
  <row>
    <id>Q18285930-4ca03bfc-48fb-1ee6-1195-d9e686d68c59</id>
    <country_name>German Empire of 1848/1849</country_name>
    <country_wikidata>Q18285930</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Frankfurt</capital>
    <capital_wikidata>Q1794</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.1106</lat>
    <lon>8.6822</lon>
  </row>
  <row>
    <id>Q153665-e6f33223-43cf-c74c-e908-067a0d28166f</id>
    <country_name>German South-West Africa</country_name>
    <country_wikidata>Q153665</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Otjimbingwe</capital>
    <capital_wikidata>Q464050</capital_wikidata>
    <from>1884</from>
    <until>1891</until>
    <from_year>1884</from_year>
    <until_year>1891</until_year>
    <years_as_capital>7</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>-22.3575</lat>
    <lon>16.1286</lon>
  </row>
  <row>
    <id>Q153665-48f2ea07-4e96-6d7f-6e9f-8935e7629229</id>
    <country_name>German South-West Africa</country_name>
    <country_wikidata>Q153665</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Windhoek</capital>
    <capital_wikidata>Q3935</capital_wikidata>
    <from>1891</from>
    <until>1915-05</until>
    <from_year>1891</from_year>
    <until_year>1915</until_year>
    <years_as_capital>24</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>-22.57</lat>
    <lon>17.0836</lon>
  </row>
  <row>
    <id>Q329618-d91e6c81-49ef-dc4b-fe02-dcc8f525eb2d</id>
    <country_name>German colonial empire</country_name>
    <country_wikidata>Q329618</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Berlin</capital>
    <capital_wikidata>Q64</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.5167</lat>
    <lon>13.3833</lon>
  </row>
  <row>
    <id>Q183-f28369da-4f68-b2bb-29c9-ae986f663dc0</id>
    <country_name>Germany</country_name>
    <country_wikidata>Q183</country_wikidata>
    <country>DEU</country>
    <state_status>sovereign state</state_status>
    <capital>Berlin</capital>
    <capital_wikidata>Q64</capital_wikidata>
    <from>1867-07-01</from>
    <from_year>1867</from_year>
    <current>true</current>
    <role>de jure national capital</role>
    <capitals_count>2</capitals_count>
    <lat>52.5167</lat>
    <lon>13.3833</lon>
  </row>
  <row>
    <id>q183-dca01d99-4ddf-3773-f17e-1e150e2cedf0</id>
    <country_name>Germany</country_name>
    <country_wikidata>Q183</country_wikidata>
    <country>DEU</country>
    <state_status>sovereign state</state_status>
    <capital>Bonn</capital>
    <capital_wikidata>Q586</capital_wikidata>
    <from>1949</from>
    <until>1999</until>
    <from_year>1949</from_year>
    <until_year>1999</until_year>
    <years_as_capital>50</years_as_capital>
    <current>false</current>
    <role>seat of government</role>
    <capitals_count>2</capitals_count>
    <lat>50.7353</lat>
    <lon>7.1022</lon>
  </row>
  <row>
    <id>Q183-cf822bf6-4ee8-c141-725c-aef66e18cdae</id>
    <country_name>Germany</country_name>
    <country_wikidata>Q183</country_wikidata>
    <country>DEU</country>
    <state_status>sovereign state</state_status>
    <capital>Bonn</capital>
    <capital_wikidata>Q586</capital_wikidata>
    <from>1973</from>
    <until>1990</until>
    <from_year>1973</from_year>
    <until_year>1990</until_year>
    <years_as_capital>17</years_as_capital>
    <current>false</current>
    <role>de jure national capital</role>
    <capitals_count>2</capitals_count>
    <lat>50.7353</lat>
    <lon>7.1022</lon>
  </row>
  <row>
    <id>q183-7068B86F-8E11-4456-8297-2CE3B50C38EA</id>
    <country_name>Germany</country_name>
    <country_wikidata>Q183</country_wikidata>
    <country>DEU</country>
    <state_status>sovereign state</state_status>
    <capital>Berlin</capital>
    <capital_wikidata>Q64</capital_wikidata>
    <from>1990-10-03</from>
    <from_year>1990</from_year>
    <current>true</current>
    <role>de jure national capital</role>
    <capitals_count>2</capitals_count>
    <lat>52.5167</lat>
    <lon>13.3833</lon>
  </row>
  <row>
    <id>Q183-0cf8133c-44be-a094-4c18-56434f7f4b9f</id>
    <country_name>Germany</country_name>
    <country_wikidata>Q183</country_wikidata>
    <country>DEU</country>
    <state_status>sovereign state</state_status>
    <capital>Berlin</capital>
    <capital_wikidata>Q64</capital_wikidata>
    <from>1999</from>
    <from_year>1999</from_year>
    <current>true</current>
    <role>seat of government</role>
    <capitals_count>2</capitals_count>
    <lat>52.5167</lat>
    <lon>13.3833</lon>
  </row>
  <row>
    <id>q117-5D950DEF-6A10-4C11-B2B8-74CD61EB83C2</id>
    <country_name>Ghana</country_name>
    <country_wikidata>Q117</country_wikidata>
    <country>GHA</country>
    <state_status>sovereign state</state_status>
    <capital>Accra</capital>
    <capital_wikidata>Q3761</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>5.556</lat>
    <lon>-0.1969</lon>
  </row>
  <row>
    <id>Q206789-FD4A3EB1-EF98-4DA5-807B-DC51D297FA77</id>
    <country_name>Ghana Empire</country_name>
    <country_wikidata>Q206789</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Koumbi Saleh</capital>
    <capital_wikidata>Q682728</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>15.7561</lat>
    <lon>-7.9714</lon>
  </row>
  <row>
    <id>Q249578-9644F90E-CDF1-438F-BAEF-E9B28CACBE8E</id>
    <country_name>Ghaznavid Empire</country_name>
    <country_wikidata>Q249578</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ghazni</capital>
    <capital_wikidata>Q173731</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>33.5492</lat>
    <lon>68.4233</lon>
  </row>
  <row>
    <id>Q18608788-2a5bb92d-40d3-6b63-f249-405a69f85eb5</id>
    <country_name>Ghurid Empire</country_name>
    <country_wikidata>Q18608788</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Herat</capital>
    <capital_wikidata>Q45313</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>34.3419</lat>
    <lon>62.2031</lon>
  </row>
  <row>
    <id>Q18608788-4f60025e-4aac-6957-47a4-d16cf18a141d</id>
    <country_name>Ghurid Empire</country_name>
    <country_wikidata>Q18608788</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Firozkoh</capital>
    <capital_wikidata>Q7856199</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
  </row>
  <row>
    <id>Q18608788-6219caaf-4da5-39e1-b623-6f211b1cbb48</id>
    <country_name>Ghurid Empire</country_name>
    <country_wikidata>Q18608788</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ghazni</capital>
    <capital_wikidata>Q173731</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>33.5492</lat>
    <lon>68.4233</lon>
  </row>
  <row>
    <id>Q18608788-b890dc21-4ab1-5066-d1ef-f79dfb697260</id>
    <country_name>Ghurid Empire</country_name>
    <country_wikidata>Q18608788</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lahore</capital>
    <capital_wikidata>Q11739</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>31.5497</lat>
    <lon>74.3436</lon>
  </row>
  <row>
    <id>Q2297073-843DCCF9-BB99-465F-9AA4-0D19694CE449</id>
    <country_name>Giudicato of Cagliari</country_name>
    <country_wikidata>Q2297073</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Cagliari</capital>
    <capital_wikidata>Q1897</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>39.2167</lat>
    <lon>9.1167</lon>
  </row>
  <row>
    <id>Q2723760-7436B877-816F-4DC6-B77F-441ABB7F534D</id>
    <country_name>Giudicato of Gallura</country_name>
    <country_wikidata>Q2723760</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Olbia</capital>
    <capital_wikidata>Q13630</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>40.9167</lat>
    <lon>9.5</lon>
  </row>
  <row>
    <id>Q1761381-DAAAFFFC-D887-46B0-9BCA-973E2B303EC7</id>
    <country_name>Giudicato of Logudoro</country_name>
    <country_wikidata>Q1761381</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Porto Torres</capital>
    <capital_wikidata>Q391316</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>40.8369</lat>
    <lon>8.4014</lon>
  </row>
  <row>
    <id>Q1533541-449b45c9-4eda-1ccf-0cfc-c071af7e2c7e</id>
    <country_name>Gobir</country_name>
    <country_wikidata>Q1533541</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Alkalawa</capital>
    <capital_wikidata>Q4727628</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>13.6131</lat>
    <lon>6.26</lon>
  </row>
  <row>
    <id>Q28370-E36C1EA7-9A4C-416C-A55B-9D0B5153A806</id>
    <country_name>Goguryeo</country_name>
    <country_wikidata>Q28370</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Jolbon</capital>
    <capital_wikidata>Q715385</capital_wikidata>
    <from>-37</from>
    <until>0003</until>
    <from_year>-37</from_year>
    <until_year>3</until_year>
    <years_as_capital>39</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>41.3267</lat>
    <lon>125.4117</lon>
  </row>
  <row>
    <id>Q28370-16a36715-44d0-6e89-a2b2-5ed945902cb2</id>
    <country_name>Goguryeo</country_name>
    <country_wikidata>Q28370</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Gungnae</capital>
    <capital_wikidata>Q711386</capital_wikidata>
    <from>0003</from>
    <until>0427</until>
    <from_year>3</from_year>
    <until_year>427</until_year>
    <years_as_capital>424</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>41.1208</lat>
    <lon>126.1786</lon>
  </row>
  <row>
    <id>Q28370-95ff2dcb-4960-7d3b-8b38-f03e17969cec</id>
    <country_name>Goguryeo</country_name>
    <country_wikidata>Q28370</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Pyongyang</capital>
    <capital_wikidata>Q18808</capital_wikidata>
    <from>0427</from>
    <until>0668</until>
    <from_year>427</from_year>
    <until_year>668</until_year>
    <years_as_capital>241</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>39.0167</lat>
    <lon>125.7475</lon>
  </row>
  <row>
    <id>Q28405-355b4bcc-4d2e-843a-c932-f3a9bb1bf190</id>
    <country_name>Gojoseon</country_name>
    <country_wikidata>Q28405</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Wanggeom-seong</capital>
    <capital_wikidata>Q7967865</capital_wikidata>
    <from>-194</from>
    <until>-108</until>
    <from_year>-194</from_year>
    <until_year>-108</until_year>
    <years_as_capital>86</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
  </row>
  <row>
    <id>Q28405-55166EA8-9C62-4524-9A4A-9CBCF27F1FB3</id>
    <country_name>Gojoseon</country_name>
    <country_wikidata>Q28405</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Asadal</capital>
    <capital_wikidata>Q704133</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
  </row>
  <row>
    <id>Q28405-17858c4a-4430-d439-7fe1-3aa0311a474d</id>
    <country_name>Gojoseon</country_name>
    <country_wikidata>Q28405</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Pyongyang</capital>
    <capital_wikidata>Q18808</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>39.0167</lat>
    <lon>125.7475</lon>
  </row>
  <row>
    <id>Q19805959-8540B225-BBC6-4D47-BDFB-F0083EB68941</id>
    <country_name>Golconda Sultanate</country_name>
    <country_wikidata>Q19805959</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Golconda</capital>
    <capital_wikidata>Q4141623</capital_wikidata>
    <from>1519</from>
    <until>1591</until>
    <from_year>1519</from_year>
    <until_year>1591</until_year>
    <years_as_capital>72</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>17.3833</lat>
    <lon>78.4042</lon>
  </row>
  <row>
    <id>Q19805959-0857FABB-5200-4EAB-BA74-FC1AABA80A49</id>
    <country_name>Golconda Sultanate</country_name>
    <country_wikidata>Q19805959</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Hyderabad</capital>
    <capital_wikidata>Q1361</capital_wikidata>
    <from>1591</from>
    <until>1687</until>
    <from_year>1591</from_year>
    <until_year>1687</until_year>
    <years_as_capital>96</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>17.3617</lat>
    <lon>78.4747</lon>
  </row>
  <row>
    <id>Q503623-97268b8e-4700-8019-e22f-6e16f946543e</id>
    <country_name>Gold Coast Colony</country_name>
    <country_wikidata>Q503623</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Accra</capital>
    <capital_wikidata>Q3761</capital_wikidata>
    <from>1877</from>
    <from_year>1877</from_year>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>5.556</lat>
    <lon>-0.1969</lon>
  </row>
  <row>
    <id>Q746443-5F0497B2-FEBC-4B1E-85DF-15DF25BE3C23</id>
    <country_name>Golden Ambrosian Republic</country_name>
    <country_wikidata>Q746443</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Milan</capital>
    <capital_wikidata>Q490</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>45.4669</lat>
    <lon>9.19</lon>
  </row>
  <row>
    <id>Q79965-c329de68-4e7e-5f77-79bb-b155d68aeac2</id>
    <country_name>Golden Horde</country_name>
    <country_wikidata>Q79965</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sarai Berke</capital>
    <capital_wikidata>Q1061338</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
  </row>
  <row>
    <id>Q79965-c5c77a28-4fd4-6aff-292b-6b7b817f3b0b</id>
    <country_name>Golden Horde</country_name>
    <country_wikidata>Q79965</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bolgar</capital>
    <capital_wikidata>Q105284</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>54.9667</lat>
    <lon>49.0333</lon>
  </row>
  <row>
    <id>Q79965-CF33D3ED-0D25-4BAA-B972-298FF5E327F8</id>
    <country_name>Golden Horde</country_name>
    <country_wikidata>Q79965</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sarai</capital>
    <capital_wikidata>Q477152</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
  </row>
  <row>
    <id>Q692946-D89F2026-D81E-416B-BE2C-E42E87B60BF0</id>
    <country_name>Gorizia and Gradisca</country_name>
    <country_wikidata>Q692946</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Gorizia</capital>
    <capital_wikidata>Q6596</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>45.9352</lat>
    <lon>13.6193</lon>
  </row>
  <row>
    <id>Q28208-42ade059-4818-9d38-7e8a-f39030c4c8e2</id>
    <country_name>Goryeo</country_name>
    <country_wikidata>Q28208</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ganghwa Island</capital>
    <capital_wikidata>Q494786</capital_wikidata>
    <from>1232</from>
    <until>1270</until>
    <from_year>1232</from_year>
    <until_year>1270</until_year>
    <years_as_capital>38</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>37.71</lat>
    <lon>126.44</lon>
  </row>
  <row>
    <id>Q28208-F2789909-6DF6-4999-93DC-C41E22843113</id>
    <country_name>Goryeo</country_name>
    <country_wikidata>Q28208</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kaesong</capital>
    <capital_wikidata>Q109079</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>37.9717</lat>
    <lon>126.5528</lon>
  </row>
  <row>
    <id>Q616992-e365ecf9-4675-c9d8-f890-777eca9afaf5</id>
    <country_name>Governorate of Montenegro</country_name>
    <country_wikidata>Q616992</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Cetinje</capital>
    <capital_wikidata>Q173338</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>42.3894</lat>
    <lon>18.9247</lon>
  </row>
  <row>
    <id>Q1540575-ad56219a-405c-11ea-4ea6-a74e218fe644</id>
    <country_name>Gozo</country_name>
    <country_wikidata>Q1540575</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Rabat</capital>
    <capital_wikidata>Q752348</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>36.05</lat>
    <lon>14.25</lon>
  </row>
  <row>
    <id>Q199821-8d93a449-4ae8-9a42-8999-d9f7317aecf6</id>
    <country_name>Gran Colombia</country_name>
    <country_wikidata>Q199821</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bogotá</capital>
    <capital_wikidata>Q2841</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>4.6097</lat>
    <lon>-74.0817</lon>
  </row>
  <row>
    <id>Q1141215-57409c61-482a-463c-8329-ca02c2db4ae5</id>
    <country_name>Granadine Confederation</country_name>
    <country_wikidata>Q1141215</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tunja</capital>
    <capital_wikidata>Q236744</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>5.5403</lat>
    <lon>-73.3614</lon>
  </row>
  <row>
    <id>Q1141215-9ba0828d-4195-2520-113b-c270ee3f018e</id>
    <country_name>Granadine Confederation</country_name>
    <country_wikidata>Q1141215</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bogotá</capital>
    <capital_wikidata>Q2841</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>4.6097</lat>
    <lon>-74.0817</lon>
  </row>
  <row>
    <id>Q186320-63a0a5df-4d44-6dee-41ad-cae34d14c45e</id>
    <country_name>Grand Duchy of Baden</country_name>
    <country_wikidata>Q186320</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Karlsruhe</capital>
    <capital_wikidata>Q1040</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>49.0167</lat>
    <lon>8.4</lon>
  </row>
  <row>
    <id>Q249428-61eb9c23-4e62-7a20-3411-6fe878d78ccd</id>
    <country_name>Grand Duchy of Berg</country_name>
    <country_wikidata>Q249428</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Düsseldorf</capital>
    <capital_wikidata>Q1718</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.2256</lat>
    <lon>6.7767</lon>
  </row>
  <row>
    <id>q62633-85cfbcda-4c1e-74ec-5e47-980f07c1cb64</id>
    <country_name>Grand Duchy of Finland</country_name>
    <country_wikidata>Q62633</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Turku</capital>
    <capital_wikidata>Q38511</capital_wikidata>
    <from>1809</from>
    <until>1812</until>
    <from_year>1809</from_year>
    <until_year>1812</until_year>
    <years_as_capital>3</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>60.4517</lat>
    <lon>22.2669</lon>
  </row>
  <row>
    <id>q62633-eb5d06e4-40e5-d943-2b64-dab6933a6c9c</id>
    <country_name>Grand Duchy of Finland</country_name>
    <country_wikidata>Q62633</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Helsinki</capital>
    <capital_wikidata>Q1757</capital_wikidata>
    <from>1812</from>
    <until>1917</until>
    <from_year>1812</from_year>
    <until_year>1917</until_year>
    <years_as_capital>105</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>60.1708</lat>
    <lon>24.9375</lon>
  </row>
  <row>
    <id>Q20135-526c6e65-4ee4-af00-4ebd-fc8bd8088ccc</id>
    <country_name>Grand Duchy of Hesse</country_name>
    <country_wikidata>Q20135</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Darmstadt</capital>
    <capital_wikidata>Q2973</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>49.8667</lat>
    <lon>8.65</lon>
  </row>
  <row>
    <id>Q49683-99247589-4559-5af1-9bb2-74d3d55f011c</id>
    <country_name>Grand Duchy of Lithuania</country_name>
    <country_wikidata>Q49683</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kernavė</capital>
    <capital_wikidata>Q215315</capital_wikidata>
    <from>1279</from>
    <until>1321</until>
    <from_year>1279</from_year>
    <until_year>1321</until_year>
    <years_as_capital>42</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>54.8833</lat>
    <lon>24.85</lon>
  </row>
  <row>
    <id>Q49683-1ef19a9f-4b33-1474-79d6-e3d1b60ac714</id>
    <country_name>Grand Duchy of Lithuania</country_name>
    <country_wikidata>Q49683</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Trakai</capital>
    <capital_wikidata>Q191015</capital_wikidata>
    <from>1321</from>
    <until>1323</until>
    <from_year>1321</from_year>
    <until_year>1323</until_year>
    <years_as_capital>2</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>54.6333</lat>
    <lon>24.9333</lon>
  </row>
  <row>
    <id>q49683-d733d2b8-4380-7842-1fe1-0e0715025223</id>
    <country_name>Grand Duchy of Lithuania</country_name>
    <country_wikidata>Q49683</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vilnius</capital>
    <capital_wikidata>Q216</capital_wikidata>
    <from>1323</from>
    <from_year>1323</from_year>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>54.6872</lat>
    <lon>25.28</lon>
  </row>
  <row>
    <id>Q49683-fbf784c6-4010-587f-0aa3-758cc31d43ee</id>
    <country_name>Grand Duchy of Lithuania</country_name>
    <country_wikidata>Q49683</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Navahrudak</capital>
    <capital_wikidata>Q278743</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>53.5992</lat>
    <lon>25.8256</lon>
  </row>
  <row>
    <id>Q25536394-4c4cdf07-4944-ab3b-f6a9-e64625490a0b</id>
    <country_name>Grand Duchy of Lithuania 1812</country_name>
    <country_wikidata>Q25536394</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vilnius</capital>
    <capital_wikidata>Q216</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>54.6872</lat>
    <lon>25.28</lon>
  </row>
  <row>
    <id>Q158445-ae55bc27-4e91-9c07-92f8-20d0c2df006b</id>
    <country_name>Grand Duchy of Mecklenburg-Schwerin</country_name>
    <country_wikidata>Q158445</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Schwerin</capital>
    <capital_wikidata>Q1709</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>53.6289</lat>
    <lon>11.415</lon>
  </row>
  <row>
    <id>Q161215-73cab468-49e9-1344-c92c-26dac90f3e54</id>
    <country_name>Grand Duchy of Mecklenburg-Strelitz</country_name>
    <country_wikidata>Q161215</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Neustrelitz</capital>
    <capital_wikidata>Q20352</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>53.3647</lat>
    <lon>13.0636</lon>
  </row>
  <row>
    <id>Q154849-624d3fcb-4ac2-b8fc-c1f4-7d1c29e41639</id>
    <country_name>Grand Duchy of Tuscany</country_name>
    <country_wikidata>Q154849</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Florence</capital>
    <capital_wikidata>Q2044</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>43.7714</lat>
    <lon>11.2542</lon>
  </row>
  <row>
    <id>Q698089-42614AE9-85E0-4021-9A18-0496008C5C64</id>
    <country_name>Grand Duchy of Würzburg</country_name>
    <country_wikidata>Q698089</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Würzburg</capital>
    <capital_wikidata>Q2999</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>49.7944</lat>
    <lon>9.9294</lon>
  </row>
  <row>
    <id>Q170770-3ec0118d-47b6-7aae-bc23-6ac8f7cd49e1</id>
    <country_name>Grand Principality of Moscow</country_name>
    <country_wikidata>Q170770</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Moscow</capital>
    <capital_wikidata>Q649</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>55.7506</lat>
    <lon>37.6175</lon>
  </row>
  <row>
    <id>Q2479352-cae8b02b-42be-4211-c316-92a408c5903d</id>
    <country_name>Grand Principality of Perm</country_name>
    <country_wikidata>Q2479352</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Cherdyn</capital>
    <capital_wikidata>Q197934</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>60.4</lat>
    <lon>56.4833</lon>
  </row>
  <row>
    <id>Q83546-A3927360-52EA-4EA4-A160-E506AFCBC0FA</id>
    <country_name>Grand Principality of Vladimir</country_name>
    <country_wikidata>Q83546</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Rostov Veliky</capital>
    <capital_wikidata>Q193342</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>57.1833</lat>
    <lon>39.4167</lon>
  </row>
  <row>
    <id>Q83546-c5b16582-486c-5e1a-1de2-2b58cf9516de</id>
    <country_name>Grand Principality of Vladimir</country_name>
    <country_wikidata>Q83546</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vladimir</capital>
    <capital_wikidata>Q2684</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>56.1286</lat>
    <lon>40.4058</lon>
  </row>
  <row>
    <id>Q83546-cc1e8d1c-4e19-7939-c134-b35a1f453cca</id>
    <country_name>Grand Principality of Vladimir</country_name>
    <country_wikidata>Q83546</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Suzdal</capital>
    <capital_wikidata>Q15757</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>56.4211</lat>
    <lon>40.4489</lon>
  </row>
  <row>
    <id>Q640010-35c70314-4e1b-59ad-da2f-db5b363bd613</id>
    <country_name>Great Ardra</country_name>
    <country_wikidata>Q640010</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Allada</capital>
    <capital_wikidata>Q960239</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>6.665</lat>
    <lon>2.1522</lon>
  </row>
  <row>
    <id>Q2341105-0d6437fd-41f0-a23f-357f-f9fcaddc5334</id>
    <country_name>Great Horde</country_name>
    <country_wikidata>Q2341105</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sarai Berke</capital>
    <capital_wikidata>Q1061338</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
  </row>
  <row>
    <id>Q193152-dd672684-4e28-26d5-0bf3-162b7402c814</id>
    <country_name>Great Moravia</country_name>
    <country_wikidata>Q193152</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Veligrad</capital>
    <capital_wikidata>Q1131299</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
  </row>
  <row>
    <id>Q385084-65A6365C-911A-402D-BD2C-4404DAACAEDA</id>
    <country_name>Great Perm</country_name>
    <country_wikidata>Q385084</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Cherdyn</capital>
    <capital_wikidata>Q197934</capital_wikidata>
    <from>1324</from>
    <from_year>1324</from_year>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>60.4</lat>
    <lon>56.4833</lon>
  </row>
  <row>
    <id>Q385084-a0deea1d-43f8-1b87-a87d-1dd16fa728cb</id>
    <country_name>Great Perm</country_name>
    <country_wikidata>Q385084</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Solikamsk</capital>
    <capital_wikidata>Q196384</capital_wikidata>
    <from>1636</from>
    <from_year>1636</from_year>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>59.6333</lat>
    <lon>56.7667</lon>
  </row>
  <row>
    <id>Q385084-171BD928-A84B-4F29-855B-2B52641222CE</id>
    <country_name>Great Perm</country_name>
    <country_wikidata>Q385084</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Pokcha</capital>
    <capital_wikidata>Q3927168</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>60.4539</lat>
    <lon>56.4583</lon>
  </row>
  <row>
    <id>Q385084-848B6E26-CF6C-4A20-8238-426E2EB3DE6A</id>
    <country_name>Great Perm</country_name>
    <country_wikidata>Q385084</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Iskor</capital>
    <capital_wikidata>Q4203879</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>60.651</lat>
    <lon>56.7056</lon>
  </row>
  <row>
    <id>Q4843701-BAE65A21-AD8A-4818-8D39-2C68AD9C5DA0</id>
    <country_name>Great Socialist People's Libyan Arab Jamahiriya</country_name>
    <country_wikidata>Q4843701</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tripoli</capital>
    <capital_wikidata>Q3579</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>32.8875</lat>
    <lon>13.1875</lon>
  </row>
  <row>
    <id>Q41-e627c043-4be2-b252-c25f-2664349f5f16</id>
    <country_name>Greece</country_name>
    <country_wikidata>Q41</country_wikidata>
    <country>GRC</country>
    <state_status>sovereign state</state_status>
    <capital>Aegina</capital>
    <capital_wikidata>Q3720429</capital_wikidata>
    <from>1826-11-11</from>
    <until>1828</until>
    <from_year>1826</from_year>
    <until_year>1828</until_year>
    <years_as_capital>2</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>37.7467</lat>
    <lon>23.4275</lon>
  </row>
  <row>
    <id>Q41-270C7998-04F7-4B30-B8B1-496500068612</id>
    <country_name>Greece</country_name>
    <country_wikidata>Q41</country_wikidata>
    <country>GRC</country>
    <state_status>sovereign state</state_status>
    <capital>Nafplio</capital>
    <capital_wikidata>Q202337</capital_wikidata>
    <from>1828</from>
    <until>1833</until>
    <from_year>1828</from_year>
    <until_year>1833</until_year>
    <years_as_capital>5</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>37.5658</lat>
    <lon>22.8</lon>
  </row>
  <row>
    <id>q41-E6C6BEA5-EAFC-4AE3-950C-2FE16E11F910</id>
    <country_name>Greece</country_name>
    <country_wikidata>Q41</country_wikidata>
    <country>GRC</country>
    <state_status>sovereign state</state_status>
    <capital>Athens</capital>
    <capital_wikidata>Q1524</capital_wikidata>
    <from>1834</from>
    <from_year>1834</from_year>
    <current>true</current>
    <capitals_count>3</capitals_count>
    <lat>37.9842</lat>
    <lon>23.7281</lon>
  </row>
  <row>
    <id>Q41-19957EA2-EC09-42C1-9769-B6F48A333226</id>
    <country_name>Greece</country_name>
    <country_wikidata>Q41</country_wikidata>
    <country>GRC</country>
    <state_status>sovereign state</state_status>
    <capital>Athens</capital>
    <capital_wikidata>Q1524</capital_wikidata>
    <current>true</current>
    <capitals_count>3</capitals_count>
    <lat>37.9842</lat>
    <lon>23.7281</lon>
  </row>
  <row>
    <id>q769-D8ED61EE-2123-47E3-99EC-491A08727A9A</id>
    <country_name>Grenada</country_name>
    <country_wikidata>Q769</country_wikidata>
    <country>GRD</country>
    <state_status>sovereign state</state_status>
    <capital>St. George's</capital>
    <capital_wikidata>Q41547</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>12.0525</lat>
    <lon>-61.7531</lon>
  </row>
  <row>
    <id>Q11061992-49dafa4f-49b4-fc58-e881-412142cd007d</id>
    <country_name>Guangzhou Government of the Republic of China</country_name>
    <country_wikidata>Q11061992</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Guangzhou</capital>
    <capital_wikidata>Q16572</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>23.13</lat>
    <lon>113.26</lon>
  </row>
  <row>
    <id>q774-1FA998AC-B7CE-47AC-B753-1078865AB591</id>
    <country_name>Guatemala</country_name>
    <country_wikidata>Q774</country_wikidata>
    <country>GTM</country>
    <state_status>sovereign state</state_status>
    <capital>Guatemala City</capital>
    <capital_wikidata>Q1555</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>14.6417</lat>
    <lon>-90.5133</lon>
  </row>
  <row>
    <id>q1006-B176A807-790D-4B69-BEA0-A31B26C52482</id>
    <country_name>Guinea</country_name>
    <country_wikidata>Q1006</country_wikidata>
    <country>GIN</country>
    <state_status>sovereign state</state_status>
    <capital>Conakry</capital>
    <capital_wikidata>Q3733</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>9.5092</lat>
    <lon>-13.7122</lon>
  </row>
  <row>
    <id>q1007-FCDCE328-CD84-41B9-A536-ADB3309A9EE0</id>
    <country_name>Guinea-Bissau</country_name>
    <country_wikidata>Q1007</country_wikidata>
    <country>GNB</country>
    <state_status>sovereign state</state_status>
    <capital>Bissau</capital>
    <capital_wikidata>Q3739</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>11.86</lat>
    <lon>-15.5833</lon>
  </row>
  <row>
    <id>Q11774-2745D2E5-D7CB-4404-9653-5541DF86B6CC</id>
    <country_name>Gupta Empire</country_name>
    <country_wikidata>Q11774</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Pataliputra</capital>
    <capital_wikidata>Q389755</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>25.611</lat>
    <lon>85.144</lon>
  </row>
  <row>
    <id>Q2028318-81448042-D85E-4488-A4C0-D267A941525B</id>
    <country_name>Gurian Republic</country_name>
    <country_wikidata>Q2028318</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ozurgeti</capital>
    <capital_wikidata>Q317145</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.923</lat>
    <lon>42.005</lon>
  </row>
  <row>
    <id>Q5324-13EDCB01-CF07-41AA-B92A-8A1D2EBE6257</id>
    <country_name>Gurjara-Pratihara</country_name>
    <country_wikidata>Q5324</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kannauj</capital>
    <capital_wikidata>Q614890</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>27.0313</lat>
    <lon>79.922</lon>
  </row>
  <row>
    <id>q734-EDBD1C5F-A849-45D9-BDF4-2889B1F59038</id>
    <country_name>Guyana</country_name>
    <country_wikidata>Q734</country_wikidata>
    <country>GUY</country>
    <state_status>sovereign state</state_status>
    <capital>Georgetown</capital>
    <capital_wikidata>Q10717</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>6.8058</lat>
    <lon>-58.1508</lon>
  </row>
  <row>
    <id>Q1557792-c921cb03-4ae7-8480-d9f4-9d645fc31777</id>
    <country_name>Gwalior State</country_name>
    <country_wikidata>Q1557792</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ujjain</capital>
    <capital_wikidata>Q200119</capital_wikidata>
    <from>1731</from>
    <until>1801</until>
    <from_year>1731</from_year>
    <until_year>1801</until_year>
    <years_as_capital>70</years_as_capital>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>23.1828</lat>
    <lon>75.7772</lon>
  </row>
  <row>
    <id>Q205466-693597a3-4318-39e6-911c-78fee1d3a484</id>
    <country_name>Göktürks</country_name>
    <country_wikidata>Q205466</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ordu-Baliq</capital>
    <capital_wikidata>Q2475401</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>47.4311</lat>
    <lon>102.6594</lon>
  </row>
  <row>
    <id>Q600093-8b36eccf-4018-08d5-97fd-c1bd2c1b914d</id>
    <country_name>Habsburg Spain</country_name>
    <country_wikidata>Q600093</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Valladolid</capital>
    <capital_wikidata>Q8356</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>41.652</lat>
    <lon>-4.7286</lon>
  </row>
  <row>
    <id>Q600093-9c64f246-499f-8f56-6268-ce0c10c6b058</id>
    <country_name>Habsburg Spain</country_name>
    <country_wikidata>Q600093</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Madrid</capital>
    <capital_wikidata>Q2807</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>40.4169</lat>
    <lon>-3.7033</lon>
  </row>
  <row>
    <id>Q153136-B80F3E19-AFA3-4418-A9E2-DAB37D0DAB33</id>
    <country_name>Habsburg monarchy</country_name>
    <country_wikidata>Q153136</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vienna</capital>
    <capital_wikidata>Q1741</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.2083</lat>
    <lon>16.3725</lon>
  </row>
  <row>
    <id>Q558596-e403b889-46bc-0c67-d364-3aef29af4176</id>
    <country_name>Hadiya Kingdom</country_name>
    <country_wikidata>Q558596</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Hadiya Zone</capital>
    <capital_wikidata>Q3125547</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>7.6667</lat>
    <lon>37.75</lon>
  </row>
  <row>
    <id>Q752662-337CFC73-6BF2-4767-B8A2-C21869095BCF</id>
    <country_name>Hafsid dynasty</country_name>
    <country_wikidata>Q752662</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tunis</capital>
    <capital_wikidata>Q3572</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>36.8008</lat>
    <lon>10.18</lon>
  </row>
  <row>
    <id>q790-100D55DE-66B7-49CC-988C-CF5A2B53112D</id>
    <country_name>Haiti</country_name>
    <country_wikidata>Q790</country_wikidata>
    <country>HTI</country>
    <state_status>sovereign state</state_status>
    <capital>Port-au-Prince</capital>
    <capital_wikidata>Q34261</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>18.5469</lat>
    <lon>-72.3403</lon>
  </row>
  <row>
    <id>Q837187-1fe7660f-4ea3-7610-267c-412fbec9c5b5</id>
    <country_name>Hamdanid dynasty</country_name>
    <country_wikidata>Q837187</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Aleppo</capital>
    <capital_wikidata>Q41183</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>36.2</lat>
    <lon>37.16</lon>
  </row>
  <row>
    <id>Q588672-ef95e421-4e3a-3468-c45f-b731a4b816ee</id>
    <country_name>Hammadid dynasty</country_name>
    <country_wikidata>Q588672</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Béjaïa</capital>
    <capital_wikidata>Q59975</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>36.7511</lat>
    <lon>5.0642</lon>
  </row>
  <row>
    <id>Q588672-F7AFF54C-1C59-446A-8079-7E95CF9F8B7F</id>
    <country_name>Hammadid dynasty</country_name>
    <country_wikidata>Q588672</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Qal'at Bani Hammad</capital>
    <capital_wikidata>Q500367</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>35.8139</lat>
    <lon>4.7933</lon>
  </row>
  <row>
    <id>Q7209-ee2368d4-4b09-0e37-d514-68db08531429</id>
    <country_name>Han dynasty</country_name>
    <country_wikidata>Q7209</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Chang'an</capital>
    <capital_wikidata>Q6501000</capital_wikidata>
    <from>-202</from>
    <until>0009</until>
    <from_year>-202</from_year>
    <until_year>9</until_year>
    <years_as_capital>210</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>34.3083</lat>
    <lon>108.8583</lon>
  </row>
  <row>
    <id>Q7209-ab4bc26c-491c-3ba3-43f6-8377d549f768</id>
    <country_name>Han dynasty</country_name>
    <country_wikidata>Q7209</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Luoyang</capital>
    <capital_wikidata>Q187136</capital_wikidata>
    <from>0025</from>
    <until>0190</until>
    <from_year>25</from_year>
    <until_year>190</until_year>
    <years_as_capital>165</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>34.6587</lat>
    <lon>112.4245</lon>
  </row>
  <row>
    <id>Q7209-5268fab9-4f3a-23b0-2e8d-92dae34ad875</id>
    <country_name>Han dynasty</country_name>
    <country_wikidata>Q7209</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Chang'an</capital>
    <capital_wikidata>Q6501000</capital_wikidata>
    <from>0190</from>
    <until>0195</until>
    <from_year>190</from_year>
    <until_year>195</until_year>
    <years_as_capital>5</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>34.3083</lat>
    <lon>108.8583</lon>
  </row>
  <row>
    <id>Q7209-69e012a4-485f-fe53-6e95-c37899ca851f</id>
    <country_name>Han dynasty</country_name>
    <country_wikidata>Q7209</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Luoyang</capital>
    <capital_wikidata>Q187136</capital_wikidata>
    <from>0196</from>
    <until>0196</until>
    <from_year>196</from_year>
    <until_year>196</until_year>
    <years_as_capital>0</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>34.6587</lat>
    <lon>112.4245</lon>
  </row>
  <row>
    <id>Q7209-b4a3520e-4a44-393c-e0f0-2cc067cfb4c5</id>
    <country_name>Han dynasty</country_name>
    <country_wikidata>Q7209</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Xuchang</capital>
    <capital_wikidata>Q404529</capital_wikidata>
    <from>0196</from>
    <until>0220</until>
    <from_year>196</from_year>
    <until_year>220</until_year>
    <years_as_capital>24</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>34.0244</lat>
    <lon>113.8201</lon>
  </row>
  <row>
    <id>Q1572529-9ef59fd1-4d4b-0a2c-be02-794bb22bf02e</id>
    <country_name>Hanthawaddy Kingdom</country_name>
    <country_wikidata>Q1572529</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mottama</capital>
    <capital_wikidata>Q1950091</capital_wikidata>
    <from>1287</from>
    <until>1363</until>
    <from_year>1287</from_year>
    <until_year>1363</until_year>
    <years_as_capital>76</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>16.53</lat>
    <lon>97.6022</lon>
  </row>
  <row>
    <id>Q1572529-b9703597-4d99-e143-6f23-1b6202f06ba9</id>
    <country_name>Hanthawaddy Kingdom</country_name>
    <country_wikidata>Q1572529</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mottama</capital>
    <capital_wikidata>Q1950091</capital_wikidata>
    <from>1287</from>
    <until>1364</until>
    <from_year>1287</from_year>
    <until_year>1364</until_year>
    <years_as_capital>77</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>16.53</lat>
    <lon>97.6022</lon>
  </row>
  <row>
    <id>Q1572529-e4ef89a3-448d-b177-d01d-b8ca7a4b44bf</id>
    <country_name>Hanthawaddy Kingdom</country_name>
    <country_wikidata>Q1572529</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Donwun</capital>
    <capital_wikidata>Q5296932</capital_wikidata>
    <from>1363</from>
    <until>1369</until>
    <from_year>1363</from_year>
    <until_year>1369</until_year>
    <years_as_capital>6</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>17.1425</lat>
    <lon>97.2909</lon>
  </row>
  <row>
    <id>Q1572529-1CC84713-DFAE-4F22-AB6E-A7239959E7E3</id>
    <country_name>Hanthawaddy Kingdom</country_name>
    <country_wikidata>Q1572529</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bago</capital>
    <capital_wikidata>Q800122</capital_wikidata>
    <from>1369</from>
    <until>1539</until>
    <from_year>1369</from_year>
    <until_year>1539</until_year>
    <years_as_capital>170</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>17.3433</lat>
    <lon>96.4981</lon>
  </row>
  <row>
    <id>Q1572529-98EDEE25-D706-4FD6-8899-8B17D17FA761</id>
    <country_name>Hanthawaddy Kingdom</country_name>
    <country_wikidata>Q1572529</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bago</capital>
    <capital_wikidata>Q800122</capital_wikidata>
    <from>1550</from>
    <until>1552</until>
    <from_year>1550</from_year>
    <until_year>1552</until_year>
    <years_as_capital>2</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>17.3433</lat>
    <lon>96.4981</lon>
  </row>
  <row>
    <id>Q255931-3C862DB2-A686-4741-AB0F-300ED3E01CF5</id>
    <country_name>Haripuñjaya</country_name>
    <country_wikidata>Q255931</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lamphun</capital>
    <capital_wikidata>Q1211214</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>18.5803</lat>
    <lon>99.0072</lon>
  </row>
  <row>
    <id>Q10359001-2fdac105-4a60-b6aa-b789-807620cda1cd</id>
    <country_name>Hasmonean Judea</country_name>
    <country_wikidata>Q10359001</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Jerusalem</capital>
    <capital_wikidata>Q1218</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>31.7767</lat>
    <lon>35.2342</lon>
  </row>
  <row>
    <id>Q146761-990FA94C-AF6B-4EFE-95F2-A21453090C23</id>
    <country_name>Hatay State</country_name>
    <country_wikidata>Q146761</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Antakya</capital>
    <capital_wikidata>Q80561</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>36.2025</lat>
    <lon>36.1606</lon>
  </row>
  <row>
    <id>Q4496560-3011DCA1-EBFC-4323-ACCC-4925C369DE71</id>
    <country_name>Hatti</country_name>
    <country_wikidata>Q4496560</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Hattusa</capital>
    <capital_wikidata>Q181007</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>40.0197</lat>
    <lon>34.6153</lon>
  </row>
  <row>
    <id>Q599590-94f97bb2-4de1-5677-d2ae-a0bc0ff004ee</id>
    <country_name>Hayasa-Azzi</country_name>
    <country_wikidata>Q599590</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kemah</capital>
    <capital_wikidata>Q1023301</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>39.6028</lat>
    <lon>39.0356</lon>
  </row>
  <row>
    <id>Q3013827-ccf12896-4326-c813-01b0-c083c0afc368</id>
    <country_name>Hellenic State</country_name>
    <country_wikidata>Q3013827</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Athens</capital>
    <capital_wikidata>Q1524</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.9842</lat>
    <lon>23.7281</lon>
  </row>
  <row>
    <id>Q206696-1b3f56c0-477e-b651-8bcc-f008e4a1546d</id>
    <country_name>Helvetic Republic</country_name>
    <country_wikidata>Q206696</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lucerne</capital>
    <capital_wikidata>Q4191</capital_wikidata>
    <until>1799-05</until>
    <until_year>1799</until_year>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>47.0523</lat>
    <lon>8.3059</lon>
  </row>
  <row>
    <id>Q206696-5de26676-4cd8-3395-0fe9-5020b00d7b78</id>
    <country_name>Helvetic Republic</country_name>
    <country_wikidata>Q206696</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bern</capital>
    <capital_wikidata>Q70</capital_wikidata>
    <until>1803-03</until>
    <until_year>1803</until_year>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>46.948</lat>
    <lon>7.4474</lon>
  </row>
  <row>
    <id>Q206696-FA0ED66B-CA91-4922-B749-EE26849839E4</id>
    <country_name>Helvetic Republic</country_name>
    <country_wikidata>Q206696</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Aarau</capital>
    <capital_wikidata>Q14274</capital_wikidata>
    <until>1798-09</until>
    <until_year>1798</until_year>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>47.3923</lat>
    <lon>8.0446</lon>
  </row>
  <row>
    <id>Q26576-CE664AE2-B91B-4FFC-9A30-8DEF6CA63735</id>
    <country_name>Hephthalites</country_name>
    <country_wikidata>Q26576</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kunduz</capital>
    <capital_wikidata>Q108155</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>36.7289</lat>
    <lon>68.8569</lon>
  </row>
  <row>
    <id>Q26576-feae6701-41aa-ade1-5136-69dfc5c2721c</id>
    <country_name>Hephthalites</country_name>
    <country_wikidata>Q26576</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Balkh</capital>
    <capital_wikidata>Q182159</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>36.7581</lat>
    <lon>66.8989</lon>
  </row>
  <row>
    <id>Q21662997-D75E42E0-CCCB-4C9E-B2BA-E73435E8AD3F</id>
    <country_name>Herat (1793-1863)</country_name>
    <country_wikidata>Q21662997</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Herat</capital>
    <capital_wikidata>Q45313</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>34.3419</lat>
    <lon>62.2031</lon>
  </row>
  <row>
    <id>Q16000109-6c1ff145-4298-aea8-c4ca-4be46b14a489</id>
    <country_name>Herodian Kingdom of Judea</country_name>
    <country_wikidata>Q16000109</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Jerusalem</capital>
    <capital_wikidata>Q1218</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>31.7767</lat>
    <lon>35.2342</lon>
  </row>
  <row>
    <id>Q18450904-151406F8-D72B-4403-84B1-5F970238377C</id>
    <country_name>Hesse-Hanau</country_name>
    <country_wikidata>Q18450904</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Hanau</capital>
    <capital_wikidata>Q3802</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.1328</lat>
    <lon>8.9169</lon>
  </row>
  <row>
    <id>Q289577-E9308121-3B77-4BDC-A2A6-CBFB3236CD72</id>
    <country_name>Himyarite kingdom</country_name>
    <country_wikidata>Q289577</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Zafar</capital>
    <capital_wikidata>Q140131</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>14.2139</lat>
    <lon>44.4029</lon>
  </row>
  <row>
    <id>Q55523-cb00750a-43b8-d187-1dda-4f9da00df6dc</id>
    <country_name>Hokuzan</country_name>
    <country_wikidata>Q55523</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nakijin</capital>
    <capital_wikidata>Q1184661</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>26.6825</lat>
    <lon>127.9728</lon>
  </row>
  <row>
    <id>Q12548-0eb19150-4b28-5c41-7613-fb27202ac995</id>
    <country_name>Holy Roman Empire</country_name>
    <country_wikidata>Q12548</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Aachen</capital>
    <capital_wikidata>Q1017</capital_wikidata>
    <from>0962</from>
    <until>1346</until>
    <from_year>962</from_year>
    <until_year>1346</until_year>
    <years_as_capital>384</years_as_capital>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>50.7762</lat>
    <lon>6.0838</lon>
  </row>
  <row>
    <id>Q12548-81777697-474c-2545-70ab-e94a28e86dc2</id>
    <country_name>Holy Roman Empire</country_name>
    <country_wikidata>Q12548</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Prague</capital>
    <capital_wikidata>Q1085</capital_wikidata>
    <from>1346</from>
    <until>1437</until>
    <from_year>1346</from_year>
    <until_year>1437</until_year>
    <years_as_capital>91</years_as_capital>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>50.0875</lat>
    <lon>14.4214</lon>
  </row>
  <row>
    <id>Q12548-526CDFB8-B4D3-4BE9-87CA-0F00F48853BE</id>
    <country_name>Holy Roman Empire</country_name>
    <country_wikidata>Q12548</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vienna</capital>
    <capital_wikidata>Q1741</capital_wikidata>
    <from>1497</from>
    <from_year>1497</from_year>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>48.2083</lat>
    <lon>16.3725</lon>
  </row>
  <row>
    <id>Q12548-ffb950d9-4223-2149-8d53-9579fdc94b2d</id>
    <country_name>Holy Roman Empire</country_name>
    <country_wikidata>Q12548</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Prague</capital>
    <capital_wikidata>Q1085</capital_wikidata>
    <from>1583</from>
    <until>1611</until>
    <from_year>1583</from_year>
    <until_year>1611</until_year>
    <years_as_capital>28</years_as_capital>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>50.0875</lat>
    <lon>14.4214</lon>
  </row>
  <row>
    <id>Q12548-a842f59f-40d7-b8c3-feee-42754d17141f</id>
    <country_name>Holy Roman Empire</country_name>
    <country_wikidata>Q12548</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Regensburg</capital>
    <capital_wikidata>Q2978</capital_wikidata>
    <from>1594</from>
    <from_year>1594</from_year>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>49.0167</lat>
    <lon>12.0833</lon>
  </row>
  <row>
    <id>Q12548-da70e423-4749-950a-28e9-45d8d7c23844</id>
    <country_name>Holy Roman Empire</country_name>
    <country_wikidata>Q12548</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Wetzlar</capital>
    <capital_wikidata>Q4178</capital_wikidata>
    <from>1689</from>
    <from_year>1689</from_year>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>50.5667</lat>
    <lon>8.5</lon>
  </row>
  <row>
    <id>q783-98063A75-A31B-47C1-AD53-AB96E08F7EF1</id>
    <country_name>Honduras</country_name>
    <country_wikidata>Q783</country_wikidata>
    <country>HND</country>
    <state_status>sovereign state</state_status>
    <capital>Tegucigalpa</capital>
    <capital_wikidata>Q3238</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>14.1058</lat>
    <lon>-87.2047</lon>
  </row>
  <row>
    <id>Q627449-5608EC16-644A-4B58-9014-86A1CC9826F5</id>
    <country_name>Hotak dynasty</country_name>
    <country_wikidata>Q627449</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kandahar</capital>
    <capital_wikidata>Q45604</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>31.6207</lat>
    <lon>65.7159</lon>
  </row>
  <row>
    <id>Q705240-09D15CF9-70D4-43CB-B9C9-8995ED7545CF</id>
    <country_name>House of Hohenlohe</country_name>
    <country_wikidata>Q705240</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Öhringen</capital>
    <capital_wikidata>Q294783</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>49.2</lat>
    <lon>9.5</lon>
  </row>
  <row>
    <id>Q466581-284B09C8-56ED-417A-A20E-7EA170C785A7</id>
    <country_name>Hoysala Empire</country_name>
    <country_wikidata>Q466581</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Halebidu</capital>
    <capital_wikidata>Q1013556</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>13.2169</lat>
    <lon>75.9917</lon>
  </row>
  <row>
    <id>Q8008721-dab41564-4e1b-85d8-1237-4d33d086cb53</id>
    <country_name>Huan Chu</country_name>
    <country_wikidata>Q8008721</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Jiankang</capital>
    <capital_wikidata>Q1330294</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>32.0584</lat>
    <lon>118.7965</lon>
  </row>
  <row>
    <id>Q16410-3dfd5c62-45fd-c5b9-94d3-946bbce9e2d6</id>
    <country_name>Hungarian People's Republic</country_name>
    <country_wikidata>Q16410</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Budapest</capital>
    <capital_wikidata>Q1781</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>47.4983</lat>
    <lon>19.0408</lon>
  </row>
  <row>
    <id>Q243652-c9a1a3b3-41e9-7288-1ac4-80065213f2d1</id>
    <country_name>Hungarian Soviet Republic</country_name>
    <country_wikidata>Q243652</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Budapest</capital>
    <capital_wikidata>Q1781</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>47.4983</lat>
    <lon>19.0408</lon>
  </row>
  <row>
    <id>q28-5F675EBB-D9B0-4107-9576-A81A2A9CA4E6</id>
    <country_name>Hungary</country_name>
    <country_wikidata>Q28</country_wikidata>
    <country>HUN</country>
    <state_status>sovereign state</state_status>
    <capital>Budapest</capital>
    <capital_wikidata>Q1781</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>47.4983</lat>
    <lon>19.0408</lon>
  </row>
  <row>
    <id>Q10295972-5bea1901-4d2b-154b-9b88-5d81fa702d3a</id>
    <country_name>Hunnic Empire</country_name>
    <country_wikidata>Q10295972</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Buda</capital>
    <capital_wikidata>Q193478</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>47.4667</lat>
    <lon>19.05</lon>
  </row>
  <row>
    <id>Q10295972-BF9F583B-77AD-4EE8-AF68-0543BBF4C4A8</id>
    <country_name>Hunnic Empire</country_name>
    <country_wikidata>Q10295972</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Pannonia</capital>
    <capital_wikidata>Q170062</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>44.9</lat>
    <lon>19.02</lon>
  </row>
  <row>
    <id>Q14957246-0a69f06f-4f09-63ad-7b1b-707036b52fa8</id>
    <country_name>Hunza State</country_name>
    <country_wikidata>Q14957246</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Karimabad</capital>
    <capital_wikidata>Q607186</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>36.3278</lat>
    <lon>74.6611</lon>
  </row>
  <row>
    <id>Q1240096-cfac7704-4294-25b6-cc58-1d4814bb54ce</id>
    <country_name>Hyderabad State</country_name>
    <country_wikidata>Q1240096</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Aurangabad</capital>
    <capital_wikidata>Q200713</capital_wikidata>
    <from>1724</from>
    <until>1763</until>
    <from_year>1724</from_year>
    <until_year>1763</until_year>
    <years_as_capital>39</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>19.88</lat>
    <lon>75.32</lon>
  </row>
  <row>
    <id>Q1240096-74a3fc6d-40b4-a85b-5519-9f8075624d3a</id>
    <country_name>Hyderabad State</country_name>
    <country_wikidata>Q1240096</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Hyderabad</capital>
    <capital_wikidata>Q1361</capital_wikidata>
    <from>1763</from>
    <until>1948-09-17</until>
    <from_year>1763</from_year>
    <until_year>1948</until_year>
    <years_as_capital>185</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>17.3617</lat>
    <lon>78.4747</lon>
  </row>
  <row>
    <id>q189-9007C954-CCAF-4EE1-9D94-F87702FF646B</id>
    <country_name>Iceland</country_name>
    <country_wikidata>Q189</country_wikidata>
    <country>ISL</country>
    <state_status>sovereign state</state_status>
    <capital>Reykjavík</capital>
    <capital_wikidata>Q1764</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>64.1475</lat>
    <lon>-21.935</lon>
  </row>
  <row>
    <id>Q62389-0FC0FB56-44DE-43BC-951C-160B7FCB60C6</id>
    <country_name>Icelandic Commonwealth</country_name>
    <country_wikidata>Q62389</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Thingvellir National Park</capital>
    <capital_wikidata>Q107370</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>64.2581</lat>
    <lon>-21.125</lon>
  </row>
  <row>
    <id>Q431575-1D3562A7-8AEC-44CA-A0FA-4F9637D26245</id>
    <country_name>Idrisid dynasty</country_name>
    <country_wikidata>Q431575</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Volubilis</capital>
    <capital_wikidata>Q391215</capital_wikidata>
    <from>0789-02-10</from>
    <from_year>789</from_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>34.04</lat>
    <lon>-5.5627</lon>
  </row>
  <row>
    <id>Q431575-d425d019-421d-fe9e-84f0-f296e0d36fc1</id>
    <country_name>Idrisid dynasty</country_name>
    <country_wikidata>Q431575</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Fez</capital>
    <capital_wikidata>Q80985</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>34.0433</lat>
    <lon>-5.0033</lon>
  </row>
  <row>
    <id>Q157727-837b1857-4d10-aa76-ddaa-eeac1cefec98</id>
    <country_name>Ifat Sultanate</country_name>
    <country_wikidata>Q157727</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Zeila</capital>
    <capital_wikidata>Q157800</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>11.3539</lat>
    <lon>43.4739</lon>
  </row>
  <row>
    <id>Q828665-bac9988f-42dd-c6fc-6092-33893aaa41ea</id>
    <country_name>Ikhshidid dynasty</country_name>
    <country_wikidata>Q828665</country_wikidata>
    <state_status>historical state</state_status>
    <capital>El-Fustat</capital>
    <capital_wikidata>Q839456</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>30.005</lat>
    <lon>31.2375</lon>
  </row>
  <row>
    <id>Q11352710-ac742670-4167-c2b2-67fa-6714342b33c4</id>
    <country_name>Ikikoku</country_name>
    <country_wikidata>Q11352710</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Harunotsuji Site</capital>
    <capital_wikidata>Q11409340</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>33.7594</lat>
    <lon>129.7532</lon>
  </row>
  <row>
    <id>Q178084-22D5F078-0C43-4241-AE50-493ADD38E242</id>
    <country_name>Ilkhanate</country_name>
    <country_wikidata>Q178084</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Maragheh</capital>
    <capital_wikidata>Q605021</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>37.3919</lat>
    <lon>46.2392</lon>
  </row>
  <row>
    <id>Q178084-92340823-41a2-e247-ce4b-601a0ad77e45</id>
    <country_name>Ilkhanate</country_name>
    <country_wikidata>Q178084</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tabriz</capital>
    <capital_wikidata>Q80053</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>38.0739</lat>
    <lon>46.2961</lon>
  </row>
  <row>
    <id>Q178084-f84e8f33-496a-0151-3d5c-7908d180d08d</id>
    <country_name>Ilkhanate</country_name>
    <country_wikidata>Q178084</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Soltaniyeh</capital>
    <capital_wikidata>Q4531</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>36.4347</lat>
    <lon>48.7975</lon>
  </row>
  <row>
    <id>Q16084290-13d73186-48f1-26e4-a55c-5fc0c74de880</id>
    <country_name>Illyrian kingdom</country_name>
    <country_wikidata>Q16084290</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Scodra</capital>
    <capital_wikidata>Q42716631</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>42.0425</lat>
    <lon>19.4887</lon>
  </row>
  <row>
    <id>Q11680900-85b06551-4892-2701-d6b0-6aa135e74137</id>
    <country_name>Imperial Court in Kyoto</country_name>
    <country_wikidata>Q11680900</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Heian-kyō</capital>
    <capital_wikidata>Q751907</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>35</lat>
    <lon>135.7667</lon>
  </row>
  <row>
    <id>Q28573-36732444-D828-4462-B981-527817717161</id>
    <country_name>Inca Empire</country_name>
    <country_wikidata>Q28573</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Cusco</capital>
    <capital_wikidata>Q5582862</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-13.5169</lat>
    <lon>-71.9786</lon>
  </row>
  <row>
    <id>Q153128-5126ec54-433b-a05a-b32f-cb9ca67cd478</id>
    <country_name>Independent State of Croatia</country_name>
    <country_wikidata>Q153128</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Zagreb</capital>
    <capital_wikidata>Q1435</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>45.8131</lat>
    <lon>15.9772</lon>
  </row>
  <row>
    <id>q668-F5A99C88-77A2-4BC0-B17C-5557D19B2751</id>
    <country_name>India</country_name>
    <country_wikidata>Q668</country_wikidata>
    <country>IND</country>
    <state_status>sovereign state</state_status>
    <capital>New Delhi</capital>
    <capital_wikidata>Q987</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>28.6139</lat>
    <lon>77.2089</lon>
  </row>
  <row>
    <id>Q1255614-2C951CBC-1A99-410A-86E4-2CD9747FDBE8</id>
    <country_name>Indo-Parthian kingdom</country_name>
    <country_wikidata>Q1255614</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Taxila</capital>
    <capital_wikidata>Q156093</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>33.7458</lat>
    <lon>72.7875</lon>
  </row>
  <row>
    <id>Q240123-1847471F-E983-4330-974F-A74CB4335047</id>
    <country_name>Indo-Scythians</country_name>
    <country_wikidata>Q240123</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sigal</capital>
    <capital_wikidata>Q7511898</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
  </row>
  <row>
    <id>q252-BFE92DF0-1E8F-4342-AE90-010805C2A95F</id>
    <country_name>Indonesia</country_name>
    <country_wikidata>Q252</country_wikidata>
    <country>IDN</country>
    <state_status>sovereign state</state_status>
    <capital>Jakarta</capital>
    <capital_wikidata>Q3630</capital_wikidata>
    <from>1945-08-17</from>
    <until>1946-01-04</until>
    <from_year>1945</from_year>
    <until_year>1946</until_year>
    <years_as_capital>1</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>-6.1753</lat>
    <lon>106.8269</lon>
  </row>
  <row>
    <id>Q252-ce62ddc5-4a74-41fc-3289-2ba2a8297f04</id>
    <country_name>Indonesia</country_name>
    <country_wikidata>Q252</country_wikidata>
    <country>IDN</country>
    <state_status>sovereign state</state_status>
    <capital>Yogyakarta</capital>
    <capital_wikidata>Q7568</capital_wikidata>
    <from>1946-01-04</from>
    <until>1948-12-22</until>
    <from_year>1946</from_year>
    <until_year>1948</until_year>
    <years_as_capital>2</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>-7.8005</lat>
    <lon>110.3913</lon>
  </row>
  <row>
    <id>Q252-c059d6a1-4ab5-816f-e33e-a4ea816e40d8</id>
    <country_name>Indonesia</country_name>
    <country_wikidata>Q252</country_wikidata>
    <country>IDN</country>
    <state_status>sovereign state</state_status>
    <capital>Bukittinggi</capital>
    <capital_wikidata>Q7248</capital_wikidata>
    <from>1948-12-22</from>
    <until>1950-08-17</until>
    <from_year>1948</from_year>
    <until_year>1950</until_year>
    <years_as_capital>2</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>-0.3097</lat>
    <lon>100.3753</lon>
  </row>
  <row>
    <id>Q252-60ac5a52-4f6b-c85f-3509-540ed6386705</id>
    <country_name>Indonesia</country_name>
    <country_wikidata>Q252</country_wikidata>
    <country>IDN</country>
    <state_status>sovereign state</state_status>
    <capital>Jakarta</capital>
    <capital_wikidata>Q3630</capital_wikidata>
    <from>1950-08-17</from>
    <from_year>1950</from_year>
    <current>true</current>
    <capitals_count>3</capitals_count>
    <lat>-6.1753</lat>
    <lon>106.8269</lon>
  </row>
  <row>
    <id>Q716890-D90C37C7-0C2F-47DC-B469-02FEC8CEF616</id>
    <country_name>Indore State</country_name>
    <country_wikidata>Q716890</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Indore</capital>
    <capital_wikidata>Q66616</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>22.7186</lat>
    <lon>75.855</lon>
  </row>
  <row>
    <id>Q1067513-83337D5D-1D58-4F0A-BE54-7BFD77D86C94</id>
    <country_name>Injuids</country_name>
    <country_wikidata>Q1067513</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Shiraz</capital>
    <capital_wikidata>Q6397066</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>29.6103</lat>
    <lon>52.5311</lon>
  </row>
  <row>
    <id>Q2369784-2b00d623-4f87-e35a-8fee-a38d5663da8a</id>
    <country_name>Interwar Latvia</country_name>
    <country_wikidata>Q2369784</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Riga</capital>
    <capital_wikidata>Q1773</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>56.9475</lat>
    <lon>24.1069</lon>
  </row>
  <row>
    <id>q794-739B6A4F-A954-4F91-AF2C-BFBC6D416117</id>
    <country_name>Iran</country_name>
    <country_wikidata>Q794</country_wikidata>
    <country>IRN</country>
    <state_status>sovereign state</state_status>
    <capital>Tehran</capital>
    <capital_wikidata>Q3616</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>35.6889</lat>
    <lon>51.3897</lon>
  </row>
  <row>
    <id>q796-316082E6-291B-43C0-9F24-6375F4D49550</id>
    <country_name>Iraq</country_name>
    <country_wikidata>Q796</country_wikidata>
    <country>IRQ</country>
    <state_status>sovereign state</state_status>
    <capital>Baghdad</capital>
    <capital_wikidata>Q1530</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>33.3153</lat>
    <lon>44.3661</lon>
  </row>
  <row>
    <id>q27-C16D1E57-4D91-48E5-9BEB-0084216D7DEA</id>
    <country_name>Ireland</country_name>
    <country_wikidata>Q27</country_wikidata>
    <country>IRL</country>
    <state_status>sovereign state</state_status>
    <capital>Dublin</capital>
    <capital_wikidata>Q1761</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>53.3497</lat>
    <lon>-6.2603</lon>
  </row>
  <row>
    <id>Q31747-ed572b92-4e8d-565f-426b-cad03e21d66d</id>
    <country_name>Irish Free State</country_name>
    <country_wikidata>Q31747</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Dublin</capital>
    <capital_wikidata>Q1761</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>53.3497</lat>
    <lon>-6.2603</lon>
  </row>
  <row>
    <id>Q2712121-90ACFF01-3E84-4066-9E6C-2DED18C6E153</id>
    <country_name>Irish Republic</country_name>
    <country_wikidata>Q2712121</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Castlebar</capital>
    <capital_wikidata>Q749196</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>53.8608</lat>
    <lon>-9.2988</lon>
  </row>
  <row>
    <id>Q105582386-18ed18d1-4a06-6833-cd91-3a5836b5d257</id>
    <country_name>Isaaq chieftainship</country_name>
    <country_wikidata>Q105582386</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Thun</capital>
    <capital_wikidata>Q68978</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>46.759</lat>
    <lon>7.63</lon>
  </row>
  <row>
    <id>Q105582386-236D322B-09BE-4FA1-99E4-A975C75691A4</id>
    <country_name>Isaaq chieftainship</country_name>
    <country_wikidata>Q105582386</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Hargeisa</capital>
    <capital_wikidata>Q168652</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>9.5656</lat>
    <lon>44.0606</lon>
  </row>
  <row>
    <id>Q427941-023ee340-44dc-be24-9555-0e23e26ed8bd</id>
    <country_name>Islamic Emirate of Afghanistan</country_name>
    <country_wikidata>Q427941</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kandahar</capital>
    <capital_wikidata>Q45604</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>31.6207</lat>
    <lon>65.7159</lon>
  </row>
  <row>
    <id>Q427941-ACD616A6-F386-4550-A4EF-B016D61288A0</id>
    <country_name>Islamic Emirate of Afghanistan</country_name>
    <country_wikidata>Q427941</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kabul</capital>
    <capital_wikidata>Q5838</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>34.5328</lat>
    <lon>69.1658</lon>
  </row>
  <row>
    <id>Q30747910-048577b0-4d6e-1ac6-b57b-85ddaef871d8</id>
    <country_name>Islamic Republic of Afghanistan</country_name>
    <country_wikidata>Q30747910</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kabul</capital>
    <capital_wikidata>Q5838</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>34.5328</lat>
    <lon>69.1658</lon>
  </row>
  <row>
    <id>Q1415585-5FF844F0-613C-45EB-B55C-AFF9D54A5A96</id>
    <country_name>Islamic State of Afghanistan</country_name>
    <country_wikidata>Q1415585</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kabul</capital>
    <capital_wikidata>Q5838</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>34.5328</lat>
    <lon>69.1658</lon>
  </row>
  <row>
    <id>q801-43890632-9AAB-4D55-9BF4-7CF9C17CF72F</id>
    <country_name>Israel</country_name>
    <country_wikidata>Q801</country_wikidata>
    <country>ISR</country>
    <state_status>sovereign state</state_status>
    <capital>Jerusalem</capital>
    <capital_wikidata>Q1218</capital_wikidata>
    <from>1949-11-07</from>
    <from_year>1949</from_year>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>31.7767</lat>
    <lon>35.2342</lon>
  </row>
  <row>
    <id>Q926295-d33156a0-4271-a993-a120-2712e089c3c2</id>
    <country_name>Italian Empire</country_name>
    <country_wikidata>Q926295</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Rome</capital>
    <capital_wikidata>Q220</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.8931</lat>
    <lon>12.4828</lon>
  </row>
  <row>
    <id>Q1232988-71e27892-4c07-8e3c-e96c-be2751e3845a</id>
    <country_name>Italian Eritrea</country_name>
    <country_wikidata>Q1232988</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Massawa</capital>
    <capital_wikidata>Q275635</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>15.6</lat>
    <lon>39.4333</lon>
  </row>
  <row>
    <id>Q1232988-c2085839-4b27-21b7-e11b-62f5c087b3f7</id>
    <country_name>Italian Eritrea</country_name>
    <country_wikidata>Q1232988</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Asmara</capital>
    <capital_wikidata>Q3642</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>15.3333</lat>
    <lon>38.9167</lon>
  </row>
  <row>
    <id>Q3348640-ce37e40c-411a-3cc5-e863-84f1503edc93</id>
    <country_name>Italian Ethiopia</country_name>
    <country_wikidata>Q3348640</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Addis Ababa</capital>
    <capital_wikidata>Q3624</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>9.0358</lat>
    <lon>38.7525</lon>
  </row>
  <row>
    <id>Q1423581-1588CC74-0C80-4EC4-B8C5-3FD98C8112E9</id>
    <country_name>Italian Regency of Carnaro</country_name>
    <country_wikidata>Q1423581</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Rijeka</capital>
    <capital_wikidata>Q1647</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>45.3333</lat>
    <lon>14.4333</lon>
  </row>
  <row>
    <id>Q153660-102cbf23-4577-0637-6143-2988c5cd8371</id>
    <country_name>Italian Social Republic</country_name>
    <country_wikidata>Q153660</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Rome</capital>
    <capital_wikidata>Q220</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>41.8931</lat>
    <lon>12.4828</lon>
  </row>
  <row>
    <id>Q153660-F8950976-F119-4EE2-AFFB-6620F0D87893</id>
    <country_name>Italian Social Republic</country_name>
    <country_wikidata>Q153660</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Salò</capital>
    <capital_wikidata>Q111705</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>45.6</lat>
    <lon>10.5333</lon>
  </row>
  <row>
    <id>Q3968612-09cf8c77-49ff-3a3b-1d3f-6af2767390df</id>
    <country_name>Italian United Provinces</country_name>
    <country_wikidata>Q3968612</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bologna</capital>
    <capital_wikidata>Q1891</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>44.4939</lat>
    <lon>11.3428</lon>
  </row>
  <row>
    <id>Q1448131-ba71b8b7-4ecd-1b9c-db2b-12325499088c</id>
    <country_name>Italian protectorate of Albania</country_name>
    <country_wikidata>Q1448131</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tirana</capital>
    <capital_wikidata>Q19689</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.3283</lat>
    <lon>19.8181</lon>
  </row>
  <row>
    <id>Q38-8e16eebe-482c-62e8-fda4-21d94a3db915</id>
    <country_name>Italy</country_name>
    <country_wikidata>Q38</country_wikidata>
    <country>ITA</country>
    <state_status>sovereign state</state_status>
    <capital>Turin</capital>
    <capital_wikidata>Q495</capital_wikidata>
    <from>1861</from>
    <until>1865</until>
    <from_year>1861</from_year>
    <until_year>1865</until_year>
    <years_as_capital>4</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>45.0792</lat>
    <lon>7.6761</lon>
  </row>
  <row>
    <id>Q38-91e4ac25-4d28-d0cf-3eac-f0b3589d6566</id>
    <country_name>Italy</country_name>
    <country_wikidata>Q38</country_wikidata>
    <country>ITA</country>
    <state_status>sovereign state</state_status>
    <capital>Florence</capital>
    <capital_wikidata>Q2044</capital_wikidata>
    <from>1865</from>
    <until>1871</until>
    <from_year>1865</from_year>
    <until_year>1871</until_year>
    <years_as_capital>6</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>43.7714</lat>
    <lon>11.2542</lon>
  </row>
  <row>
    <id>q38-D5EB0888-3275-4B9F-A371-ED66DA7CAAB2</id>
    <country_name>Italy</country_name>
    <country_wikidata>Q38</country_wikidata>
    <country>ITA</country>
    <state_status>sovereign state</state_status>
    <capital>Rome</capital>
    <capital_wikidata>Q220</capital_wikidata>
    <from>1946-06-02</from>
    <from_year>1946</from_year>
    <current>true</current>
    <capitals_count>3</capitals_count>
    <lat>41.8931</lat>
    <lon>12.4828</lon>
  </row>
  <row>
    <id>Q1008-42db3079-4946-6537-2b00-31b38bfda008</id>
    <country_name>Ivory Coast</country_name>
    <country_wikidata>Q1008</country_wikidata>
    <country>CIV</country>
    <state_status>sovereign state</state_status>
    <capital>Abidjan</capital>
    <capital_wikidata>Q1515</capital_wikidata>
    <from>1933</from>
    <until>1983-03</until>
    <from_year>1933</from_year>
    <until_year>1983</until_year>
    <years_as_capital>50</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>5.3364</lat>
    <lon>-4.0267</lon>
  </row>
  <row>
    <id>q1008-E92D72DA-4C0E-427B-A365-DB7024A36783</id>
    <country_name>Ivory Coast</country_name>
    <country_wikidata>Q1008</country_wikidata>
    <country>CIV</country>
    <state_status>sovereign state</state_status>
    <capital>Yamoussoukro</capital>
    <capital_wikidata>Q3768</capital_wikidata>
    <from>1983-03</from>
    <from_year>1983</from_year>
    <current>true</current>
    <capitals_count>2</capitals_count>
    <lat>6.8161</lat>
    <lon>-5.2742</lon>
  </row>
  <row>
    <id>Q146740-1cb61737-4eea-b663-8438-14798af4cc53</id>
    <country_name>Jabal Druze</country_name>
    <country_wikidata>Q146740</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Suwayda</capital>
    <capital_wikidata>Q311099</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>32.7</lat>
    <lon>36.5667</lon>
  </row>
  <row>
    <id>Q4116181-9388cd98-41cb-befb-5298-3ccd607549be</id>
    <country_name>Jabrids</country_name>
    <country_wikidata>Q4116181</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Al-Ahsa City</capital>
    <capital_wikidata>Q98972377</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
  </row>
  <row>
    <id>Q1311219-475CAFDB-35C7-4B54-A1B0-D279633A0CFD</id>
    <country_name>Jaffna kingdom</country_name>
    <country_wikidata>Q1311219</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nallur</capital>
    <capital_wikidata>Q6960987</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>9.6667</lat>
    <lon>80.0333</lon>
  </row>
  <row>
    <id>Q6124144-3DE7FB24-9453-43D2-8378-B9EC9D63E395</id>
    <country_name>Jaipur State</country_name>
    <country_wikidata>Q6124144</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Jaipur</capital>
    <capital_wikidata>Q66485</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>26.915</lat>
    <lon>75.82</lon>
  </row>
  <row>
    <id>Q866716-105cae51-4964-ead8-a4b9-ffb57b302b93</id>
    <country_name>Jalayirid Sultanate</country_name>
    <country_wikidata>Q866716</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tabriz</capital>
    <capital_wikidata>Q80053</capital_wikidata>
    <from>1358</from>
    <until>1388</until>
    <from_year>1358</from_year>
    <until_year>1388</until_year>
    <years_as_capital>30</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>38.0739</lat>
    <lon>46.2961</lon>
  </row>
  <row>
    <id>Q866716-76811560-48fa-4ee0-1717-d20562551f75</id>
    <country_name>Jalayirid Sultanate</country_name>
    <country_wikidata>Q866716</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Basra</capital>
    <capital_wikidata>Q48195</capital_wikidata>
    <from>1411</from>
    <until>1432</until>
    <from_year>1411</from_year>
    <until_year>1432</until_year>
    <years_as_capital>21</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>30.515</lat>
    <lon>47.81</lon>
  </row>
  <row>
    <id>Q866716-7AA5CF4B-214A-4022-8291-CF626C000B84</id>
    <country_name>Jalayirid Sultanate</country_name>
    <country_wikidata>Q866716</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Baghdad</capital>
    <capital_wikidata>Q1530</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>33.3153</lat>
    <lon>44.3661</lon>
  </row>
  <row>
    <id>q766-6C408043-56CF-469D-9974-DCFE2CE81528</id>
    <country_name>Jamaica</country_name>
    <country_wikidata>Q766</country_wikidata>
    <country>JAM</country>
    <state_status>sovereign state</state_status>
    <capital>Kingston</capital>
    <capital_wikidata>Q34692</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>17.9714</lat>
    <lon>-76.7931</lon>
  </row>
  <row>
    <id>Q1683106-ebbfef7e-4419-c47a-d56a-e569b22d17f6</id>
    <country_name>Jaora State</country_name>
    <country_wikidata>Q1683106</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Jaora</capital>
    <capital_wikidata>Q1287117</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>23.63</lat>
    <lon>75.13</lon>
  </row>
  <row>
    <id>Q17-73BFD455-1EA2-4FA2-98BD-E10C8E0F0A02</id>
    <country_name>Japan</country_name>
    <country_wikidata>Q17</country_wikidata>
    <country>JPN</country>
    <state_status>sovereign state</state_status>
    <capital>Heijō-kyō</capital>
    <capital_wikidata>Q862509</capital_wikidata>
    <from>0710</from>
    <until>0784</until>
    <from_year>710</from_year>
    <until_year>784</until_year>
    <years_as_capital>74</years_as_capital>
    <current>false</current>
    <capitals_count>9</capitals_count>
    <lat>34.6911</lat>
    <lon>135.7947</lon>
  </row>
  <row>
    <id>Q17-072E4058-0580-4911-B70C-7016A58D5DD8</id>
    <country_name>Japan</country_name>
    <country_wikidata>Q17</country_wikidata>
    <country>JPN</country>
    <state_status>sovereign state</state_status>
    <capital>Shigaraki Palace</capital>
    <capital_wikidata>Q262438</capital_wikidata>
    <from>0744</from>
    <until>0745</until>
    <from_year>744</from_year>
    <until_year>745</until_year>
    <years_as_capital>1</years_as_capital>
    <current>false</current>
    <capitals_count>9</capitals_count>
    <lat>34.9347</lat>
    <lon>136.0844</lon>
  </row>
  <row>
    <id>Q17-B7CA7B09-7B8D-44FD-A8D9-FA6CB8A53250</id>
    <country_name>Japan</country_name>
    <country_wikidata>Q17</country_wikidata>
    <country>JPN</country>
    <state_status>sovereign state</state_status>
    <capital>Nagaoka-kyō</capital>
    <capital_wikidata>Q1052803</capital_wikidata>
    <from>0784</from>
    <until>0794</until>
    <from_year>784</from_year>
    <until_year>794</until_year>
    <years_as_capital>10</years_as_capital>
    <current>false</current>
    <capitals_count>9</capitals_count>
    <lat>34.9432</lat>
    <lon>135.7032</lon>
  </row>
  <row>
    <id>Q17-B3EE8E07-A0A4-49A9-BE19-73D47A3AC2E2</id>
    <country_name>Japan</country_name>
    <country_wikidata>Q17</country_wikidata>
    <country>JPN</country>
    <state_status>sovereign state</state_status>
    <capital>Heian-kyō</capital>
    <capital_wikidata>Q751907</capital_wikidata>
    <from>0794</from>
    <until>1869</until>
    <from_year>794</from_year>
    <until_year>1869</until_year>
    <years_as_capital>1075</years_as_capital>
    <current>false</current>
    <capitals_count>9</capitals_count>
    <lat>35</lat>
    <lon>135.7667</lon>
  </row>
  <row>
    <id>Q17-8BEAD27C-EA39-4200-AD23-1DD5DD8C9573</id>
    <country_name>Japan</country_name>
    <country_wikidata>Q17</country_wikidata>
    <country>JPN</country>
    <state_status>sovereign state</state_status>
    <capital>Edo</capital>
    <capital_wikidata>Q215646</capital_wikidata>
    <from>1603</from>
    <until>1868</until>
    <from_year>1603</from_year>
    <until_year>1868</until_year>
    <years_as_capital>265</years_as_capital>
    <current>false</current>
    <capitals_count>9</capitals_count>
    <lat>35.6839</lat>
    <lon>139.7744</lon>
  </row>
  <row>
    <id>Q17-6F806F9D-6CD6-45BE-AED4-A07623873C43</id>
    <country_name>Japan</country_name>
    <country_wikidata>Q17</country_wikidata>
    <country>JPN</country>
    <state_status>sovereign state</state_status>
    <capital>Tokyo Prefecture</capital>
    <capital_wikidata>Q1189121</capital_wikidata>
    <from>1868</from>
    <until>1943</until>
    <from_year>1868</from_year>
    <until_year>1943</until_year>
    <years_as_capital>75</years_as_capital>
    <current>false</current>
    <capitals_count>9</capitals_count>
    <lat>35.68</lat>
    <lon>139.77</lon>
  </row>
  <row>
    <id>Q17-76d5c148-4c53-1f7c-5281-09d9065f6a28</id>
    <country_name>Japan</country_name>
    <country_wikidata>Q17</country_wikidata>
    <country>JPN</country>
    <state_status>sovereign state</state_status>
    <capital>Tokyo City</capital>
    <capital_wikidata>Q1207735</capital_wikidata>
    <from>1889</from>
    <until>1943</until>
    <from_year>1889</from_year>
    <until_year>1943</until_year>
    <years_as_capital>54</years_as_capital>
    <current>false</current>
    <capitals_count>9</capitals_count>
    <lat>35.6767</lat>
    <lon>139.7647</lon>
  </row>
  <row>
    <id>Q17-7b5e8528-4dcd-04ee-eb80-b231abec34e5</id>
    <country_name>Japan</country_name>
    <country_wikidata>Q17</country_wikidata>
    <country>JPN</country>
    <state_status>sovereign state</state_status>
    <capital>Tokyo</capital>
    <capital_wikidata>Q1490</capital_wikidata>
    <from>1943</from>
    <from_year>1943</from_year>
    <current>true</current>
    <capitals_count>9</capitals_count>
    <lat>35.6894</lat>
    <lon>139.6917</lon>
  </row>
  <row>
    <id>Q17-8A67131F-11D3-4B9F-9EFA-C4CD74118D81</id>
    <country_name>Japan</country_name>
    <country_wikidata>Q17</country_wikidata>
    <country>JPN</country>
    <state_status>sovereign state</state_status>
    <capital>Fukuhara-kyō</capital>
    <capital_wikidata>Q6031707</capital_wikidata>
    <until>1180</until>
    <until_year>1180</until_year>
    <current>false</current>
    <capitals_count>9</capitals_count>
    <lat>34.6853</lat>
    <lon>135.1683</lon>
  </row>
  <row>
    <id>Q11723502-E2A1FDC0-A5F2-4401-8880-1A8A222A71EE</id>
    <country_name>Jaxa</country_name>
    <country_wikidata>Q11723502</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Albazino</capital>
    <capital_wikidata>Q2994707</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>53.3833</lat>
    <lon>124.095</lon>
  </row>
  <row>
    <id>Q1252744-f841d2c7-4248-447e-935f-a66a4bd8f33e</id>
    <country_name>Jind State</country_name>
    <country_wikidata>Q1252744</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sangrur</capital>
    <capital_wikidata>Q2441398</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>30.2333</lat>
    <lon>75.8333</lon>
  </row>
  <row>
    <id>Q1150344-5F6521B9-293C-4A7A-BB95-7C2D91168248</id>
    <country_name>Johor Sultanate</country_name>
    <country_wikidata>Q1150344</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Johor Bahru</capital>
    <capital_wikidata>Q231318</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>1.4556</lat>
    <lon>103.7611</lon>
  </row>
  <row>
    <id>Q1150344-93419ce7-4214-596b-bbfa-1ddbe6a92912</id>
    <country_name>Johor Sultanate</country_name>
    <country_wikidata>Q1150344</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bintan Island</capital>
    <capital_wikidata>Q774859</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>1.0833</lat>
    <lon>104.4908</lon>
  </row>
  <row>
    <id>Q760893-268E4475-3909-4F8C-AAA1-61F4A031299F</id>
    <country_name>Jolof Empire</country_name>
    <country_wikidata>Q760893</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Linguère</capital>
    <capital_wikidata>Q3233968</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>15.3958</lat>
    <lon>-15.1108</lon>
  </row>
  <row>
    <id>q810-062FCA23-B0E4-4D1B-AD34-50B8A274FC9B</id>
    <country_name>Jordan</country_name>
    <country_wikidata>Q810</country_wikidata>
    <country>JOR</country>
    <state_status>sovereign state</state_status>
    <capital>Amman</capital>
    <capital_wikidata>Q3805</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>31.95</lat>
    <lon>35.9333</lon>
  </row>
  <row>
    <id>Q889970-34989DDB-29F1-4405-9B83-B31B6D17A038</id>
    <country_name>Jorvik</country_name>
    <country_wikidata>Q889970</country_wikidata>
    <state_status>historical state</state_status>
    <capital>York</capital>
    <capital_wikidata>Q42462</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>53.95</lat>
    <lon>-1.0833</lon>
  </row>
  <row>
    <id>Q28179-2E515A01-1D5D-45DB-9D8F-A1E9D8B8E933</id>
    <country_name>Joseon</country_name>
    <country_wikidata>Q28179</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Hanseongbu</capital>
    <capital_wikidata>Q624467</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.5833</lat>
    <lon>127</lon>
  </row>
  <row>
    <id>Q2413855-fa034795-49a6-5d2d-d04d-d0102db9a2f8</id>
    <country_name>Juliana Republic</country_name>
    <country_wikidata>Q2413855</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Laguna</capital>
    <capital_wikidata>Q1615291</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-28.4828</lat>
    <lon>-48.7808</lon>
  </row>
  <row>
    <id>Q58202-a526901d-43b4-0d90-a154-c776aa27a523</id>
    <country_name>July Monarchy</country_name>
    <country_wikidata>Q58202</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Paris</capital>
    <capital_wikidata>Q90</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.8567</lat>
    <lon>2.3522</lon>
  </row>
  <row>
    <id>Q862478-05c29d8e-4ca3-921f-001e-4907fd5d0c29</id>
    <country_name>Kaabu</country_name>
    <country_wikidata>Q862478</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Foni Kansala</capital>
    <capital_wikidata>Q1435754</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>13.2167</lat>
    <lon>-16.05</lon>
  </row>
  <row>
    <id>Q2640598-7fb5ef48-43e2-49d6-1821-813ff0c0a2b7</id>
    <country_name>Kabardia</country_name>
    <country_wikidata>Q2640598</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nalchik</capital>
    <capital_wikidata>Q5265</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>43.4833</lat>
    <lon>43.6167</lon>
  </row>
  <row>
    <id>Q1479952-7E050598-AFD5-4195-A77C-845E93712D09</id>
    <country_name>Kadamba dynasty</country_name>
    <country_wikidata>Q1479952</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Banavasi</capital>
    <capital_wikidata>Q2427885</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>14.5341</lat>
    <lon>75.0177</lon>
  </row>
  <row>
    <id>Q860407-8298AD1A-193E-4332-A1E4-7673FA4EEA88</id>
    <country_name>Kahlur State</country_name>
    <country_wikidata>Q860407</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bilaspur, Himachal Pradesh</capital>
    <capital_wikidata>Q860424</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>31.3455</lat>
    <lon>76.7596</lon>
  </row>
  <row>
    <id>Q4208754-0300a179-486a-419a-2e15-7585e83dbd8e</id>
    <country_name>Kaitag Utsmiate</country_name>
    <country_wikidata>Q4208754</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kala-Koreysh</capital>
    <capital_wikidata>Q4208960</capital_wikidata>
    <current>false</current>
    <capitals_count>6</capitals_count>
    <lat>42.1025</lat>
    <lon>47.6573</lon>
  </row>
  <row>
    <id>Q4208754-497a86ca-477b-f076-87ba-201824fff35f</id>
    <country_name>Kaitag Utsmiate</country_name>
    <country_wikidata>Q4208754</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Urkarakh</capital>
    <capital_wikidata>Q4477068</capital_wikidata>
    <current>false</current>
    <capitals_count>6</capitals_count>
    <lat>42.1606</lat>
    <lon>47.6339</lon>
  </row>
  <row>
    <id>Q4208754-1a37a2e4-4ed5-4783-f243-12ff283976b5</id>
    <country_name>Kaitag Utsmiate</country_name>
    <country_wikidata>Q4208754</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Madzhalis</capital>
    <capital_wikidata>Q3276135</capital_wikidata>
    <current>false</current>
    <capitals_count>6</capitals_count>
    <lat>42.1217</lat>
    <lon>47.8333</lon>
  </row>
  <row>
    <id>Q4208754-2ba16992-49db-0619-8382-f5e087ce81e8</id>
    <country_name>Kaitag Utsmiate</country_name>
    <country_wikidata>Q4208754</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Barshamay</capital>
    <capital_wikidata>Q4078808</capital_wikidata>
    <current>false</current>
    <capitals_count>6</capitals_count>
    <lat>42.1081</lat>
    <lon>47.8503</lon>
  </row>
  <row>
    <id>Q4208754-2d6efa1d-481a-987a-89e2-6d24410f6f52</id>
    <country_name>Kaitag Utsmiate</country_name>
    <country_wikidata>Q4208754</country_wikidata>
    <state_status>historical state</state_status>
    <capital_wikidata>Q113410893</capital_wikidata>
    <current>false</current>
    <capitals_count>6</capitals_count>
  </row>
  <row>
    <id>Q4208754-d2c5e50d-48f3-1a68-baef-dcfd4c3273e9</id>
    <country_name>Kaitag Utsmiate</country_name>
    <country_wikidata>Q4208754</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bashlykent</capital>
    <capital_wikidata>Q4080203</capital_wikidata>
    <current>false</current>
    <capitals_count>6</capitals_count>
    <lat>42.2583</lat>
    <lon>47.8464</lon>
  </row>
  <row>
    <id>Q2086556-A5FBC9BD-01ED-4DE8-9FF2-40EA53D4C257</id>
    <country_name>Kakatiya dynasty</country_name>
    <country_wikidata>Q2086556</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Warangal</capital>
    <capital_wikidata>Q25563103</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>17.9756</lat>
    <lon>79.6011</lon>
  </row>
  <row>
    <id>Q2572901-9A2AF8A4-A647-4C34-B6B6-EAD4A6414976</id>
    <country_name>Kalabhra</country_name>
    <country_wikidata>Q2572901</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Puhar</capital>
    <capital_wikidata>Q2135463</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>11.144</lat>
    <lon>79.855</lon>
  </row>
  <row>
    <id>Q62623-23829e29-46f2-de7d-1cbb-a27fba0e7aca</id>
    <country_name>Kalmar Union</country_name>
    <country_wikidata>Q62623</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Oslo</capital>
    <capital_wikidata>Q585</capital_wikidata>
    <from>1387</from>
    <until>1523</until>
    <from_year>1387</from_year>
    <until_year>1523</until_year>
    <years_as_capital>136</years_as_capital>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>59.9133</lat>
    <lon>10.7389</lon>
  </row>
  <row>
    <id>Q62623-5947e2b4-499d-a33f-cb4c-f8041f1ddb48</id>
    <country_name>Kalmar Union</country_name>
    <country_wikidata>Q62623</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Roskilde</capital>
    <capital_wikidata>Q26563</capital_wikidata>
    <from>1387</from>
    <until>1443</until>
    <from_year>1387</from_year>
    <until_year>1443</until_year>
    <years_as_capital>56</years_as_capital>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>55.6417</lat>
    <lon>12.0808</lon>
  </row>
  <row>
    <id>Q62623-e008ee06-4510-6e7e-e413-97820e1048c0</id>
    <country_name>Kalmar Union</country_name>
    <country_wikidata>Q62623</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Uppsala</capital>
    <capital_wikidata>Q25286</capital_wikidata>
    <from>1389</from>
    <until>1436</until>
    <from_year>1389</from_year>
    <until_year>1436</until_year>
    <years_as_capital>47</years_as_capital>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>59.8498</lat>
    <lon>17.639</lon>
  </row>
  <row>
    <id>Q62623-712d1874-468f-1fbe-609d-1918b132c9f2</id>
    <country_name>Kalmar Union</country_name>
    <country_wikidata>Q62623</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Stockholm</capital>
    <capital_wikidata>Q1754</capital_wikidata>
    <from>1436</from>
    <until>1523</until>
    <from_year>1436</from_year>
    <until_year>1523</until_year>
    <years_as_capital>87</years_as_capital>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>59.3294</lat>
    <lon>18.0686</lon>
  </row>
  <row>
    <id>Q62623-CD4DB829-BFA2-4376-97A8-7A15B047E029</id>
    <country_name>Kalmar Union</country_name>
    <country_wikidata>Q62623</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Copenhagen</capital>
    <capital_wikidata>Q1748</capital_wikidata>
    <from>1443</from>
    <until>1523</until>
    <from_year>1443</from_year>
    <until_year>1523</until_year>
    <years_as_capital>80</years_as_capital>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>55.6761</lat>
    <lon>12.5689</lon>
  </row>
  <row>
    <id>Q736839-240860f7-4cc0-31ec-2458-11e0a5c406fc</id>
    <country_name>Kamakura shogunate</country_name>
    <country_wikidata>Q736839</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kamakura</capital>
    <capital_wikidata>Q10939227</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>35.3188</lat>
    <lon>139.5519</lon>
  </row>
  <row>
    <id>Q1194765-9C65B43A-5B3C-4B4C-A192-6975CFEE079A</id>
    <country_name>Kamarupa</country_name>
    <country_wikidata>Q1194765</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Guwahati</capital>
    <capital_wikidata>Q199605</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>26.1806</lat>
    <lon>91.7502</lon>
  </row>
  <row>
    <id>Q668294-140163F7-900A-4183-89CD-1988A1A0A5DA</id>
    <country_name>Kamerun</country_name>
    <country_wikidata>Q668294</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Douala</capital>
    <capital_wikidata>Q132830</capital_wikidata>
    <from>1884-07-12</from>
    <until>1901</until>
    <from_year>1884</from_year>
    <until_year>1901</until_year>
    <years_as_capital>17</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>4.05</lat>
    <lon>9.7</lon>
  </row>
  <row>
    <id>Q668294-77d99b1b-4f53-7a4c-2251-15bfd145fb71</id>
    <country_name>Kamerun</country_name>
    <country_wikidata>Q668294</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Buea</capital>
    <capital_wikidata>Q312209</capital_wikidata>
    <from>1901</from>
    <until>1914</until>
    <from_year>1901</from_year>
    <until_year>1914</until_year>
    <years_as_capital>13</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>4.1667</lat>
    <lon>9.2333</lon>
  </row>
  <row>
    <id>Q668294-11f17bf2-4977-589f-746a-cd9f5e5a8213</id>
    <country_name>Kamerun</country_name>
    <country_wikidata>Q668294</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Yaoundé</capital>
    <capital_wikidata>Q3808</capital_wikidata>
    <from>1914</from>
    <until>1915</until>
    <from_year>1914</from_year>
    <until_year>1915</until_year>
    <years_as_capital>1</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>3.8578</lat>
    <lon>11.5181</lon>
  </row>
  <row>
    <id>Q1446192-487fc219-45bf-36a7-77d2-3a6f9ff20f53</id>
    <country_name>Kampili</country_name>
    <country_wikidata>Q1446192</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kammatadurga</capital>
    <capital_wikidata>Q6358830</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>15.4078</lat>
    <lon>76.375</lon>
  </row>
  <row>
    <id>Q1537016-212feaa8-499a-bbfa-518b-23467c00bed2</id>
    <country_name>Kanem Empire</country_name>
    <country_wikidata>Q1537016</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Njimi</capital>
    <capital_wikidata>Q3342340</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
  </row>
  <row>
    <id>Q1139762-D95C175F-2D50-4253-8121-0A1E364FCB5B</id>
    <country_name>Kanem-Bornu Empire</country_name>
    <country_wikidata>Q1139762</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Njimi</capital>
    <capital_wikidata>Q3342340</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
  </row>
  <row>
    <id>Q4212235-370fd36e-4234-7416-bee1-9798a349ae47</id>
    <country_name>Kangar Union</country_name>
    <country_wikidata>Q4212235</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Otrar</capital>
    <capital_wikidata>Q956911</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>42.8515</lat>
    <lon>68.303</lon>
  </row>
  <row>
    <id>Q1728782-33fe8fc9-4a28-1729-ae48-79b1d4dd9bfe</id>
    <country_name>Kapurthala State</country_name>
    <country_wikidata>Q1728782</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kapurthala</capital>
    <capital_wikidata>Q781354</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>31.38</lat>
    <lon>75.38</lon>
  </row>
  <row>
    <id>Q56314483-ffbe478d-4c70-2c16-3c8f-50d9e14c4e26</id>
    <country_name>Kara-Kyrgyz Khanate</country_name>
    <country_wikidata>Q56314483</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kochkor</capital>
    <capital_wikidata>Q2349614</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>42.2157</lat>
    <lon>75.7555</lon>
  </row>
  <row>
    <id>Q1636212-317153d9-4e94-cefb-1367-ca510383b1db</id>
    <country_name>Karabakh Khanate</country_name>
    <country_wikidata>Q1636212</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Shusha Fortress</capital>
    <capital_wikidata>Q2500237</capital_wikidata>
    <from>1751</from>
    <until>1822</until>
    <from_year>1751</from_year>
    <until_year>1822</until_year>
    <years_as_capital>71</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>39.7661</lat>
    <lon>46.7511</lon>
  </row>
  <row>
    <id>Q1636212-4887854b-4bbf-695a-d1ed-285a7b66fef6</id>
    <country_name>Karabakh Khanate</country_name>
    <country_wikidata>Q1636212</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Shahbulag Castle</capital>
    <capital_wikidata>Q2065395</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>40.0688</lat>
    <lon>46.9058</lon>
  </row>
  <row>
    <id>Q1636212-b8dcc120-403e-9995-8b86-da606173079c</id>
    <country_name>Karabakh Khanate</country_name>
    <country_wikidata>Q1636212</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bayat Castle</capital>
    <capital_wikidata>Q4080366</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>40.27</lat>
    <lon>47.01</lon>
  </row>
  <row>
    <id>Q1636212-BD31E8E9-EC2E-429A-ACD9-52DD2CA1AEFF</id>
    <country_name>Karabakh Khanate</country_name>
    <country_wikidata>Q1636212</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Shusha</capital>
    <capital_wikidata>Q158903</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>39.7602</lat>
    <lon>46.7504</lon>
  </row>
  <row>
    <id>Q494354-22FFBBE5-6F01-4716-AF2B-9CCCF657C23D</id>
    <country_name>Karakhanid Khanate</country_name>
    <country_wikidata>Q494354</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Balasagun</capital>
    <capital_wikidata>Q1764282</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>42.7476</lat>
    <lon>75.2484</lon>
  </row>
  <row>
    <id>Q494354-f5b058d3-467b-f254-7bb1-8c64afcdc3e3</id>
    <country_name>Karakhanid Khanate</country_name>
    <country_wikidata>Q494354</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kashgar</capital>
    <capital_wikidata>Q170521</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>39.45</lat>
    <lon>75.9833</lon>
  </row>
  <row>
    <id>Q1469100-1353f197-4af5-cbd5-1210-68ac92391f1b</id>
    <country_name>Karamanids</country_name>
    <country_wikidata>Q1469100</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Konya</capital>
    <capital_wikidata>Q79857</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>37.8728</lat>
    <lon>32.4921</lon>
  </row>
  <row>
    <id>Q1469100-44E1DA3E-E4F3-4E0C-A804-ADC6715B4AE8</id>
    <country_name>Karamanids</country_name>
    <country_wikidata>Q1469100</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Karaman</capital>
    <capital_wikidata>Q262579</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>37.1833</lat>
    <lon>33.2167</lon>
  </row>
  <row>
    <id>Q466433-5070131D-C10A-4F7A-823E-E9DECADAD422</id>
    <country_name>Karkota dynasty</country_name>
    <country_wikidata>Q466433</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Srinagar</capital>
    <capital_wikidata>Q170115</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>34.0911</lat>
    <lon>74.8061</lon>
  </row>
  <row>
    <id>Q12660335-b91a66ad-4017-7c50-ecc1-2eee5e3128c2</id>
    <country_name>Kashi</country_name>
    <country_wikidata>Q12660335</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Varanasi</capital>
    <capital_wikidata>Q79980</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>25.3189</lat>
    <lon>83.0128</lon>
  </row>
  <row>
    <id>Q123027565-149dc678-474e-2ece-9b43-be551fd16ff0</id>
    <country_name>Kashmir Sultanate</country_name>
    <country_wikidata>Q123027565</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Srinagar</capital>
    <capital_wikidata>Q170115</capital_wikidata>
    <from>1320</from>
    <until>1586</until>
    <from_year>1320</from_year>
    <until_year>1586</until_year>
    <years_as_capital>266</years_as_capital>
    <current>false</current>
    <capitals_count>6</capitals_count>
    <lat>34.0911</lat>
    <lon>74.8061</lon>
  </row>
  <row>
    <id>Q123027565-6db6e630-4a4c-0294-4ed6-b35016203d86</id>
    <country_name>Kashmir Sultanate</country_name>
    <country_wikidata>Q123027565</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Baramulla</capital>
    <capital_wikidata>Q712644</capital_wikidata>
    <from>1343</from>
    <until>1354</until>
    <from_year>1343</from_year>
    <until_year>1354</until_year>
    <years_as_capital>11</years_as_capital>
    <current>false</current>
    <capitals_count>6</capitals_count>
    <lat>34.2089</lat>
    <lon>74.3428</lon>
  </row>
  <row>
    <id>Q123027565-859b5525-4474-125f-992d-caa186452ecd</id>
    <country_name>Kashmir Sultanate</country_name>
    <country_wikidata>Q123027565</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nowhatta</capital>
    <capital_wikidata>Q7066653</capital_wikidata>
    <from>1470</from>
    <until>1472</until>
    <from_year>1470</from_year>
    <until_year>1472</until_year>
    <years_as_capital>2</years_as_capital>
    <current>false</current>
    <capitals_count>6</capitals_count>
    <lat>34.1</lat>
    <lon>74.81</lon>
  </row>
  <row>
    <id>Q123027565-1631347e-4de5-7201-b945-cf9bd823fcb2</id>
    <country_name>Kashmir Sultanate</country_name>
    <country_wikidata>Q123027565</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nowshera</capital>
    <capital_wikidata>Q2454236</capital_wikidata>
    <from>1529</from>
    <until>1530</until>
    <from_year>1529</from_year>
    <until_year>1530</until_year>
    <years_as_capital>1</years_as_capital>
    <current>false</current>
    <capitals_count>6</capitals_count>
    <lat>34.13</lat>
    <lon>74.8</lon>
  </row>
  <row>
    <id>Q123027565-955d403a-4c46-edac-b2fb-4df65b4244be</id>
    <country_name>Kashmir Sultanate</country_name>
    <country_wikidata>Q123027565</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sopore</capital>
    <capital_wikidata>Q2321929</capital_wikidata>
    <from>1586</from>
    <until>1588</until>
    <from_year>1586</from_year>
    <until_year>1588</until_year>
    <years_as_capital>2</years_as_capital>
    <current>false</current>
    <capitals_count>6</capitals_count>
    <lat>34.2864</lat>
    <lon>74.4628</lon>
  </row>
  <row>
    <id>Q123027565-fcb0c768-4ce2-833a-9864-91241d8cce26</id>
    <country_name>Kashmir Sultanate</country_name>
    <country_wikidata>Q123027565</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Chanderkot</capital>
    <capital_wikidata>Q110800198</capital_wikidata>
    <from>1586</from>
    <until>1587</until>
    <from_year>1586</from_year>
    <until_year>1587</until_year>
    <years_as_capital>1</years_as_capital>
    <current>false</current>
    <capitals_count>6</capitals_count>
  </row>
  <row>
    <id>Q123027565-df68fcd4-448c-881d-07a9-fb2ff8183ebf</id>
    <country_name>Kashmir Sultanate</country_name>
    <country_wikidata>Q123027565</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Baramulla</capital>
    <capital_wikidata>Q712644</capital_wikidata>
    <from>1587</from>
    <until>1588</until>
    <from_year>1587</from_year>
    <until_year>1588</until_year>
    <years_as_capital>1</years_as_capital>
    <current>false</current>
    <capitals_count>6</capitals_count>
    <lat>34.2089</lat>
    <lon>74.3428</lon>
  </row>
  <row>
    <id>Q1296908-8C7FAF43-FF6D-4C48-ACA7-549CD5FE9A1B</id>
    <country_name>Kathiri Sultanate</country_name>
    <country_wikidata>Q1296908</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Seiyun</capital>
    <capital_wikidata>Q2320876</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>15.9667</lat>
    <lon>48.7833</lon>
  </row>
  <row>
    <id>Q3194420-A59B6584-297A-4ECE-AC92-B2E8325005EC</id>
    <country_name>Kaysites</country_name>
    <country_wikidata>Q3194420</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Manazkert</capital>
    <capital_wikidata>Q11934791</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
  </row>
  <row>
    <id>Q1433867-1a1dff84-43c5-a999-3f9c-52170028877a</id>
    <country_name>Kazakh Khanate</country_name>
    <country_wikidata>Q1433867</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sozak</capital>
    <capital_wikidata>Q4445604</capital_wikidata>
    <from>1465</from>
    <until>1469</until>
    <from_year>1465</from_year>
    <until_year>1469</until_year>
    <years_as_capital>4</years_as_capital>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>44.1403</lat>
    <lon>68.475</lon>
  </row>
  <row>
    <id>Q1433867-de93fe27-4f2e-5ae5-81b8-052951ba6642</id>
    <country_name>Kazakh Khanate</country_name>
    <country_wikidata>Q1433867</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sighnaq</capital>
    <capital_wikidata>Q3826507</capital_wikidata>
    <from>1469</from>
    <until>1511</until>
    <from_year>1469</from_year>
    <until_year>1511</until_year>
    <years_as_capital>42</years_as_capital>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>44.1567</lat>
    <lon>66.9639</lon>
  </row>
  <row>
    <id>Q1433867-21121d29-4e52-45f9-a02e-e52dad9d9418</id>
    <country_name>Kazakh Khanate</country_name>
    <country_wikidata>Q1433867</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Saray-Jük</capital>
    <capital_wikidata>Q2996387</capital_wikidata>
    <from>1511</from>
    <until>1521</until>
    <from_year>1511</from_year>
    <until_year>1521</until_year>
    <years_as_capital>10</years_as_capital>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>47.5</lat>
    <lon>51.7333</lon>
  </row>
  <row>
    <id>Q1433867-469be1b2-4f86-72c5-1537-b311557cc77e</id>
    <country_name>Kazakh Khanate</country_name>
    <country_wikidata>Q1433867</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sighnaq</capital>
    <capital_wikidata>Q3826507</capital_wikidata>
    <from>1521</from>
    <until>1599</until>
    <from_year>1521</from_year>
    <until_year>1599</until_year>
    <years_as_capital>78</years_as_capital>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>44.1567</lat>
    <lon>66.9639</lon>
  </row>
  <row>
    <id>Q1433867-4bf1a648-412e-4dd7-5a3f-2d04c6b127e6</id>
    <country_name>Kazakh Khanate</country_name>
    <country_wikidata>Q1433867</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Turkistan</capital>
    <capital_wikidata>Q848638</capital_wikidata>
    <from>1599</from>
    <until>1729</until>
    <from_year>1599</from_year>
    <until_year>1729</until_year>
    <years_as_capital>130</years_as_capital>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>43.3019</lat>
    <lon>68.2692</lon>
  </row>
  <row>
    <id>Q1433867-4b4a6515-4e7b-0824-fc4c-e95980ac1f8b</id>
    <country_name>Kazakh Khanate</country_name>
    <country_wikidata>Q1433867</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tashkent</capital>
    <capital_wikidata>Q269</capital_wikidata>
    <from>1729</from>
    <until>1781</until>
    <from_year>1729</from_year>
    <until_year>1781</until_year>
    <years_as_capital>52</years_as_capital>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>41.3111</lat>
    <lon>69.2797</lon>
  </row>
  <row>
    <id>Q168811-55B2E82F-2BB6-4A40-8E8B-9CD454B22DC7</id>
    <country_name>Kazakh Soviet Socialist Republic</country_name>
    <country_wikidata>Q168811</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Almaty</capital>
    <capital_wikidata>Q35493</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>43.24</lat>
    <lon>76.915</lon>
  </row>
  <row>
    <id>Q12844379-33507e5b-4b2f-c571-7eb5-e5ab0af8c08a</id>
    <country_name>Kazakh sultanate</country_name>
    <country_wikidata>Q12844379</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Gazakh</capital>
    <capital_wikidata>Q586758</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.0933</lat>
    <lon>45.3661</lon>
  </row>
  <row>
    <id>Q232-315b18f7-473b-9dc6-e05a-6344b44f5db8</id>
    <country_name>Kazakhstan</country_name>
    <country_wikidata>Q232</country_wikidata>
    <country>KAZ</country>
    <state_status>sovereign state</state_status>
    <capital>Almaty</capital>
    <capital_wikidata>Q35493</capital_wikidata>
    <from>1991</from>
    <until>1997</until>
    <from_year>1991</from_year>
    <until_year>1997</until_year>
    <years_as_capital>6</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>43.24</lat>
    <lon>76.915</lon>
  </row>
  <row>
    <id>q232-42FF0727-37F9-4D93-93A4-7B72DD738EFD</id>
    <country_name>Kazakhstan</country_name>
    <country_wikidata>Q232</country_wikidata>
    <country>KAZ</country>
    <state_status>sovereign state</state_status>
    <capital>Astana</capital>
    <capital_wikidata>Q1520</capital_wikidata>
    <from>1997</from>
    <from_year>1997</from_year>
    <current>true</current>
    <capitals_count>2</capitals_count>
    <lat>51.1333</lat>
    <lon>71.4333</lon>
  </row>
  <row>
    <id>Q4208290-23414ea7-4b25-e3da-05d4-4795269d03ac</id>
    <country_name>Kazikumukh Khanate</country_name>
    <country_wikidata>Q4208290</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kumukh</capital>
    <capital_wikidata>Q1153296</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>42.1706</lat>
    <lon>47.1175</lon>
  </row>
  <row>
    <id>Q2638136-78c52d2c-44bf-8248-fdc8-491a8a39e487</id>
    <country_name>Kazikumukh Shamkhalate</country_name>
    <country_wikidata>Q2638136</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kumukh</capital>
    <capital_wikidata>Q1153296</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>42.1706</lat>
    <lon>47.1175</lon>
  </row>
  <row>
    <id>Q756895-3B283E4E-B030-4BC1-81AD-601A3A027E41</id>
    <country_name>Kediri</country_name>
    <country_wikidata>Q756895</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kediri</capital>
    <capital_wikidata>Q11443</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-7.8111</lat>
    <lon>112.0047</lon>
  </row>
  <row>
    <id>Q826021-9fb4f78f-43c4-aac0-7509-1aef8afe5b9c</id>
    <country_name>Kenmu Restoration</country_name>
    <country_wikidata>Q826021</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Heian-kyō</capital>
    <capital_wikidata>Q751907</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>35</lat>
    <lon>135.7667</lon>
  </row>
  <row>
    <id>q114-A6BC1157-8300-4525-88DA-D02F79AD8B16</id>
    <country_name>Kenya</country_name>
    <country_wikidata>Q114</country_wikidata>
    <country>KEN</country>
    <state_status>sovereign state</state_status>
    <capital>Nairobi</capital>
    <capital_wikidata>Q3870</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>-1.2864</lat>
    <lon>36.8172</lon>
  </row>
  <row>
    <id>Q6392538-1035B7AF-3828-4F1C-8082-1F0D9B2632A6</id>
    <country_name>Kenya (1963–1964)</country_name>
    <country_wikidata>Q6392538</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nairobi</capital>
    <capital_wikidata>Q3870</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-1.2864</lat>
    <lon>36.8172</lon>
  </row>
  <row>
    <id>Q1739282-63248616-4115-49D6-80E6-C703B8F9C5EE</id>
    <country_name>Kerma kingdom</country_name>
    <country_wikidata>Q1739282</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kerma</capital>
    <capital_wikidata>Q1107569</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>19.6008</lat>
    <lon>30.4097</lon>
  </row>
  <row>
    <id>Q577668-c2f965f8-43a6-ee1d-3cf2-7e87b0a170ba</id>
    <country_name>Khanate of Bukhara</country_name>
    <country_wikidata>Q577668</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bukhara</capital>
    <capital_wikidata>Q5764</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>39.7747</lat>
    <lon>64.4286</lon>
  </row>
  <row>
    <id>Q139948-38DD2E84-9207-4E74-8AB2-D9216E4AAE26</id>
    <country_name>Khanate of Kalat</country_name>
    <country_wikidata>Q139948</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kalat</capital>
    <capital_wikidata>Q2581527</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>29.0258</lat>
    <lon>66.59</lon>
  </row>
  <row>
    <id>Q491106-912e126a-4fa2-9a97-6fda-cc24f936b133</id>
    <country_name>Khanate of Khiva</country_name>
    <country_wikidata>Q491106</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Khiva</capital>
    <capital_wikidata>Q486195</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>41.3814</lat>
    <lon>60.3611</lon>
  </row>
  <row>
    <id>Q491106-e101d2e8-41be-de9f-eb84-a3365d2f4949</id>
    <country_name>Khanate of Khiva</country_name>
    <country_wikidata>Q491106</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Köneürgenç</capital>
    <capital_wikidata>Q48472</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>42.3261</lat>
    <lon>59.1531</lon>
  </row>
  <row>
    <id>q696241-67D08B39-824E-48ED-A223-144D14C30529</id>
    <country_name>Khanate of Kokand</country_name>
    <country_wikidata>Q696241</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Qoʻqon</capital>
    <capital_wikidata>Q489890</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>40.5286</lat>
    <lon>70.9425</lon>
  </row>
  <row>
    <id>Q21843649-e9b1d8fb-473d-df1e-a3e7-887a33fd8030</id>
    <country_name>Khanate of Nishapur</country_name>
    <country_wikidata>Q21843649</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nishapur</capital>
    <capital_wikidata>Q131350</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>36.2133</lat>
    <lon>58.7958</lon>
  </row>
  <row>
    <id>Q186537-e3e3b55d-4f99-b2bf-54e5-232615b3fe0a</id>
    <country_name>Khanate of Qazan</country_name>
    <country_wikidata>Q186537</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kazan</capital>
    <capital_wikidata>Q900</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>55.7908</lat>
    <lon>49.1144</lon>
  </row>
  <row>
    <id>Q2989491-a27472a6-48c8-bca5-ba2a-1fcf79af1ab7</id>
    <country_name>Kharan State</country_name>
    <country_wikidata>Q2989491</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kharan</capital>
    <capital_wikidata>Q1740586</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>28.5833</lat>
    <lon>65.4167</lon>
  </row>
  <row>
    <id>Q2090473-206dbe27-4add-e9b1-7aed-6375cf308291</id>
    <country_name>Khazar Khaganate</country_name>
    <country_wikidata>Q2090473</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Balanjar</capital>
    <capital_wikidata>Q651082</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
  </row>
  <row>
    <id>Q2090473-26C13CD1-CB49-41F5-8079-FCB71E60B068</id>
    <country_name>Khazar Khaganate</country_name>
    <country_wikidata>Q2090473</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Atil</capital>
    <capital_wikidata>Q913429</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
  </row>
  <row>
    <id>Q2090473-7BA6D05F-64C2-402E-BACB-033302C206DE</id>
    <country_name>Khazar Khaganate</country_name>
    <country_wikidata>Q2090473</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Samandar</capital>
    <capital_wikidata>Q2622424</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
  </row>
  <row>
    <id>Q127861-e441abcb-434a-aaad-bcb3-e2057862a4ba</id>
    <country_name>Khedivate of Egypt</country_name>
    <country_wikidata>Q127861</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Cairo</capital>
    <capital_wikidata>Q85</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>30.0444</lat>
    <lon>31.2358</lon>
  </row>
  <row>
    <id>Q201705-93ec29b3-400b-0d5b-72df-469a3cb3ec7a</id>
    <country_name>Khmer Empire</country_name>
    <country_wikidata>Q201705</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Koh Ker</capital>
    <capital_wikidata>Q1778458</capital_wikidata>
    <from>0922</from>
    <until>0944</until>
    <from_year>922</from_year>
    <until_year>944</until_year>
    <years_as_capital>22</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>13.7499</lat>
    <lon>104.5473</lon>
  </row>
  <row>
    <id>Q201705-639698e6-4315-7148-1749-507db614e217</id>
    <country_name>Khmer Empire</country_name>
    <country_wikidata>Q201705</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Hariharalaya</capital>
    <capital_wikidata>Q957050</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>13.3333</lat>
    <lon>103.9667</lon>
  </row>
  <row>
    <id>Q201705-EAC787E8-9634-477A-96D0-8B1707A2F2AB</id>
    <country_name>Khmer Empire</country_name>
    <country_wikidata>Q201705</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Yasodharapura</capital>
    <capital_wikidata>Q2654910</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>13.4125</lat>
    <lon>103.8667</lon>
  </row>
  <row>
    <id>Q1054184-c162f34a-46b3-cc5b-e078-8a7f7f5918a8</id>
    <country_name>Khmer Republic</country_name>
    <country_wikidata>Q1054184</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Phnom Penh</capital>
    <capital_wikidata>Q1850</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>11.5696</lat>
    <lon>104.921</lon>
  </row>
  <row>
    <id>Q12167518-d21da4be-4cda-aaca-da2d-f88f8ee62e2a</id>
    <country_name>Kholodny Yar Republic</country_name>
    <country_wikidata>Q12167518</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Melnyky</capital>
    <capital_wikidata>Q4289812</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>49.1433</lat>
    <lon>32.2969</lon>
  </row>
  <row>
    <id>Q61291-4ad6c0f2-4c74-0672-d80b-ec80c68aba32</id>
    <country_name>Khorezm People's Soviet Republic</country_name>
    <country_wikidata>Q61291</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Khiva</capital>
    <capital_wikidata>Q486195</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.3814</lat>
    <lon>60.3611</lon>
  </row>
  <row>
    <id>Q11730773-9af6895b-43aa-be86-5805-52a8f7c2fb67</id>
    <country_name>Khorezm Socialist Soviet Republic</country_name>
    <country_wikidata>Q11730773</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Khiva</capital>
    <capital_wikidata>Q486195</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.3814</lat>
    <lon>60.3611</lon>
  </row>
  <row>
    <id>Q10921634-FFBA5456-FBEF-4363-96BA-1AAEF2D4EDD6</id>
    <country_name>Khoshut Khanate</country_name>
    <country_wikidata>Q10921634</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lhasa</capital>
    <capital_wikidata>Q5869</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>29.6458</lat>
    <lon>91.1408</lon>
  </row>
  <row>
    <id>Q182647-a96b953b-4ebd-e6aa-0dc3-ba267abc14e6</id>
    <country_name>Khwarazm</country_name>
    <country_wikidata>Q182647</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Khiva</capital>
    <capital_wikidata>Q486195</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.3814</lat>
    <lon>60.3611</lon>
  </row>
  <row>
    <id>Q1108445-5c9a0a07-4dce-eed7-1caa-8ff5a2e85238</id>
    <country_name>Kievan Rus'</country_name>
    <country_wikidata>Q1108445</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kyiv</capital>
    <capital_wikidata>Q1899</capital_wikidata>
    <from>0882</from>
    <until>1240</until>
    <from_year>882</from_year>
    <until_year>1240</until_year>
    <years_as_capital>358</years_as_capital>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.45</lat>
    <lon>30.5236</lon>
  </row>
  <row>
    <id>Q3107156-ad8d8efe-4ad9-f53f-28b7-d9645ff53893</id>
    <country_name>Kilwa Sultanate</country_name>
    <country_wikidata>Q3107156</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kilwa Kisiwani</capital>
    <capital_wikidata>Q1741475</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-8.9817</lat>
    <lon>39.5172</lon>
  </row>
  <row>
    <id>Q2477776-6efe4628-472d-bec9-8513-f8b1ab75e863</id>
    <country_name>Kimek Khanate</country_name>
    <country_wikidata>Q2477776</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Imakia</capital>
    <capital_wikidata>Q4200095</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
  </row>
  <row>
    <id>Q2477776-b59ea215-47c0-71de-5bf0-ed24864745b3</id>
    <country_name>Kimek Khanate</country_name>
    <country_wikidata>Q2477776</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Khakan-Kimak</capital>
    <capital_wikidata>Q4494881</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
  </row>
  <row>
    <id>Q605292-4cbe977d-410d-6198-b6b2-5ea3c5b3ba43</id>
    <country_name>Kindah Kingdom</country_name>
    <country_wikidata>Q605292</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Qaryat al-Faw</capital>
    <capital_wikidata>Q2829327</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>19.7833</lat>
    <lon>45.15</lon>
  </row>
  <row>
    <id>Q325493-0fe11205-4ba5-6b56-afc8-a38591141aa6</id>
    <country_name>Kingdom of Abkhazia</country_name>
    <country_wikidata>Q325493</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kutaisi</capital>
    <capital_wikidata>Q172415</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>42.2717</lat>
    <lon>42.7056</lon>
  </row>
  <row>
    <id>Q1138904-05ce9722-46f3-8ab1-a27c-7e2649e1b9ab</id>
    <country_name>Kingdom of Afghanistan</country_name>
    <country_wikidata>Q1138904</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kabul</capital>
    <capital_wikidata>Q5838</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>34.5328</lat>
    <lon>69.1658</lon>
  </row>
  <row>
    <id>Q139377-CAE0ACBF-4973-4E58-AC7E-EE5561AEFEDF</id>
    <country_name>Kingdom of Aksum</country_name>
    <country_wikidata>Q139377</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Axum</capital>
    <capital_wikidata>Q5832</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>14.1167</lat>
    <lon>38.7333</lon>
  </row>
  <row>
    <id>Q2657134-CB38566C-70C2-43E1-B4CB-E79F2E6B310B</id>
    <country_name>Kingdom of Albania</country_name>
    <country_wikidata>Q2657134</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Durrës</capital>
    <capital_wikidata>Q83285</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.3133</lat>
    <lon>19.4458</lon>
  </row>
  <row>
    <id>Q6412538-44f049ff-42e1-1afe-e225-edfe2fdbade2</id>
    <country_name>Kingdom of Araba</country_name>
    <country_wikidata>Q6412538</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Hatra</capital>
    <capital_wikidata>Q466614</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>35.5881</lat>
    <lon>42.7183</lon>
  </row>
  <row>
    <id>Q199442-937D0BF5-3581-469D-AA0C-811320AC4190</id>
    <country_name>Kingdom of Aragon</country_name>
    <country_wikidata>Q199442</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Jaca City</capital>
    <capital_wikidata>Q31917158</capital_wikidata>
    <from>1035</from>
    <until>1097</until>
    <from_year>1035</from_year>
    <until_year>1097</until_year>
    <years_as_capital>62</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>42.569</lat>
    <lon>-0.5499</lon>
  </row>
  <row>
    <id>Q199442-0a08b6e2-4d95-5c70-e659-8009aa99fd12</id>
    <country_name>Kingdom of Aragon</country_name>
    <country_wikidata>Q199442</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Huesca</capital>
    <capital_wikidata>Q31916975</capital_wikidata>
    <from>1097</from>
    <until>1118</until>
    <from_year>1097</from_year>
    <until_year>1118</until_year>
    <years_as_capital>21</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>42.1409</lat>
    <lon>-0.4111</lon>
  </row>
  <row>
    <id>Q199442-fe8d5ccf-45d3-375c-84aa-7fb121974df2</id>
    <country_name>Kingdom of Aragon</country_name>
    <country_wikidata>Q199442</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Zaragoza</capital>
    <capital_wikidata>Q31926034</capital_wikidata>
    <from>1119</from>
    <from_year>1119</from_year>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>41.6565</lat>
    <lon>-0.8793</lon>
  </row>
  <row>
    <id>Q3271735-A847EE03-4CA8-4017-AB53-E59F65609FFB</id>
    <country_name>Kingdom of Arles</country_name>
    <country_wikidata>Q3271735</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Arles</capital>
    <capital_wikidata>Q48292</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>43.6769</lat>
    <lon>4.6286</lon>
  </row>
  <row>
    <id>Q1550130-c528572a-4d83-7199-6361-2578a9257841</id>
    <country_name>Kingdom of Artsakh</country_name>
    <country_wikidata>Q1550130</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Həsənriz</capital>
    <capital_wikidata>Q2496163</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>40.1652</lat>
    <lon>46.5162</lon>
  </row>
  <row>
    <id>Q231392-0b6fc4aa-4584-fd13-0047-39b42d6d87b4</id>
    <country_name>Kingdom of Asturias</country_name>
    <country_wikidata>Q231392</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Pravia</capital>
    <capital_wikidata>Q820469</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>43.4897</lat>
    <lon>-6.1139</lon>
  </row>
  <row>
    <id>Q231392-a6a8a1c6-4e2b-a8af-2e47-ae7f300e400b</id>
    <country_name>Kingdom of Asturias</country_name>
    <country_wikidata>Q231392</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Oviedo</capital>
    <capital_wikidata>Q14317</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>43.3625</lat>
    <lon>-5.8503</lon>
  </row>
  <row>
    <id>Q231392-e0d89c64-44cb-cee7-0852-8e58373b4301</id>
    <country_name>Kingdom of Asturias</country_name>
    <country_wikidata>Q231392</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Cangues d'Onís</capital>
    <capital_wikidata>Q225515</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>43.3504</lat>
    <lon>-5.1305</lon>
  </row>
  <row>
    <id>Q231392-fe893535-4fd6-d078-037c-fcd2f55aec5e</id>
    <country_name>Kingdom of Asturias</country_name>
    <country_wikidata>Q231392</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Samartín del Rei Aurelio</capital>
    <capital_wikidata>Q818368</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>43.275</lat>
    <lon>-5.6138</lon>
  </row>
  <row>
    <id>Q1472873-7ce3f957-4e98-1c28-4c2d-20415f6353d5</id>
    <country_name>Kingdom of Baguirmi</country_name>
    <country_wikidata>Q1472873</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Massenya</capital>
    <capital_wikidata>Q764968</capital_wikidata>
    <from>1522</from>
    <until>1893</until>
    <from_year>1522</from_year>
    <until_year>1893</until_year>
    <years_as_capital>371</years_as_capital>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>11.4028</lat>
    <lon>16.17</lon>
  </row>
  <row>
    <id>Q154195-A3E21B7E-7FD4-4212-ACC3-02C0EFF058E7</id>
    <country_name>Kingdom of Bavaria</country_name>
    <country_wikidata>Q154195</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Munich</capital>
    <capital_wikidata>Q1726</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.1375</lat>
    <lon>11.575</lon>
  </row>
  <row>
    <id>Q3446243-6ba73e68-421e-3cc1-b80e-44bea8d7a8a3</id>
    <country_name>Kingdom of Beni Abbas</country_name>
    <country_wikidata>Q3446243</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kalâa of Ait Abbas</capital>
    <capital_wikidata>Q3192287</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>36.2964</lat>
    <lon>4.5808</lon>
  </row>
  <row>
    <id>Q3446243-b1cbd8b8-4b4b-a093-e8d5-8e1e7a2ec932</id>
    <country_name>Kingdom of Beni Abbas</country_name>
    <country_wikidata>Q3446243</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Medjana</capital>
    <capital_wikidata>Q1649448</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>36.1316</lat>
    <lon>4.6681</lon>
  </row>
  <row>
    <id>Q623751-A1DC6B24-2AD1-4493-BC9A-DB421B3AD427</id>
    <country_name>Kingdom of Bernicia</country_name>
    <country_wikidata>Q623751</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bamburgh</capital>
    <capital_wikidata>Q805983</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>55.604</lat>
    <lon>-1.7222</lon>
  </row>
  <row>
    <id>Q42585-3BE10DDF-E08F-40FA-9611-50B19F354B58</id>
    <country_name>Kingdom of Bohemia</country_name>
    <country_wikidata>Q42585</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Prague</capital>
    <capital_wikidata>Q1085</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.0875</lat>
    <lon>14.4214</lon>
  </row>
  <row>
    <id>Q2980623-613b5f92-45dd-ce9b-abcd-9c5fc0145c32</id>
    <country_name>Kingdom of Bosnia</country_name>
    <country_wikidata>Q2980623</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Visoko</capital>
    <capital_wikidata>Q193229</capital_wikidata>
    <from>0009</from>
    <until>1340</until>
    <from_year>9</from_year>
    <until_year>1340</until_year>
    <years_as_capital>1331</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>43.9894</lat>
    <lon>18.1806</lon>
  </row>
  <row>
    <id>Q2980623-c7eba802-47b0-7390-e483-0552e96304d3</id>
    <country_name>Kingdom of Bosnia</country_name>
    <country_wikidata>Q2980623</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bobovac</capital>
    <capital_wikidata>Q33186</capital_wikidata>
    <from>1377</from>
    <until>1460</until>
    <from_year>1377</from_year>
    <until_year>1460</until_year>
    <years_as_capital>83</years_as_capital>
    <current>false</current>
    <role>Middle Ages; Ottoman Bosnia</role>
    <capitals_count>4</capitals_count>
    <lat>44.1367</lat>
    <lon>18.2381</lon>
  </row>
  <row>
    <id>Q2980623-5c40f555-4e0f-dfd2-ee1e-2343b3135f0e</id>
    <country_name>Kingdom of Bosnia</country_name>
    <country_wikidata>Q2980623</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Jajce</capital>
    <capital_wikidata>Q258429</capital_wikidata>
    <from>1460</from>
    <until>1463</until>
    <from_year>1460</from_year>
    <until_year>1463</until_year>
    <years_as_capital>3</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>44.3403</lat>
    <lon>17.2572</lon>
  </row>
  <row>
    <id>Q2980623-dc4475da-4ff3-c819-e302-926b7c7d9486</id>
    <country_name>Kingdom of Bosnia</country_name>
    <country_wikidata>Q2980623</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Royal court in Sutjeska</capital>
    <capital_wikidata>Q65075158</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>44.1221</lat>
    <lon>18.2015</lon>
  </row>
  <row>
    <id>Q905131-0A2DF951-87BE-4E92-9653-807EABCEEDEB</id>
    <country_name>Kingdom of Breifne</country_name>
    <country_wikidata>Q905131</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Dromahair</capital>
    <capital_wikidata>Q1026208</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>54.233</lat>
    <lon>-8.3</lon>
  </row>
  <row>
    <id>Q954585-26A653BC-46E6-45BF-AD21-D67D78726D5B</id>
    <country_name>Kingdom of Brycheiniog</country_name>
    <country_wikidata>Q954585</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Talgarth</capital>
    <capital_wikidata>Q631340</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.993</lat>
    <lon>-3.232</lon>
  </row>
  <row>
    <id>Q147909-B1917B6C-4BA8-4FFF-A976-C3F16872F003</id>
    <country_name>Kingdom of Bulgaria</country_name>
    <country_wikidata>Q147909</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sofia</capital>
    <capital_wikidata>Q472</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>42.6979</lat>
    <lon>23.3217</lon>
  </row>
  <row>
    <id>Q1192936-DA657D32-F24D-47BA-A215-983E193A4A92</id>
    <country_name>Kingdom of Burundi</country_name>
    <country_wikidata>Q1192936</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Gitega</capital>
    <capital_wikidata>Q167551</capital_wikidata>
    <from>1912</from>
    <from_year>1912</from_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>-3.4283</lat>
    <lon>29.925</lon>
  </row>
  <row>
    <id>Q1192936-d2805b7e-42bd-51bc-94c1-b6c75e1eb25f</id>
    <country_name>Kingdom of Burundi</country_name>
    <country_wikidata>Q1192936</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bujumbura</capital>
    <capital_wikidata>Q3854</capital_wikidata>
    <until>1966</until>
    <until_year>1966</until_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>-3.3825</lat>
    <lon>29.3611</lon>
  </row>
  <row>
    <id>Q986881-DACDFD66-C3F5-4EFA-BC27-A747089AD5BE</id>
    <country_name>Kingdom of Butua</country_name>
    <country_wikidata>Q986881</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Khami</capital>
    <capital_wikidata>Q938685</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-20.1433</lat>
    <lon>28.4234</lon>
  </row>
  <row>
    <id>Q2638486-04F2F2A8-E872-49A0-9101-C428D035B03C</id>
    <country_name>Kingdom of Cambodia</country_name>
    <country_wikidata>Q2638486</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Phnom Penh</capital>
    <capital_wikidata>Q1850</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>11.5696</lat>
    <lon>104.921</lon>
  </row>
  <row>
    <id>Q2288441-a4963049-4c3d-77aa-78ad-8b1d72ce5914</id>
    <country_name>Kingdom of Candia</country_name>
    <country_wikidata>Q2288441</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Heraklion</capital>
    <capital_wikidata>Q160544</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>35.3403</lat>
    <lon>25.1344</lon>
  </row>
  <row>
    <id>Q29654286-85736573-48fc-9e81-7bd1-c4f9d58bc9aa</id>
    <country_name>Kingdom of Cappadocia</country_name>
    <country_wikidata>Q29654286</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Caesarea of Cappadocia</capital>
    <capital_wikidata>Q10439273</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>38.7225</lat>
    <lon>35.4875</lon>
  </row>
  <row>
    <id>Q179293-5EAC7556-E7DE-4E72-9259-A9C1445A3902</id>
    <country_name>Kingdom of Castile</country_name>
    <country_wikidata>Q179293</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Burgos</capital>
    <capital_wikidata>Q9580</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>42.3408</lat>
    <lon>-3.6997</lon>
  </row>
  <row>
    <id>Q1062415-EFB0062A-8AD4-4D0D-9F1B-120748B26E7B</id>
    <country_name>Kingdom of Champasak</country_name>
    <country_wikidata>Q1062415</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Champasak</capital>
    <capital_wikidata>Q611444</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>14.8916</lat>
    <lon>105.8782</lon>
  </row>
  <row>
    <id>Q4202331-cbda624a-424f-c4f2-c71c-6682da649011</id>
    <country_name>Kingdom of Chiangmai</country_name>
    <country_wikidata>Q4202331</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Chiang Mai</capital>
    <capital_wikidata>Q52028</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>18.7889</lat>
    <lon>98.9833</lon>
  </row>
  <row>
    <id>Q150056-963DC17C-FF1B-464B-9CAE-DA51E5E1E6BA</id>
    <country_name>Kingdom of Cochin</country_name>
    <country_wikidata>Q150056</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tripunithura</capital>
    <capital_wikidata>Q2554855</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>9.9528</lat>
    <lon>76.3387</lon>
  </row>
  <row>
    <id>Q858841-34E7B02D-A0BF-4B7C-B736-6B72EEC6F1BC</id>
    <country_name>Kingdom of Croatia</country_name>
    <country_wikidata>Q858841</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Šibenik</capital>
    <capital_wikidata>Q3549</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>43.7339</lat>
    <lon>15.8956</lon>
  </row>
  <row>
    <id>Q858841-B703D42F-FF99-43D6-A515-F11DF685BAAB</id>
    <country_name>Kingdom of Croatia</country_name>
    <country_wikidata>Q858841</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Biograd na Moru</capital>
    <capital_wikidata>Q399139</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>43.9333</lat>
    <lon>15.4333</lon>
  </row>
  <row>
    <id>Q858841-CC59A780-5014-420A-83EE-001810FA3BBF</id>
    <country_name>Kingdom of Croatia</country_name>
    <country_wikidata>Q858841</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nin</capital>
    <capital_wikidata>Q396372</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>44.2397</lat>
    <lon>15.1811</lon>
  </row>
  <row>
    <id>Q533558-ff7f83b7-4e0c-3ae4-c9f6-3d0db3a52603</id>
    <country_name>Kingdom of Croatia-Slavonia</country_name>
    <country_wikidata>Q533558</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Zagreb</capital>
    <capital_wikidata>Q1435</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>45.8131</lat>
    <lon>15.9772</lon>
  </row>
  <row>
    <id>Q2314963-d666288c-4ec6-01dc-f6af-23beb8b71a35</id>
    <country_name>Kingdom of Cusco</country_name>
    <country_wikidata>Q2314963</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Cusco</capital>
    <capital_wikidata>Q5582862</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-13.5169</lat>
    <lon>-71.9786</lon>
  </row>
  <row>
    <id>Q213638-E42936A8-7199-46E5-BCA8-EE1D2FEED129</id>
    <country_name>Kingdom of Cyprus</country_name>
    <country_wikidata>Q213638</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nicosia</capital>
    <capital_wikidata>Q3856</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>35.1725</lat>
    <lon>33.365</lon>
  </row>
  <row>
    <id>Q1796198-5bde5ffd-485f-94b0-287c-7630f3c3304d</id>
    <country_name>Kingdom of Córdoba</country_name>
    <country_wikidata>Q1796198</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Córdoba</capital>
    <capital_wikidata>Q5818</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.89</lat>
    <lon>-4.78</lon>
  </row>
  <row>
    <id>Q3136869-ae121f53-42cc-76e7-5dfe-b05d4557ced4</id>
    <country_name>Kingdom of Dambadeniya</country_name>
    <country_wikidata>Q3136869</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Dambadeniya</capital>
    <capital_wikidata>Q1021154</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>7.3667</lat>
    <lon>80.15</lon>
  </row>
  <row>
    <id>Q837136-59A2D18F-787F-44F3-BF08-EDD9F2279CFF</id>
    <country_name>Kingdom of Deheubarth</country_name>
    <country_wikidata>Q837136</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Dinefwr</capital>
    <capital_wikidata>Q2660634</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.883</lat>
    <lon>-4.013</lon>
  </row>
  <row>
    <id>Q506008-A4794001-982F-465E-AD20-FD547FE1B4E0</id>
    <country_name>Kingdom of Deira</country_name>
    <country_wikidata>Q506008</country_wikidata>
    <state_status>historical state</state_status>
    <capital>York</capital>
    <capital_wikidata>Q42462</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>53.95</lat>
    <lon>-1.0833</lon>
  </row>
  <row>
    <id>Q756617-1bf2f5ab-4f34-3ca6-352b-473a76b730d3</id>
    <country_name>Kingdom of Denmark</country_name>
    <country_wikidata>Q756617</country_wikidata>
    <country>DNK</country>
    <state_status>sovereign state</state_status>
    <capital>Copenhagen</capital>
    <capital_wikidata>Q1748</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>55.6761</lat>
    <lon>12.5689</lon>
  </row>
  <row>
    <id>Q904346-7E605F50-5F00-44F2-91A4-A7FA7C9C4EA0</id>
    <country_name>Kingdom of Desmond</country_name>
    <country_wikidata>Q904346</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Killarney</capital>
    <capital_wikidata>Q623382</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.0588</lat>
    <lon>-9.5072</lon>
  </row>
  <row>
    <id>Q436994-6908AF13-0A20-477B-A2CD-8182B85BE5D0</id>
    <country_name>Kingdom of Dublin</country_name>
    <country_wikidata>Q436994</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Dublin</capital>
    <capital_wikidata>Q1761</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>53.3497</lat>
    <lon>-6.2603</lon>
  </row>
  <row>
    <id>Q313136-a496427f-43d1-d975-c6a6-79d0c38f5910</id>
    <country_name>Kingdom of Dumnonia</country_name>
    <country_wikidata>Q313136</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Isca Dumnoniorum</capital>
    <capital_wikidata>Q1226112</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.722</lat>
    <lon>-3.534</lon>
  </row>
  <row>
    <id>Q124943-6123de62-475e-0e80-9306-0ee8ca5d4103</id>
    <country_name>Kingdom of Egypt</country_name>
    <country_wikidata>Q124943</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Cairo</capital>
    <capital_wikidata>Q85</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>30.0444</lat>
    <lon>31.2358</lon>
  </row>
  <row>
    <id>Q179876-E5B92EDC-D9C7-4D72-B6D6-89C455C75B02</id>
    <country_name>Kingdom of England</country_name>
    <country_wikidata>Q179876</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Winchester</capital>
    <capital_wikidata>Q172157</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>51.0633</lat>
    <lon>-1.3086</lon>
  </row>
  <row>
    <id>Q179876-2f07a0f6-4a2c-2ba4-080f-9bdf054113ca</id>
    <country_name>Kingdom of England</country_name>
    <country_wikidata>Q179876</country_wikidata>
    <state_status>historical state</state_status>
    <capital>London</capital>
    <capital_wikidata>Q84</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>51.5072</lat>
    <lon>-0.1275</lon>
  </row>
  <row>
    <id>Q179876-55cdba84-41b5-c3fc-25c1-24ad733b1873</id>
    <country_name>Kingdom of England</country_name>
    <country_wikidata>Q179876</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Westminster</capital>
    <capital_wikidata>Q189960</capital_wikidata>
    <current>false</current>
    <role>government administration</role>
    <capitals_count>4</capitals_count>
    <lat>51.4995</lat>
    <lon>-0.1333</lon>
  </row>
  <row>
    <id>Q179876-91f99b3e-401c-0b5b-c603-bfc1596ad416</id>
    <country_name>Kingdom of England</country_name>
    <country_wikidata>Q179876</country_wikidata>
    <state_status>historical state</state_status>
    <capital>City of London</capital>
    <capital_wikidata>Q23311</capital_wikidata>
    <current>false</current>
    <role>commerce</role>
    <capitals_count>4</capitals_count>
    <lat>51.5156</lat>
    <lon>-0.0931</lon>
  </row>
  <row>
    <id>Q110888-343E5837-C241-40FD-9248-10DF170EEB49</id>
    <country_name>Kingdom of Essex</country_name>
    <country_wikidata>Q110888</country_wikidata>
    <state_status>historical state</state_status>
    <capital>London</capital>
    <capital_wikidata>Q84</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.5072</lat>
    <lon>-0.1275</lon>
  </row>
  <row>
    <id>Q223793-8e28c160-488b-4bf7-25ef-6b88039c6d61</id>
    <country_name>Kingdom of Etruria</country_name>
    <country_wikidata>Q223793</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Florence</capital>
    <capital_wikidata>Q2044</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>43.7714</lat>
    <lon>11.2542</lon>
  </row>
  <row>
    <id>Q2300246-50cbf705-4532-0a17-ed3d-a34f3708b6ea</id>
    <country_name>Kingdom of Fes</country_name>
    <country_wikidata>Q2300246</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Fez</capital>
    <capital_wikidata>Q80985</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>34.0433</lat>
    <lon>-5.0033</lon>
  </row>
  <row>
    <id>Q70972-21cb4725-4951-ce0f-3a03-83d2e8caa4a2</id>
    <country_name>Kingdom of France</country_name>
    <country_wikidata>Q70972</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Versailles</capital>
    <capital_wikidata>Q621</capital_wikidata>
    <from>1682</from>
    <until>1789</until>
    <from_year>1682</from_year>
    <until_year>1789</until_year>
    <years_as_capital>107</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>48.805</lat>
    <lon>2.135</lon>
  </row>
  <row>
    <id>Q70972-3119744b-4fb2-4f63-9eed-0bb735fa3d6a</id>
    <country_name>Kingdom of France</country_name>
    <country_wikidata>Q70972</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Paris</capital>
    <capital_wikidata>Q90</capital_wikidata>
    <from>1789</from>
    <from_year>1789</from_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>48.8567</lat>
    <lon>2.3522</lon>
  </row>
  <row>
    <id>Q70972-1A6A179B-0EAB-438F-B7A7-B297F744BDAA</id>
    <country_name>Kingdom of France</country_name>
    <country_wikidata>Q70972</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Paris</capital>
    <capital_wikidata>Q90</capital_wikidata>
    <until>1682</until>
    <until_year>1682</until_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>48.8567</lat>
    <lon>2.3522</lon>
  </row>
  <row>
    <id>Q867782-C0A75934-0FB9-4580-AF30-007A146439F8</id>
    <country_name>Kingdom of Funan</country_name>
    <country_wikidata>Q867782</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vyadhapura</capital>
    <capital_wikidata>Q3563897</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
  </row>
  <row>
    <id>Q303421-88f4b822-4b1c-d693-6549-4d11434118a1</id>
    <country_name>Kingdom of Galicia</country_name>
    <country_wikidata>Q303421</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Braga</capital>
    <capital_wikidata>Q83247</capital_wikidata>
    <from>0410</from>
    <from_year>410</from_year>
    <current>false</current>
    <capitals_count>7</capitals_count>
    <lat>41.5333</lat>
    <lon>-8.4167</lon>
  </row>
  <row>
    <id>Q303421-63378573-45b2-b1c4-122b-24df987d96b4</id>
    <country_name>Kingdom of Galicia</country_name>
    <country_wikidata>Q303421</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tui</capital>
    <capital_wikidata>Q824122</capital_wikidata>
    <from>0698</from>
    <from_year>698</from_year>
    <current>false</current>
    <capitals_count>7</capitals_count>
    <lat>42.0481</lat>
    <lon>-8.6444</lon>
  </row>
  <row>
    <id>Q303421-8ba93d27-4a62-9582-7419-0986988cf085</id>
    <country_name>Kingdom of Galicia</country_name>
    <country_wikidata>Q303421</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Oviedo</capital>
    <capital_wikidata>Q14317</capital_wikidata>
    <from>0791</from>
    <from_year>791</from_year>
    <current>false</current>
    <capitals_count>7</capitals_count>
    <lat>43.3625</lat>
    <lon>-5.8503</lon>
  </row>
  <row>
    <id>Q303421-27b4ed22-4e1e-35b3-9c61-d458d2f6f0c0</id>
    <country_name>Kingdom of Galicia</country_name>
    <country_wikidata>Q303421</country_wikidata>
    <state_status>historical state</state_status>
    <capital>León</capital>
    <capital_wikidata>Q15699</capital_wikidata>
    <from>0910</from>
    <until>1111</until>
    <from_year>910</from_year>
    <until_year>1111</until_year>
    <years_as_capital>201</years_as_capital>
    <current>false</current>
    <capitals_count>7</capitals_count>
    <lat>42.5989</lat>
    <lon>-5.5669</lon>
  </row>
  <row>
    <id>Q303421-3A0E359D-8F42-434E-8288-52465D2B54EF</id>
    <country_name>Kingdom of Galicia</country_name>
    <country_wikidata>Q303421</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Santiago de Compostela</capital>
    <capital_wikidata>Q14314</capital_wikidata>
    <from>1111</from>
    <from_year>1111</from_year>
    <current>false</current>
    <capitals_count>7</capitals_count>
    <lat>42.8833</lat>
    <lon>-8.5333</lon>
  </row>
  <row>
    <id>Q303421-25570d8f-430f-fd0a-bd1a-59c712f989f0</id>
    <country_name>Kingdom of Galicia</country_name>
    <country_wikidata>Q303421</country_wikidata>
    <state_status>historical state</state_status>
    <capital>A Coruña</capital>
    <capital_wikidata>Q8757</capital_wikidata>
    <from>1563</from>
    <until>1833</until>
    <from_year>1563</from_year>
    <until_year>1833</until_year>
    <years_as_capital>270</years_as_capital>
    <current>false</current>
    <capitals_count>7</capitals_count>
    <lat>43.3711</lat>
    <lon>-8.3961</lon>
  </row>
  <row>
    <id>Q303421-9cd930d9-4989-39c1-7d41-93f175f34ccb</id>
    <country_name>Kingdom of Galicia</country_name>
    <country_wikidata>Q303421</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lugo</capital>
    <capital_wikidata>Q11125</capital_wikidata>
    <current>false</current>
    <capitals_count>7</capitals_count>
    <lat>43.0117</lat>
    <lon>-7.5572</lon>
  </row>
  <row>
    <id>Q2396442-41CEB9D2-C0F8-47D6-ABD0-9F58A560DCB1</id>
    <country_name>Kingdom of Galicia and Lodomeria</country_name>
    <country_wikidata>Q2396442</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lviv</capital>
    <capital_wikidata>Q36036</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>49.842</lat>
    <lon>24.0316</lon>
  </row>
  <row>
    <id>Q154667-1d1e311e-4200-6425-24ef-a1d35e5173e6</id>
    <country_name>Kingdom of Georgia</country_name>
    <country_wikidata>Q154667</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tbilisi</capital>
    <capital_wikidata>Q994</capital_wikidata>
    <from>1122</from>
    <from_year>1122</from_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>41.7225</lat>
    <lon>44.7925</lon>
  </row>
  <row>
    <id>Q154667-9202a05b-4e11-8907-4187-39b4d55ba178</id>
    <country_name>Kingdom of Georgia</country_name>
    <country_wikidata>Q154667</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kutaisi</capital>
    <capital_wikidata>Q172415</capital_wikidata>
    <until>1122</until>
    <until_year>1122</until_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>42.2717</lat>
    <lon>42.7056</lon>
  </row>
  <row>
    <id>Q175211-E939D897-D180-4390-8485-AA67D7B71607</id>
    <country_name>Kingdom of Germany</country_name>
    <country_wikidata>Q175211</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Regensburg</capital>
    <capital_wikidata>Q2978</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>49.0167</lat>
    <lon>12.0833</lon>
  </row>
  <row>
    <id>Q3773496-fa750c6b-4ad6-8f72-45fc-a4a5ef1736ee</id>
    <country_name>Kingdom of Gibraltar</country_name>
    <country_wikidata>Q3773496</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Gibraltar</capital>
    <capital_wikidata>Q1410</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>36.14</lat>
    <lon>-5.35</lon>
  </row>
  <row>
    <id>Q2253783-39091AE6-DA36-47A6-AA2A-C39F40FC7707</id>
    <country_name>Kingdom of Glywysing</country_name>
    <country_wikidata>Q2253783</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Cardiff</capital>
    <capital_wikidata>Q10690</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.4817</lat>
    <lon>-3.1792</lon>
  </row>
  <row>
    <id>Q501684-7D68BFF0-0E72-45CC-A4F4-234CECF4595A</id>
    <country_name>Kingdom of Gomma</country_name>
    <country_wikidata>Q501684</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Agaro</capital>
    <capital_wikidata>Q1110037</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>7.85</lat>
    <lon>36.5833</lon>
  </row>
  <row>
    <id>Q1796202-C0F2EC03-2CD3-4035-9D59-FCDDC6F00F51</id>
    <country_name>Kingdom of Granada</country_name>
    <country_wikidata>Q1796202</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Granada city</capital>
    <capital_wikidata>Q31916723</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.1764</lat>
    <lon>-3.6</lon>
  </row>
  <row>
    <id>Q161885-80992579-9CE7-48D5-8807-07D87D7D989E</id>
    <country_name>Kingdom of Great Britain</country_name>
    <country_wikidata>Q161885</country_wikidata>
    <state_status>historical state</state_status>
    <capital>London</capital>
    <capital_wikidata>Q84</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.5072</lat>
    <lon>-0.1275</lon>
  </row>
  <row>
    <id>Q209065-70a6b74f-4894-d689-ce83-c92df19272c3</id>
    <country_name>Kingdom of Greece</country_name>
    <country_wikidata>Q209065</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nafplio</capital>
    <capital_wikidata>Q202337</capital_wikidata>
    <from>1832</from>
    <until>1834</until>
    <from_year>1832</from_year>
    <until_year>1834</until_year>
    <years_as_capital>2</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>37.5658</lat>
    <lon>22.8</lon>
  </row>
  <row>
    <id>Q209065-2b39315b-4266-9d09-fb5b-e64636c94475</id>
    <country_name>Kingdom of Greece</country_name>
    <country_wikidata>Q209065</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Athens</capital>
    <capital_wikidata>Q1524</capital_wikidata>
    <from>1834</from>
    <from_year>1834</from_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>37.9842</lat>
    <lon>23.7281</lon>
  </row>
  <row>
    <id>Q1472105-9472aaa9-4cd8-1a85-3935-ea21b20137ed</id>
    <country_name>Kingdom of Haiti</country_name>
    <country_wikidata>Q1472105</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Cap-Haïtien</capital>
    <capital_wikidata>Q216835</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>19.75</lat>
    <lon>-72.2</lon>
  </row>
  <row>
    <id>Q164079-5B5B9953-899E-44AD-BD42-9079AF3D249D</id>
    <country_name>Kingdom of Hanover</country_name>
    <country_wikidata>Q164079</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Hanover</capital>
    <capital_wikidata>Q1715</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.3744</lat>
    <lon>9.7386</lon>
  </row>
  <row>
    <id>Q156418-f4d2d552-4ffe-c7b4-0687-cef9703dd092</id>
    <country_name>Kingdom of Hawaiʻi</country_name>
    <country_wikidata>Q156418</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Waikiki</capital>
    <capital_wikidata>Q254861</capital_wikidata>
    <from>1795</from>
    <until>1796</until>
    <from_year>1795</from_year>
    <until_year>1796</until_year>
    <years_as_capital>1</years_as_capital>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>21.2767</lat>
    <lon>-157.8286</lon>
  </row>
  <row>
    <id>Q156418-d2604108-468f-870a-b5de-7e5bee647f53</id>
    <country_name>Kingdom of Hawaiʻi</country_name>
    <country_wikidata>Q156418</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Hilo</capital>
    <capital_wikidata>Q216258</capital_wikidata>
    <from>1796</from>
    <until>1802</until>
    <from_year>1796</from_year>
    <until_year>1802</until_year>
    <years_as_capital>6</years_as_capital>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>19.7056</lat>
    <lon>-155.0858</lon>
  </row>
  <row>
    <id>Q156418-b20e0cb0-444d-d40d-66d3-582d9fa7c9ae</id>
    <country_name>Kingdom of Hawaiʻi</country_name>
    <country_wikidata>Q156418</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lahaina</capital>
    <capital_wikidata>Q1012971</capital_wikidata>
    <from>1802</from>
    <until>1812</until>
    <from_year>1802</from_year>
    <until_year>1812</until_year>
    <years_as_capital>10</years_as_capital>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>20.8861</lat>
    <lon>-156.6747</lon>
  </row>
  <row>
    <id>Q156418-3003e5f9-44c9-4f60-7923-4cad1911ad5c</id>
    <country_name>Kingdom of Hawaiʻi</country_name>
    <country_wikidata>Q156418</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kailua-Kona</capital>
    <capital_wikidata>Q627970</capital_wikidata>
    <from>1812</from>
    <until>1820</until>
    <from_year>1812</from_year>
    <until_year>1820</until_year>
    <years_as_capital>8</years_as_capital>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>19.65</lat>
    <lon>-155.9942</lon>
  </row>
  <row>
    <id>Q156418-7fa1e748-4a41-412a-e2e3-13362ce39c1e</id>
    <country_name>Kingdom of Hawaiʻi</country_name>
    <country_wikidata>Q156418</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lahaina</capital>
    <capital_wikidata>Q1012971</capital_wikidata>
    <from>1820</from>
    <until>1845</until>
    <from_year>1820</from_year>
    <until_year>1845</until_year>
    <years_as_capital>25</years_as_capital>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>20.8861</lat>
    <lon>-156.6747</lon>
  </row>
  <row>
    <id>Q156418-f9d7ceeb-4d0a-f0ea-95e1-6007a4c1e837</id>
    <country_name>Kingdom of Hawaiʻi</country_name>
    <country_wikidata>Q156418</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Honolulu</capital>
    <capital_wikidata>Q18094</capital_wikidata>
    <from>1845</from>
    <until>1893</until>
    <from_year>1845</from_year>
    <until_year>1893</until_year>
    <years_as_capital>48</years_as_capital>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>21.3047</lat>
    <lon>-157.8572</lon>
  </row>
  <row>
    <id>Q956357-23319dea-43fa-7fff-2a45-ad9c82f4375c</id>
    <country_name>Kingdom of Hejaz</country_name>
    <country_wikidata>Q956357</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mecca</capital>
    <capital_wikidata>Q5806</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>21.4225</lat>
    <lon>39.8261</lon>
  </row>
  <row>
    <id>Q187461-07BBC52E-F212-4EA5-92EA-14B7B801ADBB</id>
    <country_name>Kingdom of Hereti</country_name>
    <country_wikidata>Q187461</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Shaki</capital>
    <capital_wikidata>Q234783</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.1919</lat>
    <lon>47.1706</lon>
  </row>
  <row>
    <id>Q212278-996BC3CB-C180-441C-AD17-3DE482D7386F</id>
    <country_name>Kingdom of Holland</country_name>
    <country_wikidata>Q212278</country_wikidata>
    <state_status>historical state</state_status>
    <capital>The Hague</capital>
    <capital_wikidata>Q36600</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.08</lat>
    <lon>4.31</lon>
  </row>
  <row>
    <id>Q171150-2e1a9d04-4831-a0ed-483f-63b7cedda8a3</id>
    <country_name>Kingdom of Hungary</country_name>
    <country_wikidata>Q171150</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Székesfehérvár</capital>
    <capital_wikidata>Q130212</capital_wikidata>
    <from>1000</from>
    <until>1543</until>
    <from_year>1000</from_year>
    <until_year>1543</until_year>
    <years_as_capital>543</years_as_capital>
    <current>false</current>
    <capitals_count>7</capitals_count>
    <lat>47.191</lat>
    <lon>18.4108</lon>
  </row>
  <row>
    <id>Q171150-6AAB8B47-EE9E-4926-9330-C98D5F26092A</id>
    <country_name>Kingdom of Hungary</country_name>
    <country_wikidata>Q171150</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Esztergom</capital>
    <capital_wikidata>Q171353</capital_wikidata>
    <from>1001</from>
    <until>1256</until>
    <from_year>1001</from_year>
    <until_year>1256</until_year>
    <years_as_capital>255</years_as_capital>
    <current>false</current>
    <capitals_count>7</capitals_count>
    <lat>47.7856</lat>
    <lon>18.7403</lon>
  </row>
  <row>
    <id>Q16056854-938d6126-408b-10ef-ac0e-274690ce7035</id>
    <country_name>Kingdom of Hungary</country_name>
    <country_wikidata>Q16056854</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Buda</capital>
    <capital_wikidata>Q193478</capital_wikidata>
    <from>1301</from>
    <until>1315</until>
    <from_year>1301</from_year>
    <until_year>1315</until_year>
    <years_as_capital>14</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>47.4667</lat>
    <lon>19.05</lon>
  </row>
  <row>
    <id>Q171150-4e9796f0-497c-23df-4612-064ce0ea43ea</id>
    <country_name>Kingdom of Hungary</country_name>
    <country_wikidata>Q171150</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Timișoara</capital>
    <capital_wikidata>Q83404</capital_wikidata>
    <from>1315</from>
    <until>1323</until>
    <from_year>1315</from_year>
    <until_year>1323</until_year>
    <years_as_capital>8</years_as_capital>
    <current>false</current>
    <capitals_count>7</capitals_count>
    <lat>45.7597</lat>
    <lon>21.23</lon>
  </row>
  <row>
    <id>Q16056854-64f557db-49c0-9b1c-ae16-15cb2c6506d2</id>
    <country_name>Kingdom of Hungary</country_name>
    <country_wikidata>Q16056854</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Timișoara</capital>
    <capital_wikidata>Q83404</capital_wikidata>
    <from>1315</from>
    <until>1323</until>
    <from_year>1315</from_year>
    <until_year>1323</until_year>
    <years_as_capital>8</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>45.7597</lat>
    <lon>21.23</lon>
  </row>
  <row>
    <id>Q171150-9cb21557-41b1-86d0-8e93-f24c716a515f</id>
    <country_name>Kingdom of Hungary</country_name>
    <country_wikidata>Q171150</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Visegrád</capital>
    <capital_wikidata>Q548097</capital_wikidata>
    <from>1323</from>
    <until>1408</until>
    <from_year>1323</from_year>
    <until_year>1408</until_year>
    <years_as_capital>85</years_as_capital>
    <current>false</current>
    <capitals_count>7</capitals_count>
    <lat>47.7858</lat>
    <lon>18.9702</lon>
  </row>
  <row>
    <id>Q16056854-f0660bed-4fe2-fcc2-96e6-275a49259ee0</id>
    <country_name>Kingdom of Hungary</country_name>
    <country_wikidata>Q16056854</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Visegrád</capital>
    <capital_wikidata>Q548097</capital_wikidata>
    <from>1323</from>
    <until>1408</until>
    <from_year>1323</from_year>
    <until_year>1408</until_year>
    <years_as_capital>85</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>47.7858</lat>
    <lon>18.9702</lon>
  </row>
  <row>
    <id>Q16056854-bf6ee83a-42d2-0fc0-6c4a-bf68093993c3</id>
    <country_name>Kingdom of Hungary</country_name>
    <country_wikidata>Q16056854</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Buda</capital>
    <capital_wikidata>Q193478</capital_wikidata>
    <from>1408</from>
    <until>1485</until>
    <from_year>1408</from_year>
    <until_year>1485</until_year>
    <years_as_capital>77</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>47.4667</lat>
    <lon>19.05</lon>
  </row>
  <row>
    <id>Q16056854-129b3000-43d1-9c78-f58a-1c0c598e32a1</id>
    <country_name>Kingdom of Hungary</country_name>
    <country_wikidata>Q16056854</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vienna</capital>
    <capital_wikidata>Q1741</capital_wikidata>
    <from>1485</from>
    <until>1490</until>
    <from_year>1485</from_year>
    <until_year>1490</until_year>
    <years_as_capital>5</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>48.2083</lat>
    <lon>16.3725</lon>
  </row>
  <row>
    <id>Q16056854-bac5329b-4539-2502-f2e1-56e90ecd8a18</id>
    <country_name>Kingdom of Hungary</country_name>
    <country_wikidata>Q16056854</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Buda</capital>
    <capital_wikidata>Q193478</capital_wikidata>
    <from>1490</from>
    <until>1526</until>
    <from_year>1490</from_year>
    <until_year>1526</until_year>
    <years_as_capital>36</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>47.4667</lat>
    <lon>19.05</lon>
  </row>
  <row>
    <id>Q171150-7056454e-494c-fbd5-1224-e0bb0eeb5452</id>
    <country_name>Kingdom of Hungary</country_name>
    <country_wikidata>Q171150</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bratislava</capital>
    <capital_wikidata>Q1780</capital_wikidata>
    <from>1526</from>
    <until>1848</until>
    <from_year>1526</from_year>
    <until_year>1848</until_year>
    <years_as_capital>322</years_as_capital>
    <current>false</current>
    <capitals_count>7</capitals_count>
    <lat>48.1517</lat>
    <lon>17.1093</lon>
  </row>
  <row>
    <id>Q253094-e4d64c7d-47a0-be59-997c-d0c622d238d5</id>
    <country_name>Kingdom of Hungary</country_name>
    <country_wikidata>Q253094</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Buda</capital>
    <capital_wikidata>Q193478</capital_wikidata>
    <from>1526</from>
    <until>1536</until>
    <from_year>1526</from_year>
    <until_year>1536</until_year>
    <years_as_capital>10</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>47.4667</lat>
    <lon>19.05</lon>
  </row>
  <row>
    <id>Q253094-6dba7eb6-47b5-844c-bf13-111ad7d891a6</id>
    <country_name>Kingdom of Hungary</country_name>
    <country_wikidata>Q253094</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bratislava</capital>
    <capital_wikidata>Q1780</capital_wikidata>
    <from>1536</from>
    <until>1784</until>
    <from_year>1536</from_year>
    <until_year>1784</until_year>
    <years_as_capital>248</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>48.1517</lat>
    <lon>17.1093</lon>
  </row>
  <row>
    <id>Q253094-1F1CD022-7547-43CF-B54A-5A8DC5684805</id>
    <country_name>Kingdom of Hungary</country_name>
    <country_wikidata>Q253094</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Buda</capital>
    <capital_wikidata>Q193478</capital_wikidata>
    <from>1784</from>
    <until>1867</until>
    <from_year>1784</from_year>
    <until_year>1867</until_year>
    <years_as_capital>83</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>47.4667</lat>
    <lon>19.05</lon>
  </row>
  <row>
    <id>Q25395037-ca36dd35-4cd0-0f5a-1b3a-a28be242a637</id>
    <country_name>Kingdom of Hungary</country_name>
    <country_wikidata>Q25395037</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Buda</capital>
    <capital_wikidata>Q193478</capital_wikidata>
    <from>1867-07-28</from>
    <until>1873-11-17</until>
    <from_year>1867</from_year>
    <until_year>1873</until_year>
    <years_as_capital>6</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>47.4667</lat>
    <lon>19.05</lon>
  </row>
  <row>
    <id>Q171150-8EB21B46-C3A4-4E05-B44F-85793440B67A</id>
    <country_name>Kingdom of Hungary</country_name>
    <country_wikidata>Q171150</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Budapest</capital>
    <capital_wikidata>Q1781</capital_wikidata>
    <from>1873</from>
    <from_year>1873</from_year>
    <current>false</current>
    <capitals_count>7</capitals_count>
    <lat>47.4983</lat>
    <lon>19.0408</lon>
  </row>
  <row>
    <id>Q25395037-21f1033a-4802-3b95-2f7b-8cec613925c8</id>
    <country_name>Kingdom of Hungary</country_name>
    <country_wikidata>Q25395037</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Budapest</capital>
    <capital_wikidata>Q1781</capital_wikidata>
    <from>1873-11-17</from>
    <until>1918-11-16</until>
    <from_year>1873</from_year>
    <until_year>1918</until_year>
    <years_as_capital>45</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>47.4983</lat>
    <lon>19.0408</lon>
  </row>
  <row>
    <id>Q171150-fa506780-4b7d-f779-36ff-0b25519d4610</id>
    <country_name>Kingdom of Hungary</country_name>
    <country_wikidata>Q171150</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Buda</capital>
    <capital_wikidata>Q193478</capital_wikidata>
    <until>1526</until>
    <until_year>1526</until_year>
    <current>false</current>
    <capitals_count>7</capitals_count>
    <lat>47.4667</lat>
    <lon>19.05</lon>
  </row>
  <row>
    <id>Q600018-2315b453-4dca-2269-e17e-982237e4dba4</id>
    <country_name>Kingdom of Hungary</country_name>
    <country_wikidata>Q600018</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Budapest</capital>
    <capital_wikidata>Q1781</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>47.4983</lat>
    <lon>19.0408</lon>
  </row>
  <row>
    <id>Q1470101-DCD2722B-3A98-4B1C-81C7-C1E5D6CC6EC8</id>
    <country_name>Kingdom of Hungary (1000–1301)</country_name>
    <country_wikidata>Q1470101</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Esztergom</capital>
    <capital_wikidata>Q171353</capital_wikidata>
    <from>1000</from>
    <until>1256</until>
    <from_year>1000</from_year>
    <until_year>1256</until_year>
    <years_as_capital>256</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>47.7856</lat>
    <lon>18.7403</lon>
  </row>
  <row>
    <id>Q1470101-C2C5F173-0A57-462E-A204-D50BFD71EB4A</id>
    <country_name>Kingdom of Hungary (1000–1301)</country_name>
    <country_wikidata>Q1470101</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Buda</capital>
    <capital_wikidata>Q193478</capital_wikidata>
    <from>1256</from>
    <until>1301</until>
    <from_year>1256</from_year>
    <until_year>1301</until_year>
    <years_as_capital>45</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>47.4667</lat>
    <lon>19.05</lon>
  </row>
  <row>
    <id>Q19083-80b8e70c-44c9-e747-0216-1e51c7fd93b6</id>
    <country_name>Kingdom of Iberia</country_name>
    <country_wikidata>Q19083</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mtskheta</capital>
    <capital_wikidata>Q180810</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>41.8431</lat>
    <lon>44.7194</lon>
  </row>
  <row>
    <id>Q19083-D163B113-96C6-4EF4-A09E-0391B5812FF7</id>
    <country_name>Kingdom of Iberia</country_name>
    <country_wikidata>Q19083</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Armaztsikhe</capital>
    <capital_wikidata>Q1280770</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>41.8376</lat>
    <lon>44.7217</lon>
  </row>
  <row>
    <id>Q19083-E0EDC424-BEB6-43B0-95B2-6B7F344884E0</id>
    <country_name>Kingdom of Iberia</country_name>
    <country_wikidata>Q19083</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tbilisi</capital>
    <capital_wikidata>Q994</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>41.7225</lat>
    <lon>44.7925</lon>
  </row>
  <row>
    <id>Q62567-a8caac86-418d-63cd-f8f4-cf8d3b06dbda</id>
    <country_name>Kingdom of Iceland</country_name>
    <country_wikidata>Q62567</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Reykjavík</capital>
    <capital_wikidata>Q1764</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>64.1475</lat>
    <lon>-21.935</lon>
  </row>
  <row>
    <id>Q1117051-ABA958DF-F470-4AEF-9823-506AB8D394E2</id>
    <country_name>Kingdom of Illyria</country_name>
    <country_wikidata>Q1117051</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ljubljana</capital>
    <capital_wikidata>Q437</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>46.0514</lat>
    <lon>14.5061</lon>
  </row>
  <row>
    <id>Q1069959-FA9C9AED-0655-4219-8A81-2EE936307F54</id>
    <country_name>Kingdom of Imereti</country_name>
    <country_wikidata>Q1069959</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kutaisi</capital>
    <capital_wikidata>Q172415</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>42.2717</lat>
    <lon>42.7056</lon>
  </row>
  <row>
    <id>Q149805-463d0aaf-4d2c-b6f6-3c4e-673016529d66</id>
    <country_name>Kingdom of Iraq</country_name>
    <country_wikidata>Q149805</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Baghdad</capital>
    <capital_wikidata>Q1530</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>33.3153</lat>
    <lon>44.3661</lon>
  </row>
  <row>
    <id>Q215530-F209BEE8-612E-42E6-8AC6-C1D28FC53FC6</id>
    <country_name>Kingdom of Ireland</country_name>
    <country_wikidata>Q215530</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Dublin</capital>
    <capital_wikidata>Q1761</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>53.3497</lat>
    <lon>-6.2603</lon>
  </row>
  <row>
    <id>Q230407-54EC3A6F-C045-4D6F-89FB-ABB1856B7192</id>
    <country_name>Kingdom of Israel</country_name>
    <country_wikidata>Q230407</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Shechem</capital>
    <capital_wikidata>Q7951237</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>32.2136</lat>
    <lon>35.2819</lon>
  </row>
  <row>
    <id>Q230407-7d95da6b-4c2a-d8d2-bf42-de6cafe21b5c</id>
    <country_name>Kingdom of Israel</country_name>
    <country_wikidata>Q230407</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Samaria</capital>
    <capital_wikidata>Q1757438</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>32.2761</lat>
    <lon>35.195</lon>
  </row>
  <row>
    <id>Q230407-d9513723-4441-d312-d574-d832ff2cbab4</id>
    <country_name>Kingdom of Israel</country_name>
    <country_wikidata>Q230407</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tirzah</capital>
    <capital_wikidata>Q2002121</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>32.2874</lat>
    <lon>35.3378</lon>
  </row>
  <row>
    <id>Q172579-008ee77a-46b8-d023-7c46-93eafa821c8e</id>
    <country_name>Kingdom of Italy</country_name>
    <country_wikidata>Q172579</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Turin</capital>
    <capital_wikidata>Q495</capital_wikidata>
    <from>1861-03-17</from>
    <until>1865</until>
    <from_year>1861</from_year>
    <until_year>1865</until_year>
    <years_as_capital>4</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>45.0792</lat>
    <lon>7.6761</lon>
  </row>
  <row>
    <id>Q172579-bb92ee6f-4c5a-6d94-e8b2-67ad10618eaa</id>
    <country_name>Kingdom of Italy</country_name>
    <country_wikidata>Q172579</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Florence</capital>
    <capital_wikidata>Q2044</capital_wikidata>
    <from>1865</from>
    <until>1871-01-25</until>
    <from_year>1865</from_year>
    <until_year>1871</until_year>
    <years_as_capital>6</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>43.7714</lat>
    <lon>11.2542</lon>
  </row>
  <row>
    <id>Q172579-60e20660-4ca1-020b-47e0-1d251ab94505</id>
    <country_name>Kingdom of Italy</country_name>
    <country_wikidata>Q172579</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Rome</capital>
    <capital_wikidata>Q220</capital_wikidata>
    <from>1871-01-26</from>
    <until>1946-06-02</until>
    <from_year>1871</from_year>
    <until_year>1946</until_year>
    <years_as_capital>75</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>41.8931</lat>
    <lon>12.4828</lon>
  </row>
  <row>
    <id>Q223936-22932F51-1901-4590-9A3B-A18E491F4341</id>
    <country_name>Kingdom of Italy</country_name>
    <country_wikidata>Q223936</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Milan</capital>
    <capital_wikidata>Q490</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>45.4669</lat>
    <lon>9.19</lon>
  </row>
  <row>
    <id>Q5343710-3B45881E-17CF-4D20-BC13-A3C4C6124D08</id>
    <country_name>Kingdom of Italy</country_name>
    <country_wikidata>Q5343710</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Pavia</capital>
    <capital_wikidata>Q6259</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>45.1853</lat>
    <lon>9.155</lon>
  </row>
  <row>
    <id>Q838931-5BBF437A-2744-492A-838E-BFB3C217F82D</id>
    <country_name>Kingdom of Italy</country_name>
    <country_wikidata>Q838931</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Pavia</capital>
    <capital_wikidata>Q6259</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>45.1853</lat>
    <lon>9.155</lon>
  </row>
  <row>
    <id>Q3755547-b39fe4a0-42e2-90f2-80af-4d122d230c3e</id>
    <country_name>Kingdom of Italy (476–493)</country_name>
    <country_wikidata>Q3755547</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ravenna</capital>
    <capital_wikidata>Q13364</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>44.4161</lat>
    <lon>12.2017</lon>
  </row>
  <row>
    <id>Q1678784-1935a849-415f-c550-0c6e-dd78657a173f</id>
    <country_name>Kingdom of Jaisalmer</country_name>
    <country_wikidata>Q1678784</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Jaisalmer</capital>
    <capital_wikidata>Q242898</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>26.9167</lat>
    <lon>70.9167</lon>
  </row>
  <row>
    <id>Q1617495-53ddb4a1-4a2d-6c07-8f6f-4eee0e6d3555</id>
    <country_name>Kingdom of Jaén</country_name>
    <country_wikidata>Q1617495</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Jaén</capital>
    <capital_wikidata>Q24013256</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.7692</lat>
    <lon>-3.7903</lon>
  </row>
  <row>
    <id>Q55502-18BFA75C-B3F9-4021-88F5-C69706C6BA7E</id>
    <country_name>Kingdom of Jerusalem</country_name>
    <country_wikidata>Q55502</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Jerusalem</capital>
    <capital_wikidata>Q1218</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>31.7767</lat>
    <lon>35.2342</lon>
  </row>
  <row>
    <id>Q16850784-01b44c33-4708-8464-24ce-76e168702bc8</id>
    <country_name>Kingdom of Jolof</country_name>
    <country_wikidata>Q16850784</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Linguère</capital>
    <capital_wikidata>Q3233968</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>15.3958</lat>
    <lon>-15.1108</lon>
  </row>
  <row>
    <id>Q48685-A9F3CDD1-1D66-4ECD-B9F9-FF048E58E73E</id>
    <country_name>Kingdom of Judah</country_name>
    <country_wikidata>Q48685</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Jerusalem</capital>
    <capital_wikidata>Q1218</capital_wikidata>
    <from>-928</from>
    <until>-586</until>
    <from_year>-928</from_year>
    <until_year>-586</until_year>
    <years_as_capital>342</years_as_capital>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>31.7767</lat>
    <lon>35.2342</lon>
  </row>
  <row>
    <id>Q1462877-F16E7B20-8637-4638-8A30-9641A9344F9F</id>
    <country_name>Kingdom of Kaffa</country_name>
    <country_wikidata>Q1462877</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Anderaccha</capital>
    <capital_wikidata>Q2846091</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>7.2</lat>
    <lon>36.2667</lon>
  </row>
  <row>
    <id>Q1209822-E551CB84-F026-440E-84B0-9CDA5B5CC0B8</id>
    <country_name>Kingdom of Kakheti</country_name>
    <country_wikidata>Q1209822</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Gremi</capital>
    <capital_wikidata>Q1783374</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>42.0136</lat>
    <lon>45.6703</lon>
  </row>
  <row>
    <id>Q1530762-8cda6334-40cc-1dc6-5bbb-8c188e848ccc</id>
    <country_name>Kingdom of Kandy</country_name>
    <country_wikidata>Q1530762</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kandy</capital>
    <capital_wikidata>Q203197</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>7.2931</lat>
    <lon>80.635</lon>
  </row>
  <row>
    <id>Q6412613-7f9fe0a4-43d2-f88a-b275-69761020e4f9</id>
    <country_name>Kingdom of Kano</country_name>
    <country_wikidata>Q6412613</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Dala</capital>
    <capital_wikidata>Q5210142</capital_wikidata>
    <from>0999</from>
    <from_year>999</from_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>12.0167</lat>
    <lon>8.4833</lon>
  </row>
  <row>
    <id>Q6412613-9e8fab00-4c6c-14a8-fab3-933bec60a16d</id>
    <country_name>Kingdom of Kano</country_name>
    <country_wikidata>Q6412613</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kano</capital>
    <capital_wikidata>Q182984</capital_wikidata>
    <until>1200</until>
    <until_year>1200</until_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>12</lat>
    <lon>8.5167</lon>
  </row>
  <row>
    <id>Q195972-c1638d6d-48f6-1729-09c4-9ddeef055739</id>
    <country_name>Kingdom of Kartli</country_name>
    <country_wikidata>Q195972</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tbilisi</capital>
    <capital_wikidata>Q994</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.7225</lat>
    <lon>44.7925</lon>
  </row>
  <row>
    <id>Q282475-A099093F-18ED-4738-A295-72A74DB4986F</id>
    <country_name>Kingdom of Kartli-Kakheti</country_name>
    <country_wikidata>Q282475</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tbilisi</capital>
    <capital_wikidata>Q994</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>41.7225</lat>
    <lon>44.7925</lon>
  </row>
  <row>
    <id>Q282475-ca974c4c-4c28-1971-8150-0ca87e64fdef</id>
    <country_name>Kingdom of Kartli-Kakheti</country_name>
    <country_wikidata>Q282475</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Telavi</capital>
    <capital_wikidata>Q209009</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>41.9169</lat>
    <lon>45.4764</lon>
  </row>
  <row>
    <id>Q328818-9246ab08-44ad-6e7c-6bb3-30bf6886c7f1</id>
    <country_name>Kingdom of Kent</country_name>
    <country_wikidata>Q328818</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Canterbury</capital>
    <capital_wikidata>Q29303</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.2783</lat>
    <lon>1.0775</lon>
  </row>
  <row>
    <id>Q914898-1828CAA2-4B3C-440E-A5F8-7E1AD4E1140F</id>
    <country_name>Kingdom of Khotan</country_name>
    <country_wikidata>Q914898</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Hotan</capital>
    <capital_wikidata>Q235389</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.1012</lat>
    <lon>79.9327</lon>
  </row>
  <row>
    <id>Q796583-3B241E13-8169-44BD-B8E4-FD83B0162B39</id>
    <country_name>Kingdom of Kongo</country_name>
    <country_wikidata>Q796583</country_wikidata>
    <state_status>historical state</state_status>
    <capital>M'banza-Kongo</capital>
    <capital_wikidata>Q500189</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-6.2667</lat>
    <lon>14.25</lon>
  </row>
  <row>
    <id>Q1589163-a38562be-492e-e3a6-bbe7-8cf63ec7be13</id>
    <country_name>Kingdom of Kotte</country_name>
    <country_wikidata>Q1589163</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sri Jayawardenepura Kotte</capital>
    <capital_wikidata>Q41963</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>6.9</lat>
    <lon>79.9164</lon>
  </row>
  <row>
    <id>Q149832-98abe931-47d6-f973-e03b-635eaeae284f</id>
    <country_name>Kingdom of Kurdistan</country_name>
    <country_wikidata>Q149832</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sulaymaniyah</capital>
    <capital_wikidata>Q191204</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>35.55</lat>
    <lon>45.4333</lon>
  </row>
  <row>
    <id>Q241790-8749BC0D-B1B5-4097-992A-B9FBF7587EF8</id>
    <country_name>Kingdom of Kush</country_name>
    <country_wikidata>Q241790</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Napata</capital>
    <capital_wikidata>Q743282</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>18.5333</lat>
    <lon>31.8167</lon>
  </row>
  <row>
    <id>Q241790-fb88b52c-4ea7-4cc4-5222-d267118d3f98</id>
    <country_name>Kingdom of Kush</country_name>
    <country_wikidata>Q241790</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Meroë</capital>
    <capital_wikidata>Q5780</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>16.9351</lat>
    <lon>33.7507</lon>
  </row>
  <row>
    <id>Q870055-8dd408ae-4a1a-7946-cdae-3984a05d0c71</id>
    <country_name>Kingdom of Laos</country_name>
    <country_wikidata>Q870055</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Luang Prabang</capital>
    <capital_wikidata>Q190165</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>19.89</lat>
    <lon>102.1347</lon>
  </row>
  <row>
    <id>Q870055-bfa8b120-4833-9e8f-c12a-0d98e3dcebb6</id>
    <country_name>Kingdom of Laos</country_name>
    <country_wikidata>Q870055</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vientiane</capital>
    <capital_wikidata>Q9326</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>17.98</lat>
    <lon>102.63</lon>
  </row>
  <row>
    <id>Q16188096-b3e49011-46dd-48f4-622e-983d01fe64d5</id>
    <country_name>Kingdom of Larantuka</country_name>
    <country_wikidata>Q16188096</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Larantuka</capital>
    <capital_wikidata>Q12493988</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-8.3417</lat>
    <lon>122.9758</lon>
  </row>
  <row>
    <id>Q175276-74232909-F532-4FBB-BCA4-911F7D3BD628</id>
    <country_name>Kingdom of Leon</country_name>
    <country_wikidata>Q175276</country_wikidata>
    <state_status>historical state</state_status>
    <capital>León</capital>
    <capital_wikidata>Q15699</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>42.5989</lat>
    <lon>-5.5669</lon>
  </row>
  <row>
    <id>Q31454-1a852c9e-4680-ec63-0a4d-f55571dd8c29</id>
    <country_name>Kingdom of Libya</country_name>
    <country_wikidata>Q31454</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tripoli</capital>
    <capital_wikidata>Q3579</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>32.8875</lat>
    <lon>13.1875</lon>
  </row>
  <row>
    <id>Q31454-4e8f9829-42a1-8ae3-601e-f0cd36e0f8b5</id>
    <country_name>Kingdom of Libya</country_name>
    <country_wikidata>Q31454</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Al Bayda</capital>
    <capital_wikidata>Q35784</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>32.7628</lat>
    <lon>21.755</lon>
  </row>
  <row>
    <id>Q31454-f61d45ff-4fbd-fb69-a0a3-3845a81cbeed</id>
    <country_name>Kingdom of Libya</country_name>
    <country_wikidata>Q31454</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Benghazi</capital>
    <capital_wikidata>Q40816</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>32.1167</lat>
    <lon>20.0667</lon>
  </row>
  <row>
    <id>Q886986-71780EDA-CBBB-4D43-85E2-3BD6165870F5</id>
    <country_name>Kingdom of Lindsey</country_name>
    <country_wikidata>Q886986</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lincoln</capital>
    <capital_wikidata>Q180057</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>53.25</lat>
    <lon>-0.55</lon>
  </row>
  <row>
    <id>Q612359-7a480323-4e06-cd39-4e42-47e457b7ec6d</id>
    <country_name>Kingdom of Lithuania</country_name>
    <country_wikidata>Q612359</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vilnius</capital>
    <capital_wikidata>Q216</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>54.6872</lat>
    <lon>25.28</lon>
  </row>
  <row>
    <id>Q1656775-D58B347B-8117-41D5-8105-95845D0FEBA2</id>
    <country_name>Kingdom of Lithuania</country_name>
    <country_wikidata>Q1656775</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kernavė</capital>
    <capital_wikidata>Q215315</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>54.8833</lat>
    <lon>24.85</lon>
  </row>
  <row>
    <id>Q2346056-5d142afe-4c60-2797-6319-f9bd11eb514d</id>
    <country_name>Kingdom of Livonia</country_name>
    <country_wikidata>Q2346056</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Põltsamaa</capital>
    <capital_wikidata>Q642660</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>58.6533</lat>
    <lon>25.9722</lon>
  </row>
  <row>
    <id>q209857-A62C0A7A-E4DD-4B5B-9937-E1105420C4F6</id>
    <country_name>Kingdom of Lombardy–Venetia</country_name>
    <country_wikidata>Q209857</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Milan</capital>
    <capital_wikidata>Q490</capital_wikidata>
    <from>1815-06-09</from>
    <until>1859-11-10</until>
    <from_year>1815</from_year>
    <until_year>1859</until_year>
    <years_as_capital>44</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>45.4669</lat>
    <lon>9.19</lon>
  </row>
  <row>
    <id>q209857-C1E3DE4B-6D14-43D5-9F78-D362A2AB3AA5</id>
    <country_name>Kingdom of Lombardy–Venetia</country_name>
    <country_wikidata>Q209857</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Venice</capital>
    <capital_wikidata>Q641</capital_wikidata>
    <from>1859-11-10</from>
    <until>1866-10-12</until>
    <from_year>1859</from_year>
    <until_year>1866</until_year>
    <years_as_capital>7</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>45.4397</lat>
    <lon>12.3319</lon>
  </row>
  <row>
    <id>Q338248-52db17c3-4872-c63a-6b31-edc850420c29</id>
    <country_name>Kingdom of Luang Phrabang</country_name>
    <country_wikidata>Q338248</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Luang Prabang</capital>
    <capital_wikidata>Q190165</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>19.89</lat>
    <lon>102.1347</lon>
  </row>
  <row>
    <id>Q836676-3ab7c05d-42a1-8709-73f1-93b9fe9ddda4</id>
    <country_name>Kingdom of Majorca</country_name>
    <country_wikidata>Q836676</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Perpignan</capital>
    <capital_wikidata>Q6730</capital_wikidata>
    <from>1276</from>
    <until>1349</until>
    <from_year>1276</from_year>
    <until_year>1349</until_year>
    <years_as_capital>73</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>42.6975</lat>
    <lon>2.8947</lon>
  </row>
  <row>
    <id>Q836676-c7910c0c-4462-ffe5-6476-86ad88a76f83</id>
    <country_name>Kingdom of Majorca</country_name>
    <country_wikidata>Q836676</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Palma</capital>
    <capital_wikidata>Q8826</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>39.5667</lat>
    <lon>2.6497</lon>
  </row>
  <row>
    <id>Q829356-74D5C0B7-0124-45A0-ABD5-43A0B584B2E8</id>
    <country_name>Kingdom of Makuria</country_name>
    <country_wikidata>Q829356</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Old Dongola</capital>
    <capital_wikidata>Q433112</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>18.2231</lat>
    <lon>30.7439</lon>
  </row>
  <row>
    <id>Q6412624-3a926eeb-43fc-1286-732b-0e62126c55f7</id>
    <country_name>Kingdom of Mangalai</country_name>
    <country_wikidata>Q6412624</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Aksu</capital>
    <capital_wikidata>Q622780</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.0333</lat>
    <lon>76.9167</lon>
  </row>
  <row>
    <id>Q6207845-29f10029-4c89-5732-7efe-b00897640ba8</id>
    <country_name>Kingdom of Marwar</country_name>
    <country_wikidata>Q6207845</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mandore</capital>
    <capital_wikidata>Q3285556</capital_wikidata>
    <from>1406</from>
    <until>1459</until>
    <from_year>1406</from_year>
    <until_year>1459</until_year>
    <years_as_capital>53</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>26.3535</lat>
    <lon>73.0331</lon>
  </row>
  <row>
    <id>Q6207845-1155051e-4a70-e0a7-a5e6-d7d8bff5cbbf</id>
    <country_name>Kingdom of Marwar</country_name>
    <country_wikidata>Q6207845</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Jodhpur</capital>
    <capital_wikidata>Q200019</capital_wikidata>
    <from>1459</from>
    <from_year>1459</from_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>26.2944</lat>
    <lon>73.0278</lon>
  </row>
  <row>
    <id>Q105092-13E259E6-9C6E-46EA-ADCD-44F89E73E853</id>
    <country_name>Kingdom of Mercia</country_name>
    <country_wikidata>Q105092</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tamworth</capital>
    <capital_wikidata>Q704864</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.6339</lat>
    <lon>-1.695</lon>
  </row>
  <row>
    <id>Q17319155-85a4f366-4ba9-c44d-37ab-99d857d07e96</id>
    <country_name>Kingdom of Mewar</country_name>
    <country_wikidata>Q17319155</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Chittorgarh</capital>
    <capital_wikidata>Q41827</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>24.8894</lat>
    <lon>74.6239</lon>
  </row>
  <row>
    <id>Q17319155-afa411c4-4e60-75c3-77ea-f3793be71bea</id>
    <country_name>Kingdom of Mewar</country_name>
    <country_wikidata>Q17319155</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Udaipur</capital>
    <capital_wikidata>Q200340</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>24.5833</lat>
    <lon>73.6833</lon>
  </row>
  <row>
    <id>Q386496-9C6FE726-8D49-4A91-BF76-2E91C2137EA3</id>
    <country_name>Kingdom of Montenegro</country_name>
    <country_wikidata>Q386496</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Cetinje</capital>
    <capital_wikidata>Q173338</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>42.3894</lat>
    <lon>18.9247</lon>
  </row>
  <row>
    <id>Q10791211-4c5d3a8c-4014-483d-7fc2-33815ea136c1</id>
    <country_name>Kingdom of Mrauk U</country_name>
    <country_wikidata>Q10791211</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Launggyet</capital>
    <capital_wikidata>Q6498493</capital_wikidata>
    <from>1429</from>
    <until>1430</until>
    <from_year>1429</from_year>
    <until_year>1430</until_year>
    <years_as_capital>1</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>20.6167</lat>
    <lon>93.1667</lon>
  </row>
  <row>
    <id>Q10791211-60ab14c0-4935-76b2-cf9a-8770ab55b7b0</id>
    <country_name>Kingdom of Mrauk U</country_name>
    <country_wikidata>Q10791211</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mrauk U</capital>
    <capital_wikidata>Q1951490</capital_wikidata>
    <from>1430</from>
    <until>1785</until>
    <from_year>1430</from_year>
    <until_year>1785</until_year>
    <years_as_capital>355</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>20.59</lat>
    <lon>93.1925</lon>
  </row>
  <row>
    <id>Q1164500-a6032efe-4d2d-824d-4515-90df4cd3dc85</id>
    <country_name>Kingdom of Murcia</country_name>
    <country_wikidata>Q1164500</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Murcia</capital>
    <capital_wikidata>Q12225</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.9833</lat>
    <lon>-1.1303</lon>
  </row>
  <row>
    <id>Q266923-B63C5108-91A5-49BB-8438-9A2C40BE06E7</id>
    <country_name>Kingdom of Mysore</country_name>
    <country_wikidata>Q266923</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mysore</capital>
    <capital_wikidata>Q10086</capital_wikidata>
    <from>1399</from>
    <until>1610</until>
    <from_year>1399</from_year>
    <until_year>1610</until_year>
    <years_as_capital>211</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>12.3086</lat>
    <lon>76.6531</lon>
  </row>
  <row>
    <id>Q266923-AC27EF68-4721-4AAD-A3CC-F09316EF145D</id>
    <country_name>Kingdom of Mysore</country_name>
    <country_wikidata>Q266923</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Srirangapatna</capital>
    <capital_wikidata>Q653988</capital_wikidata>
    <from>1610</from>
    <until>1799</until>
    <from_year>1610</from_year>
    <until_year>1799</until_year>
    <years_as_capital>189</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>12.4181</lat>
    <lon>76.6947</lon>
  </row>
  <row>
    <id>Q266923-601AD852-9FBE-4BCC-98FB-0AD4E845FFBD</id>
    <country_name>Kingdom of Mysore</country_name>
    <country_wikidata>Q266923</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mysore</capital>
    <capital_wikidata>Q10086</capital_wikidata>
    <from>1799</from>
    <until>1947</until>
    <from_year>1799</from_year>
    <until_year>1947</until_year>
    <years_as_capital>148</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>12.3086</lat>
    <lon>76.6531</lon>
  </row>
  <row>
    <id>Q266923-A6832C77-3D39-4B51-B46E-F8858E987E35</id>
    <country_name>Kingdom of Mysore</country_name>
    <country_wikidata>Q266923</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bengaluru</capital>
    <capital_wikidata>Q1355</capital_wikidata>
    <from>1831</from>
    <until>1947</until>
    <from_year>1831</from_year>
    <until_year>1947</until_year>
    <years_as_capital>116</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>12.9791</lat>
    <lon>77.5913</lon>
  </row>
  <row>
    <id>Q1045322-ece5f0ce-4d02-d898-a07b-0208fe8773a8</id>
    <country_name>Kingdom of Nanzhao</country_name>
    <country_wikidata>Q1045322</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Dali</capital>
    <capital_wikidata>Q855228</capital_wikidata>
    <from>0779</from>
    <from_year>779</from_year>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>25.6811</lat>
    <lon>100.3003</lon>
  </row>
  <row>
    <id>Q173065-cce81a01-434e-1a83-e0eb-3d5662909ca9</id>
    <country_name>Kingdom of Naples</country_name>
    <country_wikidata>Q173065</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Naples</capital>
    <capital_wikidata>Q2634</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>40.8358</lat>
    <lon>14.2486</lon>
  </row>
  <row>
    <id>Q48779892-ec84efdb-48e8-a036-cf20-ce2c182c01d8</id>
    <country_name>Kingdom of Naples</country_name>
    <country_wikidata>Q48779892</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Naples</capital>
    <capital_wikidata>Q2634</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>40.8358</lat>
    <lon>14.2486</lon>
  </row>
  <row>
    <id>Q200262-A23BBEDC-12B8-4BF0-B26D-3AA2BEC034EA</id>
    <country_name>Kingdom of Navarre</country_name>
    <country_wikidata>Q200262</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Pamplona</capital>
    <capital_wikidata>Q10282</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>42.8167</lat>
    <lon>-1.65</lon>
  </row>
  <row>
    <id>Q1796232-f9f87a51-4ade-55fe-0034-7469a3034306</id>
    <country_name>Kingdom of Ndongo</country_name>
    <country_wikidata>Q1796232</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Caculo Cabaça</capital>
    <capital_wikidata>Q9672118</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
  </row>
  <row>
    <id>Q1756546-66a6424b-4e4d-fc52-4532-cfb226d0356a</id>
    <country_name>Kingdom of Nejd and Hejaz</country_name>
    <country_wikidata>Q1756546</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Riyadh</capital>
    <capital_wikidata>Q3692</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>24.6383</lat>
    <lon>46.715</lon>
  </row>
  <row>
    <id>Q1078602-E4D0A3CC-C173-4A90-BB47-B9BD55FC24AC</id>
    <country_name>Kingdom of Nepal</country_name>
    <country_wikidata>Q1078602</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kathmandu</capital>
    <capital_wikidata>Q3037</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>27.71</lat>
    <lon>85.32</lon>
  </row>
  <row>
    <id>Q16624774-b43506f3-4395-7802-16bd-2a133c8a4205</id>
    <country_name>Kingdom of Nicoya</country_name>
    <country_wikidata>Q16624774</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nicoya</capital>
    <capital_wikidata>Q2486629</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>10.1062</lat>
    <lon>-85.4861</lon>
  </row>
  <row>
    <id>Q2597352-5A4157B2-05FA-4FE0-8046-7CF7D30C4642</id>
    <country_name>Kingdom of Norway</country_name>
    <country_wikidata>Q2597352</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Oslo</capital>
    <capital_wikidata>Q585</capital_wikidata>
    <from>1814-05-17</from>
    <until>1814-08-14</until>
    <from_year>1814</from_year>
    <until_year>1814</until_year>
    <years_as_capital>0</years_as_capital>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>59.9133</lat>
    <lon>10.7389</lon>
  </row>
  <row>
    <id>Q102679-FD7C861C-7269-406F-8837-ABC79592EEA3</id>
    <country_name>Kingdom of Numidia</country_name>
    <country_wikidata>Q102679</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Cirta</capital>
    <capital_wikidata>Q1093156</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>36.3675</lat>
    <lon>6.6119</lon>
  </row>
  <row>
    <id>Q199383-15750904-B456-4DD5-9885-73B985376773</id>
    <country_name>Kingdom of Ossory</country_name>
    <country_wikidata>Q199383</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kilkenny</capital>
    <capital_wikidata>Q109092</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.6506</lat>
    <lon>-7.2514</lon>
  </row>
  <row>
    <id>Q3446210-fc927663-4f09-85e1-06c3-8fd788c38591</id>
    <country_name>Kingdom of Pamplona</country_name>
    <country_wikidata>Q3446210</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Pamplona</capital>
    <capital_wikidata>Q10282</capital_wikidata>
    <from>0905</from>
    <until>1162</until>
    <from_year>905</from_year>
    <until_year>1162</until_year>
    <years_as_capital>257</years_as_capital>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>42.8167</lat>
    <lon>-1.65</lon>
  </row>
  <row>
    <id>Q8890160-05BFBB7D-B764-47FD-B2E2-F58EF955EC82</id>
    <country_name>Kingdom of Poland</country_name>
    <country_wikidata>Q8890160</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Gniezno</capital>
    <capital_wikidata>Q51432</capital_wikidata>
    <from>0966</from>
    <until>1025</until>
    <from_year>966</from_year>
    <until_year>1025</until_year>
    <years_as_capital>59</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>52.5333</lat>
    <lon>17.6</lon>
  </row>
  <row>
    <id>Q577867-D7835494-3797-4DE0-9C35-B1533A74A30B</id>
    <country_name>Kingdom of Poland</country_name>
    <country_wikidata>Q577867</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Gniezno</capital>
    <capital_wikidata>Q51432</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.5333</lat>
    <lon>17.6</lon>
  </row>
  <row>
    <id>Q696908-ea2fcf30-412a-9ea5-3cf4-4790388200d2</id>
    <country_name>Kingdom of Poland</country_name>
    <country_wikidata>Q696908</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Warsaw</capital>
    <capital_wikidata>Q270</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.23</lat>
    <lon>21.0111</lon>
  </row>
  <row>
    <id>Q8890160-0ad53cb3-401b-9a66-fccd-5a7c3d33ea4d</id>
    <country_name>Kingdom of Poland</country_name>
    <country_wikidata>Q8890160</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Warsaw</capital>
    <capital_wikidata>Q270</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>52.23</lat>
    <lon>21.0111</lon>
  </row>
  <row>
    <id>Q8890160-8f3290a3-447c-331d-bed2-e001d06dd729</id>
    <country_name>Kingdom of Poland</country_name>
    <country_wikidata>Q8890160</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kraków</capital>
    <capital_wikidata>Q31487</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>50.0614</lat>
    <lon>19.9372</lon>
  </row>
  <row>
    <id>Q1649871-7D8CB7B6-CE6C-47C3-BB67-D6A7BE6AD11D</id>
    <country_name>Kingdom of Poland</country_name>
    <country_wikidata>Q1649871</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kraków</capital>
    <capital_wikidata>Q31487</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.0614</lat>
    <lon>19.9372</lon>
  </row>
  <row>
    <id>Q3167772-1048d31b-403c-1a56-6db9-724eea8d964f</id>
    <country_name>Kingdom of Polonnaruwa</country_name>
    <country_wikidata>Q3167772</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Polonnaruwa</capital>
    <capital_wikidata>Q394443</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>7.9333</lat>
    <lon>81</lon>
  </row>
  <row>
    <id>Q45670-ddc78887-4179-2a89-445a-47bbde7a0e0e</id>
    <country_name>Kingdom of Portugal</country_name>
    <country_wikidata>Q45670</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Coimbra</capital>
    <capital_wikidata>Q45412</capital_wikidata>
    <from>1143</from>
    <until>1256</until>
    <from_year>1143</from_year>
    <until_year>1256</until_year>
    <years_as_capital>113</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>40.2111</lat>
    <lon>-8.4289</lon>
  </row>
  <row>
    <id>Q45670-d86b699a-4097-9c80-c1c6-cb387907cf82</id>
    <country_name>Kingdom of Portugal</country_name>
    <country_wikidata>Q45670</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lisbon</capital>
    <capital_wikidata>Q597</capital_wikidata>
    <from>1256</from>
    <until>1808</until>
    <from_year>1256</from_year>
    <until_year>1808</until_year>
    <years_as_capital>552</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>38.708</lat>
    <lon>-9.139</lon>
  </row>
  <row>
    <id>Q45670-23e2e374-4fad-4724-774f-48590b2a0a65</id>
    <country_name>Kingdom of Portugal</country_name>
    <country_wikidata>Q45670</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Rio de Janeiro</capital>
    <capital_wikidata>Q8678</capital_wikidata>
    <from>1808</from>
    <until>1822</until>
    <from_year>1808</from_year>
    <until_year>1822</until_year>
    <years_as_capital>14</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>-22.9111</lat>
    <lon>-43.2056</lon>
  </row>
  <row>
    <id>Q45670-d6b40ac4-46ae-34dc-ec05-e8ab4f8e4bb5</id>
    <country_name>Kingdom of Portugal</country_name>
    <country_wikidata>Q45670</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lisbon</capital>
    <capital_wikidata>Q597</capital_wikidata>
    <from>1822</from>
    <from_year>1822</from_year>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>38.708</lat>
    <lon>-9.139</lon>
  </row>
  <row>
    <id>Q45670-386e47f4-4f84-da22-1df8-6361837b9c38</id>
    <country_name>Kingdom of Portugal</country_name>
    <country_wikidata>Q45670</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Guimarães</capital>
    <capital_wikidata>Q170903</capital_wikidata>
    <until>1143</until>
    <until_year>1143</until_year>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>41.445</lat>
    <lon>-8.2908</lon>
  </row>
  <row>
    <id>Q769782-A7668E68-C6E5-4F70-9A7D-026C250095A0</id>
    <country_name>Kingdom of Powys</country_name>
    <country_wikidata>Q769782</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Wroxeter</capital>
    <capital_wikidata>Q1848222</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.6706</lat>
    <lon>-2.6475</lon>
  </row>
  <row>
    <id>Q27306-d5f80d63-418e-1d16-d93b-adcc6c0232ca</id>
    <country_name>Kingdom of Prussia</country_name>
    <country_wikidata>Q27306</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Klaipėda</capital>
    <capital_wikidata>Q776965</capital_wikidata>
    <from>1707</from>
    <until>1708</until>
    <from_year>1707</from_year>
    <until_year>1708</until_year>
    <years_as_capital>1</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>55.7125</lat>
    <lon>21.135</lon>
  </row>
  <row>
    <id>Q27306-F6A2DCFE-A055-43B0-BF27-501D20CE672F</id>
    <country_name>Kingdom of Prussia</country_name>
    <country_wikidata>Q27306</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Berlin</capital>
    <capital_wikidata>Q64</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>52.5167</lat>
    <lon>13.3833</lon>
  </row>
  <row>
    <id>Q2424187-0D4A93B4-B3D1-4423-85B2-92CB04C45026</id>
    <country_name>Kingdom of Rarotonga</country_name>
    <country_wikidata>Q2424187</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Avarua</capital>
    <capital_wikidata>Q170482</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-21.207</lat>
    <lon>-159.771</lon>
  </row>
  <row>
    <id>Q633573-9EBE30A2-11E3-4787-84A7-9496026C813C</id>
    <country_name>Kingdom of Rheged</country_name>
    <country_wikidata>Q633573</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Carlisle</capital>
    <capital_wikidata>Q192896</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>54.8947</lat>
    <lon>-2.9364</lon>
  </row>
  <row>
    <id>Q81893195-6e5d5b2c-4688-ddf9-9ba3-919272172d39</id>
    <country_name>Kingdom of Rohilkhand</country_name>
    <country_wikidata>Q81893195</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bareilly</capital>
    <capital_wikidata>Q213026</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>28.364</lat>
    <lon>79.415</lon>
  </row>
  <row>
    <id>Q203493-F8AB2959-F43F-4480-9288-A0B77A446E62</id>
    <country_name>Kingdom of Romania</country_name>
    <country_wikidata>Q203493</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bucharest</capital>
    <capital_wikidata>Q19660</capital_wikidata>
    <from>1881</from>
    <until>1916</until>
    <from_year>1881</from_year>
    <until_year>1916</until_year>
    <years_as_capital>35</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>44.4134</lat>
    <lon>26.0978</lon>
  </row>
  <row>
    <id>Q203493-381bb2c3-4a36-3080-49ba-3d1204065361</id>
    <country_name>Kingdom of Romania</country_name>
    <country_wikidata>Q203493</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Iași</capital>
    <capital_wikidata>Q46852</capital_wikidata>
    <from>1916</from>
    <until>1918</until>
    <from_year>1916</from_year>
    <until_year>1918</until_year>
    <years_as_capital>2</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>47.1622</lat>
    <lon>27.5889</lon>
  </row>
  <row>
    <id>Q203493-c8879d48-4058-1962-59da-8e5cd772f340</id>
    <country_name>Kingdom of Romania</country_name>
    <country_wikidata>Q203493</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bucharest</capital>
    <capital_wikidata>Q19660</capital_wikidata>
    <from>1918</from>
    <until>1947</until>
    <from_year>1918</from_year>
    <until_year>1947</until_year>
    <years_as_capital>29</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>44.4134</lat>
    <lon>26.0978</lon>
  </row>
  <row>
    <id>Q889884-A3D351BE-2385-4E41-BB66-CED0862C59EB</id>
    <country_name>Kingdom of Rwanda</country_name>
    <country_wikidata>Q889884</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nyanza</capital>
    <capital_wikidata>Q528679</capital_wikidata>
    <from>1899</from>
    <until>1961-01-28</until>
    <from_year>1899</from_year>
    <until_year>1961</until_year>
    <years_as_capital>62</years_as_capital>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-2.3517</lat>
    <lon>29.7508</lon>
  </row>
  <row>
    <id>Q165154-da314d8a-4e42-65be-7e99-83570843db02</id>
    <country_name>Kingdom of Sardinia</country_name>
    <country_wikidata>Q165154</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Cagliari</capital>
    <capital_wikidata>Q1897</capital_wikidata>
    <from>1324</from>
    <until>1720</until>
    <from_year>1324</from_year>
    <until_year>1720</until_year>
    <years_as_capital>396</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>39.2167</lat>
    <lon>9.1167</lon>
  </row>
  <row>
    <id>Q165154-edacf68a-4f28-8e8b-d34c-4b8a2034b4c4</id>
    <country_name>Kingdom of Sardinia</country_name>
    <country_wikidata>Q165154</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Turin</capital>
    <capital_wikidata>Q495</capital_wikidata>
    <from>1720</from>
    <until>1798</until>
    <from_year>1720</from_year>
    <until_year>1798</until_year>
    <years_as_capital>78</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>45.0792</lat>
    <lon>7.6761</lon>
  </row>
  <row>
    <id>Q165154-8d7eabbf-433d-1075-bdc8-655eaf8856cb</id>
    <country_name>Kingdom of Sardinia</country_name>
    <country_wikidata>Q165154</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Cagliari</capital>
    <capital_wikidata>Q1897</capital_wikidata>
    <from>1798</from>
    <until>1814</until>
    <from_year>1798</from_year>
    <until_year>1814</until_year>
    <years_as_capital>16</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>39.2167</lat>
    <lon>9.1167</lon>
  </row>
  <row>
    <id>Q165154-2f941bb6-4073-dab4-cc37-ded19d21eea1</id>
    <country_name>Kingdom of Sardinia</country_name>
    <country_wikidata>Q165154</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Turin</capital>
    <capital_wikidata>Q495</capital_wikidata>
    <from>1814</from>
    <until>1861</until>
    <from_year>1814</from_year>
    <until_year>1861</until_year>
    <years_as_capital>47</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>45.0792</lat>
    <lon>7.6761</lon>
  </row>
  <row>
    <id>Q55599391-a65ec61c-42c5-3660-6bec-03536bc00da7</id>
    <country_name>Kingdom of Sardinia</country_name>
    <country_wikidata>Q55599391</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Cagliari</capital>
    <capital_wikidata>Q1897</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>39.2167</lat>
    <lon>9.1167</lon>
  </row>
  <row>
    <id>Q153015-38123876-1B5E-4338-AB46-A87A23F5D14F</id>
    <country_name>Kingdom of Saxony</country_name>
    <country_wikidata>Q153015</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Dresden</capital>
    <capital_wikidata>Q1731</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.0493</lat>
    <lon>13.7381</lon>
  </row>
  <row>
    <id>q230791-fac3b56f-42a4-41b7-614c-dc2379653b5d</id>
    <country_name>Kingdom of Scotland</country_name>
    <country_wikidata>Q230791</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Edinburgh</capital>
    <capital_wikidata>Q23436</capital_wikidata>
    <from>1452</from>
    <from_year>1452</from_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>55.9533</lat>
    <lon>-3.1892</lon>
  </row>
  <row>
    <id>Q230791-6333155a-4ad3-a445-eb8d-745df68091ae</id>
    <country_name>Kingdom of Scotland</country_name>
    <country_wikidata>Q230791</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Scone</capital>
    <capital_wikidata>Q852883</capital_wikidata>
    <until>1452</until>
    <until_year>1452</until_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>56.4179</lat>
    <lon>-3.404</lon>
  </row>
  <row>
    <id>Q2096935-181E0710-FD71-4767-87AB-DB5B022643C0</id>
    <country_name>Kingdom of Sedang</country_name>
    <country_wikidata>Q2096935</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kon Tum</capital>
    <capital_wikidata>Q36493</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>14.3436</lat>
    <lon>107.9789</lon>
  </row>
  <row>
    <id>Q241748-463A08B6-DB26-47AE-B8C5-580E817E78D3</id>
    <country_name>Kingdom of Serbia</country_name>
    <country_wikidata>Q241748</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Belgrade</capital>
    <capital_wikidata>Q3711</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>44.8178</lat>
    <lon>20.4569</lon>
  </row>
  <row>
    <id>Q2603851-1988c55d-4b81-2239-1a00-37cb37b2dea5</id>
    <country_name>Kingdom of Serbia</country_name>
    <country_wikidata>Q2603851</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Belgrade</capital>
    <capital_wikidata>Q3711</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>44.8178</lat>
    <lon>20.4569</lon>
  </row>
  <row>
    <id>Q2415003-1bf6eae5-45f1-d149-2338-0605daa4b5d7</id>
    <country_name>Kingdom of Serbia</country_name>
    <country_wikidata>Q2415003</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Skopje</capital>
    <capital_wikidata>Q384</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>41.9961</lat>
    <lon>21.4317</lon>
  </row>
  <row>
    <id>Q2415003-30b08440-454d-49b1-2251-e3cdc021f959</id>
    <country_name>Kingdom of Serbia</country_name>
    <country_wikidata>Q2415003</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Stari Ras</capital>
    <capital_wikidata>Q917814</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>43.1283</lat>
    <lon>20.4157</lon>
  </row>
  <row>
    <id>Q15102440-2790699e-4507-796a-d666-aaa3db1c304e</id>
    <country_name>Kingdom of Serbs, Croats and Slovenes</country_name>
    <country_wikidata>Q15102440</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Belgrade</capital>
    <capital_wikidata>Q3711</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>44.8178</lat>
    <lon>20.4569</lon>
  </row>
  <row>
    <id>Q1796239-03547078-4247-275d-61ff-e0666ac9161a</id>
    <country_name>Kingdom of Seville</country_name>
    <country_wikidata>Q1796239</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Seville</capital>
    <capital_wikidata>Q8717</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>37.3886</lat>
    <lon>-5.995</lon>
  </row>
  <row>
    <id>Q1796239-36307d47-414e-c2d2-3eec-9940d7983322</id>
    <country_name>Kingdom of Seville</country_name>
    <country_wikidata>Q1796239</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Seville city</capital>
    <capital_wikidata>Q55893348</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>37.3828</lat>
    <lon>-5.9731</lon>
  </row>
  <row>
    <id>Q17526620-b20683dc-4332-9a25-94c1-8258450ba17d</id>
    <country_name>Kingdom of Shirvan</country_name>
    <country_wikidata>Q17526620</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Shirvan</capital>
    <capital_wikidata>Q12849583</capital_wikidata>
    <from>0861</from>
    <until>0918</until>
    <from_year>861</from_year>
    <until_year>918</until_year>
    <years_as_capital>57</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
  </row>
  <row>
    <id>Q17526620-82264d56-4421-c5be-54d9-3da265b70809</id>
    <country_name>Kingdom of Shirvan</country_name>
    <country_wikidata>Q17526620</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Shamakhi</capital>
    <capital_wikidata>Q388224</capital_wikidata>
    <from>0918</from>
    <until>1192</until>
    <from_year>918</from_year>
    <until_year>1192</until_year>
    <years_as_capital>274</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>40.6339</lat>
    <lon>48.6392</lon>
  </row>
  <row>
    <id>Q17526620-48fa56b7-4964-5351-7eb5-d7cc16c25585</id>
    <country_name>Kingdom of Shirvan</country_name>
    <country_wikidata>Q17526620</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Baku</capital>
    <capital_wikidata>Q9248</capital_wikidata>
    <from>1192</from>
    <until>1538</until>
    <from_year>1192</from_year>
    <until_year>1538</until_year>
    <years_as_capital>346</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>40.3667</lat>
    <lon>49.8352</lon>
  </row>
  <row>
    <id>Q188586-beb2f222-46c8-abb0-10e3-a2e919b359b7</id>
    <country_name>Kingdom of Sicily</country_name>
    <country_wikidata>Q188586</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Palermo</capital>
    <capital_wikidata>Q2656</capital_wikidata>
    <from>1130</from>
    <until>1266</until>
    <from_year>1130</from_year>
    <until_year>1266</until_year>
    <years_as_capital>136</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>38.1157</lat>
    <lon>13.3613</lon>
  </row>
  <row>
    <id>Q188586-cf09c50a-46b9-2aec-ed71-9ac8989d690d</id>
    <country_name>Kingdom of Sicily</country_name>
    <country_wikidata>Q188586</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Naples</capital>
    <capital_wikidata>Q2634</capital_wikidata>
    <from>1266</from>
    <until>1282</until>
    <from_year>1266</from_year>
    <until_year>1282</until_year>
    <years_as_capital>16</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>40.8358</lat>
    <lon>14.2486</lon>
  </row>
  <row>
    <id>Q188586-8f32d544-4f52-7172-21a7-5ac7e2def347</id>
    <country_name>Kingdom of Sicily</country_name>
    <country_wikidata>Q188586</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Catania</capital>
    <capital_wikidata>Q1903</capital_wikidata>
    <from>1282</from>
    <until>1401</until>
    <from_year>1282</from_year>
    <until_year>1401</until_year>
    <years_as_capital>119</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>37.5027</lat>
    <lon>15.0873</lon>
  </row>
  <row>
    <id>Q188586-2d492775-4e43-e754-e3b2-13194749fb51</id>
    <country_name>Kingdom of Sicily</country_name>
    <country_wikidata>Q188586</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Palermo</capital>
    <capital_wikidata>Q2656</capital_wikidata>
    <from>1401</from>
    <until>1816</until>
    <from_year>1401</from_year>
    <until_year>1816</until_year>
    <years_as_capital>415</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>38.1157</lat>
    <lon>13.3613</lon>
  </row>
  <row>
    <id>Q225890-890EC3B8-33C2-4A77-AC39-DC260B170F52</id>
    <country_name>Kingdom of Strathclyde</country_name>
    <country_wikidata>Q225890</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Dumbarton</capital>
    <capital_wikidata>Q34779</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>55.9486</lat>
    <lon>-4.5472</lon>
  </row>
  <row>
    <id>Q3653113-01c86ac4-4d0c-4ca7-967c-7e5b477044ab</id>
    <country_name>Kingdom of Syunik</country_name>
    <country_wikidata>Q3653113</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kapan</capital>
    <capital_wikidata>Q31583</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>39.2011</lat>
    <lon>46.415</lon>
  </row>
  <row>
    <id>Q3028514-a1edad11-49a4-35a7-331c-8a9a410951f7</id>
    <country_name>Kingdom of Tahiti</country_name>
    <country_wikidata>Q3028514</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Papeete</capital>
    <capital_wikidata>Q130800</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-17.5397</lat>
    <lon>-149.5689</lon>
  </row>
  <row>
    <id>Q18524206-b889481f-492f-6007-5023-c757af793f2d</id>
    <country_name>Kingdom of Tallo</country_name>
    <country_wikidata>Q18524206</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tallo</capital>
    <capital_wikidata>Q12518780</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-5.1214</lat>
    <lon>119.4372</lon>
  </row>
  <row>
    <id>Q3932084-458e67ed-4bbf-97d3-f88e-5f7b6b22fd6a</id>
    <country_name>Kingdom of Tambapanni</country_name>
    <country_wikidata>Q3932084</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vijitapura</capital>
    <capital_wikidata>Q7929348</capital_wikidata>
    <from>-504</from>
    <from_year>-504</from_year>
    <current>false</current>
    <capitals_count>3</capitals_count>
  </row>
  <row>
    <id>Q3932084-31515bf2-4c74-3243-0bbc-50bf902698bd</id>
    <country_name>Kingdom of Tambapanni</country_name>
    <country_wikidata>Q3932084</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tambapanni</capital>
    <capital_wikidata>Q7681007</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
  </row>
  <row>
    <id>Q3932084-fcbf0626-41c0-1484-0155-dc413a37d9e7</id>
    <country_name>Kingdom of Tambapanni</country_name>
    <country_wikidata>Q3932084</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Upatissagāma</capital>
    <capital_wikidata>Q6412671</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
  </row>
  <row>
    <id>Q3574793-e72bfd98-4238-b63c-0894-16fec3371551</id>
    <country_name>Kingdom of Tazeroualt</country_name>
    <country_wikidata>Q3574793</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Iligh</capital>
    <capital_wikidata>Q56377134</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
  </row>
  <row>
    <id>Q325461-BA64EE68-BC90-4C14-932A-61087ACBCFA9</id>
    <country_name>Kingdom of Thessalonica</country_name>
    <country_wikidata>Q325461</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Thessaloniki</capital>
    <capital_wikidata>Q17151</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>40.6403</lat>
    <lon>22.9356</lon>
  </row>
  <row>
    <id>Q150058-C422FF7A-AC2A-4792-A4C2-8688BD385F31</id>
    <country_name>Kingdom of Thiruvithamkoor</country_name>
    <country_wikidata>Q150058</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Padmanabhapuram</capital>
    <capital_wikidata>Q1815867</capital_wikidata>
    <from>1729</from>
    <until>1795</until>
    <from_year>1729</from_year>
    <until_year>1795</until_year>
    <years_as_capital>66</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>8.2514</lat>
    <lon>77.3247</lon>
  </row>
  <row>
    <id>Q150058-ef48ac00-427f-de67-be2e-8162eee17462</id>
    <country_name>Kingdom of Thiruvithamkoor</country_name>
    <country_wikidata>Q150058</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Thiruvananthapuram</capital>
    <capital_wikidata>Q167715</capital_wikidata>
    <from>1795</from>
    <until>1949</until>
    <from_year>1795</from_year>
    <until_year>1949</until_year>
    <years_as_capital>154</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>8.4875</lat>
    <lon>76.9525</lon>
  </row>
  <row>
    <id>Q1688151-D2E56407-7AD8-4103-9E54-C8172905CDA8</id>
    <country_name>Kingdom of Thomond</country_name>
    <country_wikidata>Q1688151</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ennis</capital>
    <capital_wikidata>Q209128</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.8463</lat>
    <lon>-8.9807</lon>
  </row>
  <row>
    <id>Q17030701-a9261002-4d03-4324-6584-710bbb61e78b</id>
    <country_name>Kingdom of Tlemcen</country_name>
    <country_wikidata>Q17030701</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tlemcen</capital>
    <capital_wikidata>Q185134</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>34.8828</lat>
    <lon>-1.3167</lon>
  </row>
  <row>
    <id>Q2301372-8291da37-4f18-949e-5258-9ab381917cdd</id>
    <country_name>Kingdom of Toledo</country_name>
    <country_wikidata>Q2301372</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Toledo city</capital>
    <capital_wikidata>Q31844059</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>39.8581</lat>
    <lon>-4.0226</lon>
  </row>
  <row>
    <id>Q2940142-A48058F6-2D0B-490B-95BC-7D721ED29B8D</id>
    <country_name>Kingdom of Toledo</country_name>
    <country_wikidata>Q2940142</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Toletum</capital>
    <capital_wikidata>Q29574695</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>39.8581</lat>
    <lon>-4.0226</lon>
  </row>
  <row>
    <id>Q23022146-3811f7cf-48b9-5366-2ba1-0c6dd8613146</id>
    <country_name>Kingdom of Tonga</country_name>
    <country_wikidata>Q23022146</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nukuʻalofa</capital>
    <capital_wikidata>Q38834</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-21.1343</lat>
    <lon>-175.2018</lon>
  </row>
  <row>
    <id>Q3932086-98f44fed-4874-93db-80f7-b81060b1368f</id>
    <country_name>Kingdom of Trinacria</country_name>
    <country_wikidata>Q3932086</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Palermo</capital>
    <capital_wikidata>Q2656</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>38.1157</lat>
    <lon>13.3613</lon>
  </row>
  <row>
    <id>Q152855-BC570C69-BF40-43AB-BEE6-B855F144DB77</id>
    <country_name>Kingdom of Tungning</country_name>
    <country_wikidata>Q152855</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tainan</capital>
    <capital_wikidata>Q140631</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>22.99</lat>
    <lon>120.185</lon>
  </row>
  <row>
    <id>Q6412669-4da9da94-4e03-f2ac-5a64-e317a134cace</id>
    <country_name>Kingdom of Tunisia</country_name>
    <country_wikidata>Q6412669</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tunis</capital>
    <capital_wikidata>Q3572</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>36.8008</lat>
    <lon>10.18</lon>
  </row>
  <row>
    <id>Q142417-DD115A49-2D8E-47C7-A010-21C93C82064D</id>
    <country_name>Kingdom of Valencia</country_name>
    <country_wikidata>Q142417</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Valencia</capital>
    <capital_wikidata>Q8818</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>39.47</lat>
    <lon>-0.3764</lon>
  </row>
  <row>
    <id>Q5228183-137c8cc2-44da-abfe-5231-6e0f299354ff</id>
    <country_name>Kingdom of Vaspurakan</country_name>
    <country_wikidata>Q5228183</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Van</capital>
    <capital_wikidata>Q83061</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>38.5019</lat>
    <lon>43.4167</lon>
  </row>
  <row>
    <id>Q1141632-93084417-4745-928c-b9fc-e71dcdeff13b</id>
    <country_name>Kingdom of Vientiane</country_name>
    <country_wikidata>Q1141632</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vientiane</capital>
    <capital_wikidata>Q9326</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>17.98</lat>
    <lon>102.63</lon>
  </row>
  <row>
    <id>Q2620668-f88f4ce4-4c20-7ab6-039b-67295e6bb7b0</id>
    <country_name>Kingdom of Viguera</country_name>
    <country_wikidata>Q2620668</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Viguera</capital>
    <capital_wikidata>Q24012837</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>42.3093</lat>
    <lon>-2.5333</lon>
  </row>
  <row>
    <id>Q105313-0D07BADD-C7BB-4691-BEC4-99EC098653B5</id>
    <country_name>Kingdom of Wessex</country_name>
    <country_wikidata>Q105313</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Winchester</capital>
    <capital_wikidata>Q172157</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.0633</lat>
    <lon>-1.3086</lon>
  </row>
  <row>
    <id>Q56089236-06eea9c8-4cb1-c045-a082-e633ccf56858</id>
    <country_name>Kingdom of Western Georgia</country_name>
    <country_wikidata>Q56089236</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kutaisi</capital>
    <capital_wikidata>Q172415</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>42.2717</lat>
    <lon>42.7056</lon>
  </row>
  <row>
    <id>Q153943-fdbdc442-4e1a-e410-44c8-ca148e4a0d7c</id>
    <country_name>Kingdom of Westphalia</country_name>
    <country_wikidata>Q153943</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kassel</capital>
    <capital_wikidata>Q2865</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.3158</lat>
    <lon>9.4979</lon>
  </row>
  <row>
    <id>Q159631-b75f412f-4891-958f-8d85-110cd7c9217f</id>
    <country_name>Kingdom of Württemberg</country_name>
    <country_wikidata>Q159631</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Stuttgart</capital>
    <capital_wikidata>Q1022</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.7775</lat>
    <lon>9.18</lon>
  </row>
  <row>
    <id>Q1461024-5526bfb8-4434-32c2-b493-642acdcc19e5</id>
    <country_name>Kingdom of Yamma</country_name>
    <country_wikidata>Q1461024</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Fofa</capital>
    <capital_wikidata>Q3074800</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>7.85</lat>
    <lon>37.5167</lon>
  </row>
  <row>
    <id>Q580188-c656abe9-4205-d31a-7be3-c35e932fae26</id>
    <country_name>Kingdom of Yemen</country_name>
    <country_wikidata>Q580188</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sanaa</capital>
    <capital_wikidata>Q2471</capital_wikidata>
    <from>1918</from>
    <until>1948</until>
    <from_year>1918</from_year>
    <until_year>1948</until_year>
    <years_as_capital>30</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>15.35</lat>
    <lon>44.2</lon>
  </row>
  <row>
    <id>Q580188-9e2f7b18-4621-56b3-b991-d7bb207284c1</id>
    <country_name>Kingdom of Yemen</country_name>
    <country_wikidata>Q580188</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Old City of Taiz</capital>
    <capital_wikidata>Q139829337</capital_wikidata>
    <from>1948</from>
    <until>1962</until>
    <from_year>1948</from_year>
    <until_year>1962</until_year>
    <years_as_capital>14</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>13.5719</lat>
    <lon>44.012</lon>
  </row>
  <row>
    <id>Q191077-9CF07B51-F4EB-4426-BB2C-87D49DBF3DB3</id>
    <country_name>Kingdom of Yugoslavia</country_name>
    <country_wikidata>Q191077</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Belgrade</capital>
    <capital_wikidata>Q3711</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>44.8178</lat>
    <lon>20.4569</lon>
  </row>
  <row>
    <id>Q1796196-96F97041-654F-451B-AEA3-8957A45C7B14</id>
    <country_name>Kingdom of the Algarve</country_name>
    <country_wikidata>Q1796196</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Silves</capital>
    <capital_wikidata>Q749180</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.1833</lat>
    <lon>-8.4333</lon>
  </row>
  <row>
    <id>Q13590051-686c889e-4b2f-9432-36d9-208bf0f69048</id>
    <country_name>Kingdom of the Burgundians</country_name>
    <country_wikidata>Q13590051</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Worms</capital>
    <capital_wikidata>Q3852</capital_wikidata>
    <from>0411</from>
    <until>0437</until>
    <from_year>411</from_year>
    <until_year>437</until_year>
    <years_as_capital>26</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>49.6303</lat>
    <lon>8.3621</lon>
  </row>
  <row>
    <id>Q13590051-e6777c51-4d1f-14bc-39c6-d3ce73293c97</id>
    <country_name>Kingdom of the Burgundians</country_name>
    <country_wikidata>Q13590051</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lyon</capital>
    <capital_wikidata>Q456</capital_wikidata>
    <from>0443</from>
    <until>0534</until>
    <from_year>443</from_year>
    <until_year>534</until_year>
    <years_as_capital>91</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>45.7675</lat>
    <lon>4.835</lon>
  </row>
  <row>
    <id>Q733799-9E038412-1F0E-42D4-AA1B-E56C01BF2C5E</id>
    <country_name>Kingdom of the Hwicce</country_name>
    <country_wikidata>Q733799</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Worcester</capital>
    <capital_wikidata>Q1646181</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.1911</lat>
    <lon>-2.2206</lon>
  </row>
  <row>
    <id>Q154816-2bd7aaf1-4bcf-c905-05d4-67ba3fefe436</id>
    <country_name>Kingdom of the Iberians</country_name>
    <country_wikidata>Q154816</country_wikidata>
    <state_status>historical state</state_status>
    <capital_wikidata>Q16373727</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
  </row>
  <row>
    <id>Q154816-62c24b88-4c00-e504-3991-fa26c9d30286</id>
    <country_name>Kingdom of the Iberians</country_name>
    <country_wikidata>Q154816</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Oltu</capital>
    <capital_wikidata>Q915429</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>40.5456</lat>
    <lon>41.9958</lon>
  </row>
  <row>
    <id>Q154816-709eae92-4e6b-3ca8-1aae-f9c7627b2509</id>
    <country_name>Kingdom of the Iberians</country_name>
    <country_wikidata>Q154816</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ardanuç</capital>
    <capital_wikidata>Q638539</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>41.1233</lat>
    <lon>42.0647</lon>
  </row>
  <row>
    <id>Q154816-7605b57d-4e32-5096-f993-f8d03a12a725</id>
    <country_name>Kingdom of the Iberians</country_name>
    <country_wikidata>Q154816</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ardanuç Castle</capital>
    <capital_wikidata>Q16365061</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>41.1267</lat>
    <lon>42.0546</lon>
  </row>
  <row>
    <id>Q459188-51b501fc-4620-ac58-0950-dbb2cd34c1fb</id>
    <country_name>Kingdom of the Isles</country_name>
    <country_wikidata>Q459188</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Isle of Man</capital>
    <capital_wikidata>Q9676</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>54.235</lat>
    <lon>-4.525</lon>
  </row>
  <row>
    <id>Q459188-da5f7a4b-4eac-f9c0-9eeb-e24d2d44c4f5</id>
    <country_name>Kingdom of the Isles</country_name>
    <country_wikidata>Q459188</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Castletown</capital>
    <capital_wikidata>Q158530</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>54.0742</lat>
    <lon>-4.6539</lon>
  </row>
  <row>
    <id>Q854415-55af379b-4a16-05b3-115d-7db9a44aefc7</id>
    <country_name>Kingdom of the Lombards</country_name>
    <country_wikidata>Q854415</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Pavia</capital>
    <capital_wikidata>Q6259</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>45.1853</lat>
    <lon>9.155</lon>
  </row>
  <row>
    <id>q29999-D0DC9952-EE79-433A-8487-1AF89BB1CCC4</id>
    <country_name>Kingdom of the Netherlands</country_name>
    <country_wikidata>Q29999</country_wikidata>
    <country>NLD</country>
    <state_status>sovereign state</state_status>
    <capital>Amsterdam</capital>
    <capital_wikidata>Q727</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>52.3667</lat>
    <lon>4.8833</lon>
  </row>
  <row>
    <id>Q1048918-B231F3AC-3D38-4D17-B4C5-1026787D2EF9</id>
    <country_name>Kingdom of the Suebi</country_name>
    <country_wikidata>Q1048918</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Braga</capital>
    <capital_wikidata>Q83247</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.5333</lat>
    <lon>-8.4167</lon>
  </row>
  <row>
    <id>Q180393-1be6af29-4061-4875-6651-0c4cd8412b54</id>
    <country_name>Kingdom of the Two Sicilies</country_name>
    <country_wikidata>Q180393</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Naples</capital>
    <capital_wikidata>Q2634</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>40.8358</lat>
    <lon>14.2486</lon>
  </row>
  <row>
    <id>Q180393-aa00daf4-462f-38db-278e-9c5e1a34b35a</id>
    <country_name>Kingdom of the Two Sicilies</country_name>
    <country_wikidata>Q180393</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Palermo</capital>
    <capital_wikidata>Q2656</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>38.1157</lat>
    <lon>13.3613</lon>
  </row>
  <row>
    <id>Q425405-46c4bd5e-4dd0-ec55-fef4-591160eec3dc</id>
    <country_name>Kingdom of Ḫana</country_name>
    <country_wikidata>Q425405</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Terqa</capital>
    <capital_wikidata>Q644872</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>34.9032</lat>
    <lon>40.5305</lon>
  </row>
  <row>
    <id>Q3568009-4ef71bfa-437d-c745-c8bc-b0afd24070af</id>
    <country_name>Kings of the Isle of Wight</country_name>
    <country_wikidata>Q3568009</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Carisbrooke</capital>
    <capital_wikidata>Q1240936</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.6917</lat>
    <lon>-1.3172</lon>
  </row>
  <row>
    <id>q710-2b1e74ac-4c70-5bcc-59fa-83070c0cf73c</id>
    <country_name>Kiribati</country_name>
    <country_wikidata>Q710</country_wikidata>
    <country>KIR</country>
    <state_status>sovereign state</state_status>
    <capital>South Tarawa</capital>
    <capital_wikidata>Q131233</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>1.3333</lat>
    <lon>172.9667</lon>
  </row>
  <row>
    <id>Q1493843-b76eab3d-472f-2546-19a5-bb238df2f4ee</id>
    <country_name>Klein Vrystaat</country_name>
    <country_wikidata>Q1493843</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Piet Retief</capital>
    <capital_wikidata>Q1395427</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-27</lat>
    <lon>30.8</lon>
  </row>
  <row>
    <id>Q657946-ef3bfe7b-4a83-0e4d-b3f4-2cb726059124</id>
    <country_name>Kolhapur State</country_name>
    <country_wikidata>Q657946</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kolhapur</capital>
    <capital_wikidata>Q209698</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>16.7</lat>
    <lon>74.2333</lon>
  </row>
  <row>
    <id>Q2022659-8dbb0b28-4202-431a-3628-838d253dacba</id>
    <country_name>Kolky Republic</country_name>
    <country_wikidata>Q2022659</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kolky</capital>
    <capital_wikidata>Q1010088</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.0992</lat>
    <lon>25.6667</lon>
  </row>
  <row>
    <id>Q2510537-7ACAAB83-8418-4F1C-85E2-B13A5BE2D2A7</id>
    <country_name>Komancza Republic</country_name>
    <country_wikidata>Q2510537</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Komańcza</capital>
    <capital_wikidata>Q1025253</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>49.3372</lat>
    <lon>22.0675</lon>
  </row>
  <row>
    <id>Q1062422-2a6d5e5d-4505-ad48-fcb5-45e22b74afab</id>
    <country_name>Konbaung dynasty</country_name>
    <country_wikidata>Q1062422</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Inwa</capital>
    <capital_wikidata>Q2199759</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>21.8578</lat>
    <lon>95.985</lon>
  </row>
  <row>
    <id>Q1062422-4a0c6a8d-4199-9b82-b4d6-97d5efb20646</id>
    <country_name>Konbaung dynasty</country_name>
    <country_wikidata>Q1062422</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mandalay</capital>
    <capital_wikidata>Q185518</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>21.9831</lat>
    <lon>96.0844</lon>
  </row>
  <row>
    <id>Q1062422-9ab9e028-4939-993a-a009-80f4711b7e9f</id>
    <country_name>Konbaung dynasty</country_name>
    <country_wikidata>Q1062422</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Amarapura</capital>
    <capital_wikidata>Q454949</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>21.853</lat>
    <lon>96.0955</lon>
  </row>
  <row>
    <id>Q1062422-AA77555D-3B47-4DAC-AEBD-BD1B4242C783</id>
    <country_name>Konbaung dynasty</country_name>
    <country_wikidata>Q1062422</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Shwebo</capital>
    <capital_wikidata>Q27405</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>22.5667</lat>
    <lon>95.7</lon>
  </row>
  <row>
    <id>Q1587244-91A0A641-673A-4FDF-89A6-96F9B4737CCF</id>
    <country_name>Kong Empire</country_name>
    <country_wikidata>Q1587244</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kong</capital>
    <capital_wikidata>Q1781511</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>9.1506</lat>
    <lon>-4.6103</lon>
  </row>
  <row>
    <id>Q28233-b596c5c1-4696-8440-ae4b-feeb50279167</id>
    <country_name>Korean Empire</country_name>
    <country_wikidata>Q28233</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Hanseongbu</capital>
    <capital_wikidata>Q624467</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.5833</lat>
    <lon>127</lon>
  </row>
  <row>
    <id>Q756854-745CFB67-AC60-4AE7-8743-E3536C139046</id>
    <country_name>Kosala</country_name>
    <country_wikidata>Q756854</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Shravasti</capital>
    <capital_wikidata>Q2594448</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>27.5171</lat>
    <lon>82.0506</lon>
  </row>
  <row>
    <id>q1246-90C1C361-7B7B-48E4-B9A4-9A6D64239B2A</id>
    <country_name>Kosovo</country_name>
    <country_wikidata>Q1246</country_wikidata>
    <country>XKS</country>
    <state_status>sovereign state</state_status>
    <capital>Pristina</capital>
    <capital_wikidata>Q25270</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>42.6667</lat>
    <lon>21.1667</lon>
  </row>
  <row>
    <id>Q1785349-36c8ecdb-4982-189d-0185-280f1544fd58</id>
    <country_name>Kota State</country_name>
    <country_wikidata>Q1785349</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kota</capital>
    <capital_wikidata>Q330531</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>25.18</lat>
    <lon>75.83</lon>
  </row>
  <row>
    <id>Q1771831-98F171D1-A200-4488-B10A-F5AF95951004</id>
    <country_name>Kruševo Republic</country_name>
    <country_wikidata>Q1771831</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kruševo</capital>
    <capital_wikidata>Q157034</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.37</lat>
    <lon>21.2483</lon>
  </row>
  <row>
    <id>Q1778994-df680215-402b-097c-a3eb-e5c2e778e3f8</id>
    <country_name>Kuban People's Republic</country_name>
    <country_wikidata>Q1778994</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Krasnodar</capital>
    <capital_wikidata>Q3646</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>45.0333</lat>
    <lon>38.9833</lon>
  </row>
  <row>
    <id>Q2287085-ed819b94-485c-54c9-87b5-d02bf7375769</id>
    <country_name>Kuban Soviet Republic</country_name>
    <country_wikidata>Q2287085</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Krasnodar</capital>
    <capital_wikidata>Q3646</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>45.0333</lat>
    <lon>38.9833</lon>
  </row>
  <row>
    <id>Q1761355-aeab2fc4-4213-b2f1-bf19-60e889d07bea</id>
    <country_name>Kuban-Black Sea Soviet Republic</country_name>
    <country_wikidata>Q1761355</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Krasnodar</capital>
    <capital_wikidata>Q3646</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>45.0333</lat>
    <lon>38.9833</lon>
  </row>
  <row>
    <id>Q6468406-aed36d5d-4672-d32b-c84c-4c4dc071e47d</id>
    <country_name>Kurdish Republic of Lachin</country_name>
    <country_wikidata>Q6468406</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lachin</capital>
    <capital_wikidata>Q1000883</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>39.6408</lat>
    <lon>46.5469</lon>
  </row>
  <row>
    <id>Q106391158-de5f673f-4a2c-2d12-1261-3201f26ebdc6</id>
    <country_name>Kurdish state (1918–1919)</country_name>
    <country_wikidata>Q106391158</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sulaymaniyah</capital>
    <capital_wikidata>Q191204</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>35.55</lat>
    <lon>45.4333</lon>
  </row>
  <row>
    <id>Q1068408-9F9804A8-B034-41A4-9296-9BBAED0D64B7</id>
    <country_name>Kuru Kingdom</country_name>
    <country_wikidata>Q1068408</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Assandh</capital>
    <capital_wikidata>Q583672</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>29.51</lat>
    <lon>76.72</lon>
  </row>
  <row>
    <id>Q25979-C2472934-DF2C-473B-A288-5207E411BBA1</id>
    <country_name>Kushan Empire</country_name>
    <country_wikidata>Q25979</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bagram</capital>
    <capital_wikidata>Q814388</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>34.9333</lat>
    <lon>69.2333</lon>
  </row>
  <row>
    <id>q817-D3CAD1B4-0742-4C85-A762-C2961295FF34</id>
    <country_name>Kuwait</country_name>
    <country_wikidata>Q817</country_wikidata>
    <country>KWT</country>
    <state_status>sovereign state</state_status>
    <capital>Kuwait City</capital>
    <capital_wikidata>Q35178</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>29.375</lat>
    <lon>47.98</lon>
  </row>
  <row>
    <id>Q2047076-3e5b1ad5-4378-a9d6-a7e7-cfffc94c1d6e</id>
    <country_name>Kyrgyz Khaganate</country_name>
    <country_wikidata>Q2047076</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ordu-Baliq</capital>
    <capital_wikidata>Q2475401</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>47.4311</lat>
    <lon>102.6594</lon>
  </row>
  <row>
    <id>q813-521E9182-15C1-49BF-A796-C49707BCC9F6</id>
    <country_name>Kyrgyzstan</country_name>
    <country_wikidata>Q813</country_wikidata>
    <country>KGZ</country>
    <state_status>sovereign state</state_status>
    <capital>Bishkek</capital>
    <capital_wikidata>Q9361</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>42.8667</lat>
    <lon>74.5667</lon>
  </row>
  <row>
    <id>Q15824804-66243493-4a6a-a852-39ff-9bcfb49043ae</id>
    <country_name>Kénédougou Kingdom</country_name>
    <country_wikidata>Q15824804</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sikasso</capital>
    <capital_wikidata>Q722827</capital_wikidata>
    <from>1877</from>
    <until>1898</until>
    <from_year>1877</from_year>
    <until_year>1898</until_year>
    <years_as_capital>21</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>11.3167</lat>
    <lon>-5.6667</lon>
  </row>
  <row>
    <id>Q15824804-d0b088de-4a60-959f-1985-807e3fe700d4</id>
    <country_name>Kénédougou Kingdom</country_name>
    <country_wikidata>Q15824804</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bougoula</capital>
    <capital_wikidata>Q2553533</capital_wikidata>
    <until>1877</until>
    <until_year>1877</until_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>10.7833</lat>
    <lon>-6.9167</lon>
  </row>
  <row>
    <id>Q853477-523EC766-DA82-44E9-80AF-411773E2C819</id>
    <country_name>Lan Xang</country_name>
    <country_wikidata>Q853477</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Luang Prabang</capital>
    <capital_wikidata>Q190165</capital_wikidata>
    <from>1354</from>
    <until>1560</until>
    <from_year>1354</from_year>
    <until_year>1560</until_year>
    <years_as_capital>206</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>19.89</lat>
    <lon>102.1347</lon>
  </row>
  <row>
    <id>Q853477-f1c70598-4679-1d90-6a0d-71e3e7cf1c7a</id>
    <country_name>Lan Xang</country_name>
    <country_wikidata>Q853477</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vientiane</capital>
    <capital_wikidata>Q9326</capital_wikidata>
    <from>1560</from>
    <until>1707</until>
    <from_year>1560</from_year>
    <until_year>1707</until_year>
    <years_as_capital>147</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>17.98</lat>
    <lon>102.63</lon>
  </row>
  <row>
    <id>Q695322-91a10aa3-454a-b93c-6355-c2f3c3feb9ad</id>
    <country_name>Landgraviate of Hesse</country_name>
    <country_wikidata>Q695322</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kassel</capital>
    <capital_wikidata>Q2865</capital_wikidata>
    <from>1277</from>
    <from_year>1277</from_year>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.3158</lat>
    <lon>9.4979</lon>
  </row>
  <row>
    <id>Q673837-EBCDBC60-6B18-4167-997F-01FD4A645B46</id>
    <country_name>Landgraviate of Hesse-Marburg</country_name>
    <country_wikidata>Q673837</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Marburg</capital>
    <capital_wikidata>Q3869</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.8167</lat>
    <lon>8.7667</lon>
  </row>
  <row>
    <id>Q1615766-c1a0ea2a-4471-53d6-4a40-8cabe2893ad5</id>
    <country_name>Landgraviate of Hesse-Philippsthal-Barchfeld</country_name>
    <country_wikidata>Q1615766</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Barchfeld</capital>
    <capital_wikidata>Q565895</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.8006</lat>
    <lon>10.3039</lon>
  </row>
  <row>
    <id>Q18648857-f26695c3-4da2-2eb5-5ce9-27e7bc4436bc</id>
    <country_name>Landi State</country_name>
    <country_wikidata>Q18648857</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bardi</capital>
    <capital_wikidata>Q100755</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>44.6336</lat>
    <lon>9.7311</lon>
  </row>
  <row>
    <id>Q686971-7D2D61A7-C20E-43BE-BA4C-700A298651B3</id>
    <country_name>Lands of the Bohemian Crown</country_name>
    <country_wikidata>Q686971</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Prague</capital>
    <capital_wikidata>Q1085</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.0875</lat>
    <lon>14.4214</lon>
  </row>
  <row>
    <id>Q3233989-BC02168A-BA23-4863-8A60-5388D061903A</id>
    <country_name>Lanfang Republic</country_name>
    <country_wikidata>Q3233989</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mandor</capital>
    <capital_wikidata>Q12496587</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>0.3181</lat>
    <lon>109.3346</lon>
  </row>
  <row>
    <id>Q1059707-125BAE44-D4AF-4B53-9C26-7F8A92201E9A</id>
    <country_name>Lanna</country_name>
    <country_wikidata>Q1059707</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Chiang Saen</capital>
    <capital_wikidata>Q1709553</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>20.2769</lat>
    <lon>100.0835</lon>
  </row>
  <row>
    <id>q819-B54C4421-EFDA-4810-B145-3BCB9E808068</id>
    <country_name>Laos</country_name>
    <country_wikidata>Q819</country_wikidata>
    <country>LAO</country>
    <state_status>sovereign state</state_status>
    <capital>Vientiane</capital>
    <capital_wikidata>Q9326</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>17.98</lat>
    <lon>102.63</lon>
  </row>
  <row>
    <id>Q1806438-eb3b70ad-4fa9-eac5-73a7-d35ae4371186</id>
    <country_name>Las Bela State</country_name>
    <country_wikidata>Q1806438</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bela</capital>
    <capital_wikidata>Q815082</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>26.2267</lat>
    <lon>66.3106</lon>
  </row>
  <row>
    <id>Q698239-C171CB8F-2489-4034-8384-BD50142E2E09</id>
    <country_name>Later Baekje</country_name>
    <country_wikidata>Q698239</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Jeonju</capital>
    <capital_wikidata>Q42140</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>35.8239</lat>
    <lon>127.1475</lon>
  </row>
  <row>
    <id>Q703195-6b2bfbfa-4882-82d8-2c19-74fe9333c72e</id>
    <country_name>Later Balhae</country_name>
    <country_wikidata>Q703195</country_wikidata>
    <state_status>historical state</state_status>
    <capital>South Hamgyong Province</capital>
    <capital_wikidata>Q109368</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>40.24</lat>
    <lon>127.531</lon>
  </row>
  <row>
    <id>Q1062546-6d8ce277-4cd7-59b4-e64d-dafb91896110</id>
    <country_name>Later Jin (1616-1636)</country_name>
    <country_wikidata>Q1062546</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Shenyang</capital>
    <capital_wikidata>Q11720</capital_wikidata>
    <from>1625</from>
    <until>1644</until>
    <from_year>1625</from_year>
    <until_year>1644</until_year>
    <years_as_capital>19</years_as_capital>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.8025</lat>
    <lon>123.4281</lon>
  </row>
  <row>
    <id>Q874561-a7afbc44-4c85-c353-39d1-c1b88020d75a</id>
    <country_name>Later Liao</country_name>
    <country_wikidata>Q874561</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Haicheng</capital>
    <capital_wikidata>Q1011073</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>40.8523</lat>
    <lon>122.7474</lon>
  </row>
  <row>
    <id>Q715257-29a4e83e-41de-1fd8-ca6f-ed48eecfaf52</id>
    <country_name>Later Silla</country_name>
    <country_wikidata>Q715257</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Gyeongju</capital>
    <capital_wikidata>Q42097</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>35.85</lat>
    <lon>129.2167</lon>
  </row>
  <row>
    <id>Q178897-E5DF6FA1-437C-4335-81D6-C1D3C068D181</id>
    <country_name>Latin Empire</country_name>
    <country_wikidata>Q178897</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Constantinople</capital>
    <capital_wikidata>Q16869</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.0122</lat>
    <lon>28.976</lon>
  </row>
  <row>
    <id>q211-6F7B0578-337F-4D2B-8B36-2095E8EB9E90</id>
    <country_name>Latvia</country_name>
    <country_wikidata>Q211</country_wikidata>
    <country>LVA</country>
    <state_status>sovereign state</state_status>
    <capital>Riga</capital>
    <capital_wikidata>Q1773</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>56.9475</lat>
    <lon>24.1069</lon>
  </row>
  <row>
    <id>Q2300296-2e369db5-4168-a3fe-6c9f-3e46edb40daf</id>
    <country_name>Latvian Socialist Soviet Republic</country_name>
    <country_wikidata>Q2300296</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Riga</capital>
    <capital_wikidata>Q1773</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>56.9475</lat>
    <lon>24.1069</lon>
  </row>
  <row>
    <id>Q136884-bee3caa8-4c75-f7da-d6d0-027f989c7b33</id>
    <country_name>Lazica</country_name>
    <country_wikidata>Q136884</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nokalakevi</capital>
    <capital_wikidata>Q2586542</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>42.3572</lat>
    <lon>42.1939</lon>
  </row>
  <row>
    <id>Q2625228-E4DE39F2-7EEA-488A-8626-1F39C9A2C40F</id>
    <country_name>League Federal</country_name>
    <country_wikidata>Q2625228</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Montevideo</capital>
    <capital_wikidata>Q1335</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-34.9059</lat>
    <lon>-56.1913</lon>
  </row>
  <row>
    <id>Q669241-a383a77e-4ac8-9160-2659-4653eb20ac5c</id>
    <country_name>League of Lezhë</country_name>
    <country_wikidata>Q669241</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lezhë</capital>
    <capital_wikidata>Q169160</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.7805</lat>
    <lon>19.6434</lon>
  </row>
  <row>
    <id>q822-11A92997-CC60-4B41-A095-6C536542AA1B</id>
    <country_name>Lebanon</country_name>
    <country_wikidata>Q822</country_wikidata>
    <country>LBN</country>
    <state_status>sovereign state</state_status>
    <capital>Beirut</capital>
    <capital_wikidata>Q3820</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>33.8869</lat>
    <lon>35.5131</lon>
  </row>
  <row>
    <id>Q2308885-ab3fe379-4f85-68a7-63c9-c6f350f32458</id>
    <country_name>Lemko Republic</country_name>
    <country_wikidata>Q2308885</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Florynka</capital>
    <capital_wikidata>Q2037695</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>49.5667</lat>
    <lon>20.9833</lon>
  </row>
  <row>
    <id>q1013-A9C40647-42BB-4265-9ECC-47D1D959A618</id>
    <country_name>Lesotho</country_name>
    <country_wikidata>Q1013</country_wikidata>
    <country>LSO</country>
    <state_status>sovereign state</state_status>
    <capital>Maseru</capital>
    <capital_wikidata>Q3909</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>-29.31</lat>
    <lon>27.48</lon>
  </row>
  <row>
    <id>q1014-1224C9A5-E798-4993-A572-627A8D7E9750</id>
    <country_name>Liberia</country_name>
    <country_wikidata>Q1014</country_wikidata>
    <country>LBR</country>
    <state_status>sovereign state</state_status>
    <capital>Monrovia</capital>
    <capital_wikidata>Q3748</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>6.3106</lat>
    <lon>-10.8047</lon>
  </row>
  <row>
    <id>Q1016-07a5e966-4c16-bb4b-522a-daf725762dfe</id>
    <country_name>Libya</country_name>
    <country_wikidata>Q1016</country_wikidata>
    <country>LBY</country>
    <state_status>sovereign state</state_status>
    <capital>Tripoli</capital>
    <capital_wikidata>Q3579</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>32.8875</lat>
    <lon>13.1875</lon>
  </row>
  <row>
    <id>Q2347668-004fe2bb-4f9b-d79f-6e4b-2c52e3795685</id>
    <country_name>Libyan Arab Republic</country_name>
    <country_wikidata>Q2347668</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tripoli</capital>
    <capital_wikidata>Q3579</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>32.8875</lat>
    <lon>13.1875</lon>
  </row>
  <row>
    <id>q347-2973E565-D322-4AAB-BCAC-81AA917362CE</id>
    <country_name>Liechtenstein</country_name>
    <country_wikidata>Q347</country_wikidata>
    <country>LIE</country>
    <state_status>sovereign state</state_status>
    <capital>Vaduz</capital>
    <capital_wikidata>Q1844</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>47.1406</lat>
    <lon>9.5222</lon>
  </row>
  <row>
    <id>Q659312-041e0245-4df4-70b0-3716-d6ec53cfddc7</id>
    <country_name>Ligurian Republic</country_name>
    <country_wikidata>Q659312</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Genoa</capital>
    <capital_wikidata>Q1449</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>44.4072</lat>
    <lon>8.9339</lon>
  </row>
  <row>
    <id>Q3241025-fc4d0563-4033-d480-de7f-38451889c795</id>
    <country_name>Limbdi State</country_name>
    <country_wikidata>Q3241025</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Limbdi</capital>
    <capital_wikidata>Q715228</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>22.57</lat>
    <lon>71.8</lon>
  </row>
  <row>
    <id>Q1435466-667ab12f-446f-5cb0-37fa-c6d29f8a323f</id>
    <country_name>Limerick Soviet</country_name>
    <country_wikidata>Q1435466</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Limerick</capital>
    <capital_wikidata>Q133315</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.6653</lat>
    <lon>-8.6238</lon>
  </row>
  <row>
    <id>Q37-7C5EE64F-EC33-4FBE-A9AF-F1B5DEE64FA0</id>
    <country_name>Lithuania</country_name>
    <country_wikidata>Q37</country_wikidata>
    <country>LTU</country>
    <state_status>sovereign state</state_status>
    <capital>Kaunas</capital>
    <capital_wikidata>Q4115712</capital_wikidata>
    <from>1920</from>
    <until>1939</until>
    <from_year>1920</from_year>
    <until_year>1939</until_year>
    <years_as_capital>19</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>54.9</lat>
    <lon>23.9333</lon>
  </row>
  <row>
    <id>q37-3D28CAA8-857A-4A95-83EC-9F3F4E1C9CC2</id>
    <country_name>Lithuania</country_name>
    <country_wikidata>Q37</country_wikidata>
    <country>LTU</country>
    <state_status>sovereign state</state_status>
    <capital>Vilnius</capital>
    <capital_wikidata>Q216</capital_wikidata>
    <from>1939</from>
    <from_year>1939</from_year>
    <current>true</current>
    <capitals_count>2</capitals_count>
    <lat>54.6872</lat>
    <lon>25.28</lon>
  </row>
  <row>
    <id>Q80211-4aefb970-462b-4e3a-9416-baf995bbabca</id>
    <country_name>Lithuanian Soviet Socialist Republic</country_name>
    <country_wikidata>Q80211</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vilnius</capital>
    <capital_wikidata>Q216</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>54.6872</lat>
    <lon>25.28</lon>
  </row>
  <row>
    <id>q76236-75cc5c35-4e35-39c7-1f43-a75f769459fc</id>
    <country_name>Lithuanian–Byelorussian Soviet Socialist Republic</country_name>
    <country_wikidata>Q76236</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vilnius</capital>
    <capital_wikidata>Q216</capital_wikidata>
    <from>1919-02-27</from>
    <until>1919-04-09</until>
    <from_year>1919</from_year>
    <until_year>1919</until_year>
    <years_as_capital>0</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>54.6872</lat>
    <lon>25.28</lon>
  </row>
  <row>
    <id>q76236-b9deb03c-4486-eb00-8910-5c4a6443b9ad</id>
    <country_name>Lithuanian–Byelorussian Soviet Socialist Republic</country_name>
    <country_wikidata>Q76236</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Minsk</capital>
    <capital_wikidata>Q2280</capital_wikidata>
    <from>1919-04-09</from>
    <until>1919-09-19</until>
    <from_year>1919</from_year>
    <until_year>1919</until_year>
    <years_as_capital>0</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>53.9023</lat>
    <lon>27.5618</lon>
  </row>
  <row>
    <id>Q76236-6a2d5222-42a7-5ac4-1c11-fa6674084340</id>
    <country_name>Lithuanian–Byelorussian Soviet Socialist Republic</country_name>
    <country_wikidata>Q76236</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Babruysk</capital>
    <capital_wikidata>Q207294</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>53.15</lat>
    <lon>29.2333</lon>
  </row>
  <row>
    <id>Q76236-e22d9873-47d3-f321-140b-2a1a4f3d99d0</id>
    <country_name>Lithuanian–Byelorussian Soviet Socialist Republic</country_name>
    <country_wikidata>Q76236</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Daugavpils</capital>
    <capital_wikidata>Q80021</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>55.8714</lat>
    <lon>26.5161</lon>
  </row>
  <row>
    <id>Q1064825-2afed460-4528-8203-4413-e29bf72e7e8e</id>
    <country_name>Livonian confederation</country_name>
    <country_wikidata>Q1064825</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Riga</capital>
    <capital_wikidata>Q1773</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>56.9475</lat>
    <lon>24.1069</lon>
  </row>
  <row>
    <id>Q30573-ec7d8513-4ee7-8360-285f-cedcf044344e</id>
    <country_name>Lokot Autonomy</country_name>
    <country_wikidata>Q30573</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lokot</capital>
    <capital_wikidata>Q2374909</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.565</lat>
    <lon>34.5776</lon>
  </row>
  <row>
    <id>Q3572054-5faf5817-4bd6-979b-63c5-53ef10b7d2cd</id>
    <country_name>Lordship of Albarracin</country_name>
    <country_wikidata>Q3572054</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Albarracín city</capital>
    <capital_wikidata>Q24015194</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>40.4082</lat>
    <lon>-1.4437</lon>
  </row>
  <row>
    <id>Q1609953-987f5401-3953-4fe3-84af-92731f546762</id>
    <country_name>Lordship of Beirut</country_name>
    <country_wikidata>Q1609953</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Beirut</capital>
    <capital_wikidata>Q3820</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>33.8869</lat>
    <lon>35.5131</lon>
  </row>
  <row>
    <id>Q6680233-E55CD652-5A0E-42AA-9015-7FC09BEFCC98</id>
    <country_name>Lordship of Chios</country_name>
    <country_wikidata>Q6680233</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Chios</capital>
    <capital_wikidata>Q748832</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>38.3725</lat>
    <lon>26.1375</lon>
  </row>
  <row>
    <id>Q9713085-1e352331-4221-5c63-743c-97099f115a93</id>
    <country_name>Lordship of Gibelet</country_name>
    <country_wikidata>Q9713085</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Byblos</capital>
    <capital_wikidata>Q173532</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>34.1167</lat>
    <lon>35.65</lon>
  </row>
  <row>
    <id>Q3877418-e3fa512e-4934-6b78-5682-9d1deaf5365b</id>
    <country_name>Lordship of Ibelin</country_name>
    <country_wikidata>Q3877418</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Yavne</capital>
    <capital_wikidata>Q167677</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>31.8833</lat>
    <lon>34.7333</lon>
  </row>
  <row>
    <id>Q844250-A5445524-7820-4BC8-BEE7-3CA32E9F0F76</id>
    <country_name>Lordship of Ireland</country_name>
    <country_wikidata>Q844250</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Dublin</capital>
    <capital_wikidata>Q1761</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>53.3497</lat>
    <lon>-6.2603</lon>
  </row>
  <row>
    <id>Q428634-a4ec2e48-4638-dbad-f337-44060b887678</id>
    <country_name>Lordship of Negroponte</country_name>
    <country_wikidata>Q428634</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Chalkída</capital>
    <capital_wikidata>Q200133</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>38.4625</lat>
    <lon>23.595</lon>
  </row>
  <row>
    <id>Q2665520-65BF2D06-92ED-4829-927E-6A2652880113</id>
    <country_name>Lordship of Prilep</country_name>
    <country_wikidata>Q2665520</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Prilep</capital>
    <capital_wikidata>Q157032</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.3464</lat>
    <lon>21.5542</lon>
  </row>
  <row>
    <id>Q1614435-9A4678B1-06FE-4F77-A493-A969E7B3CE5E</id>
    <country_name>Lordship of Rostock</country_name>
    <country_wikidata>Q1614435</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Rostock</capital>
    <capital_wikidata>Q2861</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>54.0833</lat>
    <lon>12.1333</lon>
  </row>
  <row>
    <id>Q6673921-15284766-42e3-7a33-9ff4-98a55ceaa8e1</id>
    <country_name>Lotharingia</country_name>
    <country_wikidata>Q6673921</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Aachen</capital>
    <capital_wikidata>Q1017</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.7762</lat>
    <lon>6.0838</lon>
  </row>
  <row>
    <id>Q660393-9b1c55ef-4ddf-40bd-f9d6-ace563cc9f5d</id>
    <country_name>Lower Lotharingia</country_name>
    <country_wikidata>Q660393</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Aachen</capital>
    <capital_wikidata>Q1017</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.7762</lat>
    <lon>6.0838</lon>
  </row>
  <row>
    <id>Q1295806-FE460E4D-0529-4490-BB0E-A5852F408EBF</id>
    <country_name>Lower Yafa</country_name>
    <country_wikidata>Q1295806</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Jaʿār</capital>
    <capital_wikidata>Q1021013</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>13.2167</lat>
    <lon>45.3</lon>
  </row>
  <row>
    <id>q32-6b1578b3-43cc-ce6a-4435-0e703da6ccc4</id>
    <country_name>Luxembourg</country_name>
    <country_wikidata>Q32</country_wikidata>
    <country>LUX</country>
    <state_status>sovereign state</state_status>
    <capital>Luxembourg</capital>
    <capital_wikidata>Q1842</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>49.6114</lat>
    <lon>6.13</lon>
  </row>
  <row>
    <id>Q878309-5B3CD817-EDCE-499F-A030-8C5F94264C4D</id>
    <country_name>Ly dynasty</country_name>
    <country_wikidata>Q878309</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Hoa Lư Ancient Capital</capital>
    <capital_wikidata>Q2421186</capital_wikidata>
    <from>1009</from>
    <until>1010</until>
    <from_year>1009</from_year>
    <until_year>1010</until_year>
    <years_as_capital>1</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>20.2553</lat>
    <lon>105.9542</lon>
  </row>
  <row>
    <id>Q878309-416aa587-4467-b36d-e006-a1894f5c081c</id>
    <country_name>Ly dynasty</country_name>
    <country_wikidata>Q878309</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Hanoi</capital>
    <capital_wikidata>Q1858</capital_wikidata>
    <from>1010</from>
    <until>1225</until>
    <from_year>1010</from_year>
    <until_year>1225</until_year>
    <years_as_capital>215</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>21.0245</lat>
    <lon>105.8412</lon>
  </row>
  <row>
    <id>Q620765-7EACB493-A02D-4C97-90E3-337CC7F78854</id>
    <country_name>Lydia</country_name>
    <country_wikidata>Q620765</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sardis</capital>
    <capital_wikidata>Q232615</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>38.4883</lat>
    <lon>28.0403</lon>
  </row>
  <row>
    <id>Q3456471-35F32D8C-BD4D-4822-9148-0A37A36300E1</id>
    <country_name>Lémanic Republic</country_name>
    <country_wikidata>Q3456471</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lausanne</capital>
    <capital_wikidata>Q807</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>46.5333</lat>
    <lon>6.6333</lon>
  </row>
  <row>
    <id>Q1322424-57D6A17D-4007-426F-9E33-C25A607895C5</id>
    <country_name>Maakhir</country_name>
    <country_wikidata>Q1322424</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Badhan</capital>
    <capital_wikidata>Q799021</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>10.7139</lat>
    <lon>48.3347</lon>
  </row>
  <row>
    <id>Q83958-91A40971-447F-4A83-873F-F749E2F89522</id>
    <country_name>Macedonia</country_name>
    <country_wikidata>Q83958</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Aigai</capital>
    <capital_wikidata>Q16963755</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>40.478</lat>
    <lon>22.3228</lon>
  </row>
  <row>
    <id>Q83958-9f7e32d8-4897-eb6c-d16e-7e51c468a338</id>
    <country_name>Macedonia</country_name>
    <country_wikidata>Q83958</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Pella</capital>
    <capital_wikidata>Q213679</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>40.76</lat>
    <lon>22.5256</lon>
  </row>
  <row>
    <id>Q83958-cf01679d-4565-d213-61db-12abfbc7b7b4</id>
    <country_name>Macedonia</country_name>
    <country_wikidata>Q83958</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Aigai</capital>
    <capital_wikidata>Q404200</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>38.8311</lat>
    <lon>27.1886</lon>
  </row>
  <row>
    <id>q1019-B8C00853-33BB-456A-9249-46E004DB9898</id>
    <country_name>Madagascar</country_name>
    <country_wikidata>Q1019</country_wikidata>
    <country>MDG</country>
    <state_status>sovereign state</state_status>
    <capital>Antananarivo</capital>
    <capital_wikidata>Q3915</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>-18.91</lat>
    <lon>47.525</lon>
  </row>
  <row>
    <id>Q234009-99D72816-13B2-4BB3-93F3-25590DFE3A13</id>
    <country_name>Magadha</country_name>
    <country_wikidata>Q234009</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Rajgir</capital>
    <capital_wikidata>Q863683</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>25.03</lat>
    <lon>85.42</lon>
  </row>
  <row>
    <id>Q3125368-6142814A-0BBF-417D-B907-38626A23DB13</id>
    <country_name>Mahdist Sudan</country_name>
    <country_wikidata>Q3125368</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Omdurman</capital>
    <capital_wikidata>Q180921</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>15.6835</lat>
    <lon>32.4629</lon>
  </row>
  <row>
    <id>Q1885093-EE5893AB-E7A6-4ACF-8184-01F119550741</id>
    <country_name>Mahra Sultanate</country_name>
    <country_wikidata>Q1885093</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Qishn</capital>
    <capital_wikidata>Q280123</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>15.4228</lat>
    <lon>51.6814</lon>
  </row>
  <row>
    <id>Q6737189-83773D41-EA32-4945-A284-1C6891A111CE</id>
    <country_name>Maitraka dynasty</country_name>
    <country_wikidata>Q6737189</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vallabhi</capital>
    <capital_wikidata>Q1534153</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>21.8667</lat>
    <lon>71.95</lon>
  </row>
  <row>
    <id>Q49326-F2C58F15-2CF0-4BA6-BF88-30FC543D999E</id>
    <country_name>Majapahit</country_name>
    <country_wikidata>Q49326</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Trowulan Temple</capital>
    <capital_wikidata>Q962410</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-7.55</lat>
    <lon>112.3667</lon>
  </row>
  <row>
    <id>Q1436243-b8c562bd-481f-780a-f9a9-b51826f93e7c</id>
    <country_name>Makhnovshchina</country_name>
    <country_wikidata>Q1436243</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Huliaipole</capital>
    <capital_wikidata>Q640649</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>47.6644</lat>
    <lon>36.2632</lon>
  </row>
  <row>
    <id>Q2989469-A5F38CA4-1570-4481-83E2-8D4F7FFB3C63</id>
    <country_name>Makran</country_name>
    <country_wikidata>Q2989469</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Turbat</capital>
    <capital_wikidata>Q2977093</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>26.0031</lat>
    <lon>63.0544</lon>
  </row>
  <row>
    <id>Q46652-B3A1ECF0-0035-4E17-99F7-CAB70765AB7E</id>
    <country_name>Malacca sultanate</country_name>
    <country_wikidata>Q46652</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Malacca</capital>
    <capital_wikidata>Q61089</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>2.1889</lat>
    <lon>102.2511</lon>
  </row>
  <row>
    <id>Q6740997-8aa89f13-4b24-63b5-86d4-0286deacb699</id>
    <country_name>Malagasy Republic</country_name>
    <country_wikidata>Q6740997</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Antananarivo</capital>
    <capital_wikidata>Q3915</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-18.91</lat>
    <lon>47.525</lon>
  </row>
  <row>
    <id>q1020-BC881EBD-4B91-40C7-A881-761033A1B373</id>
    <country_name>Malawi</country_name>
    <country_wikidata>Q1020</country_wikidata>
    <country>MWI</country>
    <state_status>sovereign state</state_status>
    <capital>Lilongwe</capital>
    <capital_wikidata>Q3876</capital_wikidata>
    <from>1975-01-01</from>
    <from_year>1975</from_year>
    <current>true</current>
    <capitals_count>2</capitals_count>
    <lat>-13.9864</lat>
    <lon>33.7681</lon>
  </row>
  <row>
    <id>Q1020-7378498b-44ad-47b8-5726-0a2ddf9bede5</id>
    <country_name>Malawi</country_name>
    <country_wikidata>Q1020</country_wikidata>
    <country>MWI</country>
    <state_status>sovereign state</state_status>
    <capital>Zomba</capital>
    <capital_wikidata>Q219117</capital_wikidata>
    <until>1975-01-01</until>
    <until_year>1975</until_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>-15.386</lat>
    <lon>35.3188</lon>
  </row>
  <row>
    <id>Q976099-4d80876f-4767-fa6b-9d5d-032db792858a</id>
    <country_name>Malayan Union</country_name>
    <country_wikidata>Q976099</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kuala Lumpur</capital>
    <capital_wikidata>Q1865</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>3.1478</lat>
    <lon>101.6953</lon>
  </row>
  <row>
    <id>Q833-3e629976-457f-992f-6842-befae8bd2eb1</id>
    <country_name>Malaysia</country_name>
    <country_wikidata>Q833</country_wikidata>
    <country>MYS</country>
    <state_status>sovereign state</state_status>
    <capital>Kuala Lumpur</capital>
    <capital_wikidata>Q1865</capital_wikidata>
    <current>true</current>
    <capitals_count>2</capitals_count>
    <lat>3.1478</lat>
    <lon>101.6953</lon>
  </row>
  <row>
    <id>Q833-a56ccce1-4cf3-7dc4-ffec-417ba60c7656</id>
    <country_name>Malaysia</country_name>
    <country_wikidata>Q833</country_wikidata>
    <country>MYS</country>
    <state_status>sovereign state</state_status>
    <capital>Putrajaya</capital>
    <capital_wikidata>Q182378</capital_wikidata>
    <current>true</current>
    <capitals_count>2</capitals_count>
    <lat>2.93</lat>
    <lon>101.69</lon>
  </row>
  <row>
    <id>q826-E514568B-D5B2-4201-B652-52163921EDCE</id>
    <country_name>Maldives</country_name>
    <country_wikidata>Q826</country_wikidata>
    <country>MDV</country>
    <state_status>sovereign state</state_status>
    <capital>Malé</capital>
    <capital_wikidata>Q9347</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>4.175</lat>
    <lon>73.5083</lon>
  </row>
  <row>
    <id>q912-67472538-589C-457D-8A7E-E5E326865409</id>
    <country_name>Mali</country_name>
    <country_wikidata>Q912</country_wikidata>
    <country>MLI</country>
    <state_status>sovereign state</state_status>
    <capital>Bamako</capital>
    <capital_wikidata>Q3703</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>12.6458</lat>
    <lon>-7.9922</lon>
  </row>
  <row>
    <id>Q184536-F4C64AEB-1885-4D3F-8596-B19EE65FF95A</id>
    <country_name>Mali Empire</country_name>
    <country_wikidata>Q184536</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kangaba</capital>
    <capital_wikidata>Q1031919</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>11.9333</lat>
    <lon>-8.4167</lon>
  </row>
  <row>
    <id>Q216632-f55a38fd-454d-434f-c4ae-6840dddf951e</id>
    <country_name>Mali Federation</country_name>
    <country_wikidata>Q216632</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Dakar</capital>
    <capital_wikidata>Q3718</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>14.6726</lat>
    <lon>-17.432</lon>
  </row>
  <row>
    <id>Q1376303-a6e86de3-454f-b25f-eebc-eed8fa549452</id>
    <country_name>Malla</country_name>
    <country_wikidata>Q1376303</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kushinagar</capital>
    <capital_wikidata>Q825673</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>26.7403</lat>
    <lon>83.8889</lon>
  </row>
  <row>
    <id>Q6744020-5edc2218-46a3-3582-3d4b-9f5fa05e4764</id>
    <country_name>Mallabhum</country_name>
    <country_wikidata>Q6744020</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Laugram</capital>
    <capital_wikidata>Q60379482</capital_wikidata>
    <from>0694</from>
    <from_year>694</from_year>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>23.006</lat>
    <lon>87.6724</lon>
  </row>
  <row>
    <id>Q6744020-4a3ed293-4b3d-9660-4657-58819e498f15</id>
    <country_name>Mallabhum</country_name>
    <country_wikidata>Q6744020</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bishnupur</capital>
    <capital_wikidata>Q533087</capital_wikidata>
    <from>0994</from>
    <until>1947</until>
    <from_year>994</from_year>
    <until_year>1947</until_year>
    <years_as_capital>953</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>23.0739</lat>
    <lon>87.32</lon>
  </row>
  <row>
    <id>Q6744020-7E9179F0-1F18-49CA-8D9B-C2956E630767</id>
    <country_name>Mallabhum</country_name>
    <country_wikidata>Q6744020</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Laugram</capital>
    <capital_wikidata>Q96387031</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>23.0043</lat>
    <lon>87.6726</lon>
  </row>
  <row>
    <id>q233-3CF8378E-96ED-41B7-83C8-DD8AD4DDFA70</id>
    <country_name>Malta</country_name>
    <country_wikidata>Q233</country_wikidata>
    <country>MLT</country>
    <state_status>sovereign state</state_status>
    <capital>Valletta</capital>
    <capital_wikidata>Q23800</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>35.8978</lat>
    <lon>14.5125</lon>
  </row>
  <row>
    <id>Q937879-2c5cd6b5-4318-5200-20e5-413273277dbb</id>
    <country_name>Malwa Sultanate</country_name>
    <country_wikidata>Q937879</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mandu</capital>
    <capital_wikidata>Q147886</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>22.3353</lat>
    <lon>75.4158</lon>
  </row>
  <row>
    <id>Q937879-32e09f0a-40bd-d608-ca2b-db3cac2b89f5</id>
    <country_name>Malwa Sultanate</country_name>
    <country_wikidata>Q937879</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Dhar</capital>
    <capital_wikidata>Q617987</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>22.5992</lat>
    <lon>75.3028</lon>
  </row>
  <row>
    <id>Q282428-bd4ae6a2-4e81-2976-8575-dd2e66a6ebde</id>
    <country_name>Mamluk Sultanate of Egypt</country_name>
    <country_wikidata>Q282428</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Cairo</capital>
    <capital_wikidata>Q85</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>30.0444</lat>
    <lon>31.2358</lon>
  </row>
  <row>
    <id>q30623-5a47c587-4256-5f2b-d893-b252e7c66973</id>
    <country_name>Manchukuo</country_name>
    <country_wikidata>Q30623</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Hsinking</capital>
    <capital_wikidata>Q92237</capital_wikidata>
    <from>1932-03-01</from>
    <until>1945-08-09</until>
    <from_year>1932</from_year>
    <until_year>1945</until_year>
    <years_as_capital>13</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>43.8316</lat>
    <lon>125.2864</lon>
  </row>
  <row>
    <id>q30623-c85b19d3-49dd-4437-e228-1c2f31969591</id>
    <country_name>Manchukuo</country_name>
    <country_wikidata>Q30623</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Linjiang</capital>
    <capital_wikidata>Q594843</capital_wikidata>
    <from>1945-08-09</from>
    <until>1945-08-18</until>
    <from_year>1945</from_year>
    <until_year>1945</until_year>
    <years_as_capital>0</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>41.8082</lat>
    <lon>126.9137</lon>
  </row>
  <row>
    <id>Q30623-278234ef-4329-6867-f743-3bf26df80612</id>
    <country_name>Manchukuo</country_name>
    <country_wikidata>Q30623</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Changchun</capital>
    <capital_wikidata>Q92161</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>43.88</lat>
    <lon>125.3228</lon>
  </row>
  <row>
    <id>Q146720-34D974F5-C734-4053-A02F-87536E73C127</id>
    <country_name>Mandatory Iraq</country_name>
    <country_wikidata>Q146720</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Baghdad</capital>
    <capital_wikidata>Q1530</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>33.3153</lat>
    <lon>44.3661</lon>
  </row>
  <row>
    <id>Q552328-7a4b9a1f-415f-479c-47b2-8c61d9d79100</id>
    <country_name>Mannaea</country_name>
    <country_wikidata>Q552328</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Izirtu</capital>
    <capital_wikidata>Q1676142</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
  </row>
  <row>
    <id>Q6753657-4f4c7f90-4eef-2603-42fd-eba071811bfe</id>
    <country_name>Maona of Chios and Phocaea</country_name>
    <country_wikidata>Q6753657</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Chios</capital>
    <capital_wikidata>Q748832</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>38.3725</lat>
    <lon>26.1375</lon>
  </row>
  <row>
    <id>Q83618-0B273877-DE57-498A-B911-E49D4C241026</id>
    <country_name>Maratha Empire</country_name>
    <country_wikidata>Q83618</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Raigad Fort</capital>
    <capital_wikidata>Q3626515</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>18.2354</lat>
    <lon>73.4455</lon>
  </row>
  <row>
    <id>Q426488-ad07a52f-4fb8-ade7-d7c9-b70100a2f709</id>
    <country_name>March of Turin</country_name>
    <country_wikidata>Q426488</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Turin</capital>
    <capital_wikidata>Q495</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>45.0792</lat>
    <lon>7.6761</lon>
  </row>
  <row>
    <id>Q3845763-67564d3d-4d25-7f39-2b44-a7ca0a8f17c9</id>
    <country_name>Margravate of Mantua</country_name>
    <country_wikidata>Q3845763</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mantua</capital>
    <capital_wikidata>Q6247</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>45.1564</lat>
    <lon>10.7911</lon>
  </row>
  <row>
    <id>Q1900716-ed4f88ba-4ab5-360a-b90a-6d882137c281</id>
    <country_name>Margraviate Hachberg-Sausenberg</country_name>
    <country_wikidata>Q1900716</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sausenburg Castle</capital>
    <capital_wikidata>Q552301</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>47.738</lat>
    <lon>7.6888</lon>
  </row>
  <row>
    <id>Q283627-D4463B59-95C0-42A3-B4D8-3AEAC1C6D42C</id>
    <country_name>Margraviate of Austria</country_name>
    <country_wikidata>Q283627</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Melk</capital>
    <capital_wikidata>Q489806</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.2267</lat>
    <lon>15.3305</lon>
  </row>
  <row>
    <id>Q560771-cac436cb-4df9-a39c-d21c-58177837687d</id>
    <country_name>Margraviate of Baden-Baden</country_name>
    <country_wikidata>Q560771</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Baden-Baden</capital>
    <capital_wikidata>Q4100</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.7619</lat>
    <lon>8.2408</lon>
  </row>
  <row>
    <id>Q650370-91b01908-4942-4872-5d19-64812a525960</id>
    <country_name>Margraviate of Baden-Durlach</country_name>
    <country_wikidata>Q650370</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Pforzheim</capital>
    <capital_wikidata>Q3046</capital_wikidata>
    <from>1535</from>
    <until>1565</until>
    <from_year>1535</from_year>
    <until_year>1565</until_year>
    <years_as_capital>30</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>48.8909</lat>
    <lon>8.703</lon>
  </row>
  <row>
    <id>Q650370-46a281d6-445a-18cd-682d-1dda7f58619b</id>
    <country_name>Margraviate of Baden-Durlach</country_name>
    <country_wikidata>Q650370</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Durlach</capital>
    <capital_wikidata>Q639876</capital_wikidata>
    <from>1565</from>
    <until>1718</until>
    <from_year>1565</from_year>
    <until_year>1718</until_year>
    <years_as_capital>153</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>49</lat>
    <lon>8.4667</lon>
  </row>
  <row>
    <id>Q650370-4a5327d8-4851-a3fb-06cc-6d3d332abba3</id>
    <country_name>Margraviate of Baden-Durlach</country_name>
    <country_wikidata>Q650370</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Karlsruhe</capital>
    <capital_wikidata>Q1040</capital_wikidata>
    <from>1715</from>
    <from_year>1715</from_year>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>49.0167</lat>
    <lon>8.4</lon>
  </row>
  <row>
    <id>Q885304-b08d2697-4f7a-828a-6df8-c7f8575a3c9b</id>
    <country_name>Margraviate of Baden-Hachberg</country_name>
    <country_wikidata>Q885304</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Emmendingen</capital>
    <capital_wikidata>Q494521</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.1214</lat>
    <lon>7.8492</lon>
  </row>
  <row>
    <id>Q148499-3ab2e5b0-49e1-36de-00f2-fa3383bd84c7</id>
    <country_name>Margraviate of Brandenburg</country_name>
    <country_wikidata>Q148499</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Berlin</capital>
    <capital_wikidata>Q64</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>52.5167</lat>
    <lon>13.3833</lon>
  </row>
  <row>
    <id>Q148499-a7b6d07e-4ac2-b0fe-848b-b4a3212da776</id>
    <country_name>Margraviate of Brandenburg</country_name>
    <country_wikidata>Q148499</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Brandenburg an der Havel</capital>
    <capital_wikidata>Q3931</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>52.4141</lat>
    <lon>12.5541</lon>
  </row>
  <row>
    <id>Q3847034-790b2f09-4ddf-3381-1321-d0f2754dab2b</id>
    <country_name>Margraviate of Istria</country_name>
    <country_wikidata>Q3847034</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Poreč</capital>
    <capital_wikidata>Q5323</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>45.2272</lat>
    <lon>13.5952</lon>
  </row>
  <row>
    <id>Q170180-436b7441-45e1-1689-68b6-70d0960b05cb</id>
    <country_name>Margraviate of Meissen</country_name>
    <country_wikidata>Q170180</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Dresden</capital>
    <capital_wikidata>Q1731</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>51.0493</lat>
    <lon>13.7381</lon>
  </row>
  <row>
    <id>Q170180-a2c3c037-4ba1-3f31-192c-2327d938882f</id>
    <country_name>Margraviate of Meissen</country_name>
    <country_wikidata>Q170180</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Meissen</capital>
    <capital_wikidata>Q8738</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>51.1636</lat>
    <lon>13.4775</lon>
  </row>
  <row>
    <id>Q2670751-5D72B89A-ECE5-45D8-A1FB-510F7327E6FC</id>
    <country_name>Margraviate of Moravia</country_name>
    <country_wikidata>Q2670751</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Olomouc</capital>
    <capital_wikidata>Q81137</capital_wikidata>
    <from>1182</from>
    <until>1641</until>
    <from_year>1182</from_year>
    <until_year>1641</until_year>
    <years_as_capital>459</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>49.5939</lat>
    <lon>17.2508</lon>
  </row>
  <row>
    <id>Q2670751-818587F6-E7C3-4DC3-A916-BF2B55E6D37A</id>
    <country_name>Margraviate of Moravia</country_name>
    <country_wikidata>Q2670751</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Brno</capital>
    <capital_wikidata>Q14960</capital_wikidata>
    <from>1641</from>
    <until>1918</until>
    <from_year>1641</from_year>
    <until_year>1918</until_year>
    <years_as_capital>277</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>49.1953</lat>
    <lon>16.6083</lon>
  </row>
  <row>
    <id>Q582861-25B5AC44-B15C-4DA3-91D2-5007467EC5EA</id>
    <country_name>Marinid dynasty</country_name>
    <country_wikidata>Q582861</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Fez</capital>
    <capital_wikidata>Q80985</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>34.0433</lat>
    <lon>-5.0033</lon>
  </row>
  <row>
    <id>Q124298-6ECE5F97-B9DB-43EF-887A-27E9D21927F0</id>
    <country_name>Marquisate of Bodonitsa</country_name>
    <country_wikidata>Q124298</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mendenitsa</capital>
    <capital_wikidata>Q15253019</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>38.75</lat>
    <lon>22.6167</lon>
  </row>
  <row>
    <id>q709-FF96360F-0EAC-47AC-BB29-7AAF9F3CADEB</id>
    <country_name>Marshall Islands</country_name>
    <country_wikidata>Q709</country_wikidata>
    <country>MHL</country>
    <state_status>sovereign state</state_status>
    <capital>Majuro</capital>
    <capital_wikidata>Q12919</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>7.0918</lat>
    <lon>171.3802</lon>
  </row>
  <row>
    <id>Q402145-D8EF30D3-C4FF-4CC4-8360-007AE9D4E937</id>
    <country_name>Mataram Sultanate</country_name>
    <country_wikidata>Q402145</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kotagede</capital>
    <capital_wikidata>Q657168</capital_wikidata>
    <from>1586</from>
    <until>1613</until>
    <from_year>1586</from_year>
    <until_year>1613</until_year>
    <years_as_capital>27</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>-7.8179</lat>
    <lon>110.3954</lon>
  </row>
  <row>
    <id>Q402145-d285f06a-488a-fbdc-ad93-19c344ffc953</id>
    <country_name>Mataram Sultanate</country_name>
    <country_wikidata>Q402145</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kerto</capital>
    <capital_wikidata>Q12489692</capital_wikidata>
    <from>1613</from>
    <until>1645</until>
    <from_year>1613</from_year>
    <until_year>1645</until_year>
    <years_as_capital>32</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>-7.8711</lat>
    <lon>110.4007</lon>
  </row>
  <row>
    <id>Q402145-b1c965b4-420f-7a79-18f7-a91cd622e976</id>
    <country_name>Mataram Sultanate</country_name>
    <country_wikidata>Q402145</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Pleret</capital>
    <capital_wikidata>Q12505828</capital_wikidata>
    <from>1646</from>
    <until>1680</until>
    <from_year>1646</from_year>
    <until_year>1680</until_year>
    <years_as_capital>34</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>-7.8693</lat>
    <lon>110.4003</lon>
  </row>
  <row>
    <id>Q402145-e4b6c2b0-4691-0a49-9217-d13db39b40c4</id>
    <country_name>Mataram Sultanate</country_name>
    <country_wikidata>Q402145</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kartasura</capital>
    <capital_wikidata>Q3183029</capital_wikidata>
    <from>1680</from>
    <until>1755</until>
    <from_year>1680</from_year>
    <until_year>1755</until_year>
    <years_as_capital>75</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>-7.5692</lat>
    <lon>110.7617</lon>
  </row>
  <row>
    <id>Q402580-4AE9CDD6-DCC5-4DD7-9CE1-FFD3BABB84BD</id>
    <country_name>Mataram kingdom</country_name>
    <country_wikidata>Q402580</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mamratipura</capital>
    <capital_wikidata>Q97368681</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
  </row>
  <row>
    <id>Q2665398-58829C6E-2146-4AAC-AA80-AD80A34C2A6E</id>
    <country_name>Matsya</country_name>
    <country_wikidata>Q2665398</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Viratnagar</capital>
    <capital_wikidata>Q2544533</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>27.45</lat>
    <lon>76.18</lon>
  </row>
  <row>
    <id>Q12448145-6D0E9F41-9F1E-4FF4-8A01-52913628E729</id>
    <country_name>Maukhari</country_name>
    <country_wikidata>Q12448145</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kannauj</capital>
    <capital_wikidata>Q614890</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>27.0313</lat>
    <lon>79.922</lon>
  </row>
  <row>
    <id>Q309272-2748c0d0-4147-7b12-ec37-ce7d78b2ea16</id>
    <country_name>Mauretania</country_name>
    <country_wikidata>Q309272</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Cherchell</capital>
    <capital_wikidata>Q1617666</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>36.6075</lat>
    <lon>2.19</lon>
  </row>
  <row>
    <id>Q309272-91dc8992-4f61-f219-3a34-f8f5e750aeb2</id>
    <country_name>Mauretania</country_name>
    <country_wikidata>Q309272</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Volubilis</capital>
    <capital_wikidata>Q391215</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>34.04</lat>
    <lon>-5.5627</lon>
  </row>
  <row>
    <id>q1025-71DA6452-5CA5-4679-9273-BC7B992DAC86</id>
    <country_name>Mauritania</country_name>
    <country_wikidata>Q1025</country_wikidata>
    <country>MRT</country>
    <state_status>sovereign state</state_status>
    <capital>Nouakchott</capital>
    <capital_wikidata>Q3688</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>18.0858</lat>
    <lon>-15.9785</lon>
  </row>
  <row>
    <id>q1027-5BB2EE62-1F1F-429D-BDE6-F268CA7E7204</id>
    <country_name>Mauritius</country_name>
    <country_wikidata>Q1027</country_wikidata>
    <country>MUS</country>
    <state_status>sovereign state</state_status>
    <capital>Port Louis</capital>
    <capital_wikidata>Q3929</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>-20.1619</lat>
    <lon>57.4989</lon>
  </row>
  <row>
    <id>Q62943-6D9DD723-9B97-4C26-92B7-3B1FF727FE01</id>
    <country_name>Maurya empire</country_name>
    <country_wikidata>Q62943</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Pataliputra</capital>
    <capital_wikidata>Q389755</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>25.611</lat>
    <lon>85.144</lon>
  </row>
  <row>
    <id>Q62943-a7cefd26-4cb1-2aa3-df58-fe5aef7f0de8</id>
    <country_name>Maurya empire</country_name>
    <country_wikidata>Q62943</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Patna</capital>
    <capital_wikidata>Q80484</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>25.61</lat>
    <lon>85.1414</lon>
  </row>
  <row>
    <id>Q20437507-b5d2065a-41c6-63fc-ca10-388979ddce3e</id>
    <country_name>Median Kingdom</country_name>
    <country_wikidata>Q20437507</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ecbatana</capital>
    <capital_wikidata>Q696193</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>34.8065</lat>
    <lon>48.5163</lon>
  </row>
  <row>
    <id>Q3112053-9c7a3069-4d35-4819-1e40-db8d5dfa7352</id>
    <country_name>Melayu</country_name>
    <country_wikidata>Q3112053</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Dharmasraya</capital>
    <capital_wikidata>Q5269336</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
  </row>
  <row>
    <id>Q697837-E368D1E6-3C1A-4435-B007-9A89362044D6</id>
    <country_name>Mengjiang</country_name>
    <country_wikidata>Q697837</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Zhangjiakou</capital>
    <capital_wikidata>Q58650</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>40.8108</lat>
    <lon>114.8811</lon>
  </row>
  <row>
    <id>Q1071439-815c21ef-4214-64d5-9601-c474f814e529</id>
    <country_name>Merina Kingdom</country_name>
    <country_wikidata>Q1071439</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Antananarivo</capital>
    <capital_wikidata>Q3915</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-18.91</lat>
    <lon>47.525</lon>
  </row>
  <row>
    <id>q96-4F416360-22E5-4453-9698-B8239BC31DA9</id>
    <country_name>Mexico</country_name>
    <country_wikidata>Q96</country_wikidata>
    <country>MEX</country>
    <state_status>sovereign state</state_status>
    <capital>Mexico City</capital>
    <capital_wikidata>Q1489</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>19.3538</lat>
    <lon>-99.1359</lon>
  </row>
  <row>
    <id>Q12642600-D210641C-4D39-40BC-97A8-CF47A941E281</id>
    <country_name>Middle Assyrian Empire</country_name>
    <country_wikidata>Q12642600</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Assur</capital>
    <capital_wikidata>Q200200</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>35.4567</lat>
    <lon>43.2625</lon>
  </row>
  <row>
    <id>Q468902-208E78B3-4732-4AAF-8F87-35E0BE285A51</id>
    <country_name>Middle Francia</country_name>
    <country_wikidata>Q468902</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Aachen</capital>
    <capital_wikidata>Q1017</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.7762</lat>
    <lon>6.0838</lon>
  </row>
  <row>
    <id>Q191324-140de07c-44fc-0b8e-5b86-7936cfeb5e7c</id>
    <country_name>Middle Kingdom of Egypt</country_name>
    <country_wikidata>Q191324</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Thebes</capital>
    <capital_wikidata>Q101583</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>25.7206</lat>
    <lon>32.6103</lon>
  </row>
  <row>
    <id>Q191324-589c1524-439a-05bd-ebb5-677b91fe2f4a</id>
    <country_name>Middle Kingdom of Egypt</country_name>
    <country_wikidata>Q191324</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Itjtawy</capital>
    <capital_wikidata>Q389285</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>29.5703</lat>
    <lon>31.2311</lon>
  </row>
  <row>
    <id>Q1936158-491cf157-4a65-e1fb-7d83-8a70d9405c88</id>
    <country_name>Minyue</country_name>
    <country_wikidata>Q1936158</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Yecheng</capital>
    <capital_wikidata>Q9433543</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
  </row>
  <row>
    <id>Q178665-9cbd6724-48cb-820a-d937-861e0c3da7da</id>
    <country_name>Mitanni</country_name>
    <country_wikidata>Q178665</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tell el Fakhariya</capital>
    <capital_wikidata>Q1149666</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>36.84</lat>
    <lon>40.0687</lon>
  </row>
  <row>
    <id>Q326304-8693256E-CC0C-47D8-B1C9-CB5044C2E2AB</id>
    <country_name>Moab</country_name>
    <country_wikidata>Q326304</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Dhiban</capital>
    <capital_wikidata>Q1019166</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>31.5</lat>
    <lon>35.7833</lon>
  </row>
  <row>
    <id>Q1191125-49f8bf14-4154-f0a8-6583-065ce2ab4532</id>
    <country_name>Moghulistan</country_name>
    <country_wikidata>Q1191125</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kashgar</capital>
    <capital_wikidata>Q170521</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>39.45</lat>
    <lon>75.9833</lon>
  </row>
  <row>
    <id>Q1191125-5559ae0c-4ddf-c83c-539c-42b8a8eec356</id>
    <country_name>Moghulistan</country_name>
    <country_wikidata>Q1191125</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Almaliq</capital>
    <capital_wikidata>Q2627464</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>44.24</lat>
    <lon>80.5331</lon>
  </row>
  <row>
    <id>Q1191125-5f758de5-480c-7c49-5774-18ffd365ecd4</id>
    <country_name>Moghulistan</country_name>
    <country_wikidata>Q1191125</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Turpan</capital>
    <capital_wikidata>Q868527</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>42.95</lat>
    <lon>89.1822</lon>
  </row>
  <row>
    <id>Q1191125-998874e6-48ba-a347-0990-11d8fc86e357</id>
    <country_name>Moghulistan</country_name>
    <country_wikidata>Q1191125</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Aksu</capital>
    <capital_wikidata>Q421648</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>41.1664</lat>
    <lon>80.25</lon>
  </row>
  <row>
    <id>Q964024-9011E0E3-6743-45B8-BDE0-7158973AD0F6</id>
    <country_name>Moldavian Democratic Republic</country_name>
    <country_wikidata>Q964024</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Chișinău</capital>
    <capital_wikidata>Q21197</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>47.0228</lat>
    <lon>28.8353</lon>
  </row>
  <row>
    <id>q217-A8BFF8F6-118A-419A-B814-A9A5AD03A2D5</id>
    <country_name>Moldova</country_name>
    <country_wikidata>Q217</country_wikidata>
    <country>MDA</country>
    <state_status>sovereign state</state_status>
    <capital>Chișinău</capital>
    <capital_wikidata>Q21197</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>47.0228</lat>
    <lon>28.8353</lon>
  </row>
  <row>
    <id>Q235-a978022a-4770-762f-7d7b-12d278ecdf94</id>
    <country_name>Monaco</country_name>
    <country_wikidata>Q235</country_wikidata>
    <country>MCO</country>
    <state_status>sovereign state</state_status>
    <capital>Monaco</capital>
    <capital_wikidata>Q235</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>43.7311</lat>
    <lon>7.42</lon>
  </row>
  <row>
    <id>Q12557-352FC8E5-4E9E-4958-871A-35E8C9A2AA8A</id>
    <country_name>Mongol Empire</country_name>
    <country_wikidata>Q12557</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Avarga</capital>
    <capital_wikidata>Q4827751</capital_wikidata>
    <from>1206</from>
    <until>1235</until>
    <from_year>1206</from_year>
    <until_year>1235</until_year>
    <years_as_capital>29</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>47.0944</lat>
    <lon>109.1528</lon>
  </row>
  <row>
    <id>Q12557-b5d5f44a-4236-1299-2490-a903ee4b6243</id>
    <country_name>Mongol Empire</country_name>
    <country_wikidata>Q12557</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Karakorum</capital>
    <capital_wikidata>Q62677</capital_wikidata>
    <from>1235</from>
    <until>1260</until>
    <from_year>1235</from_year>
    <until_year>1260</until_year>
    <years_as_capital>25</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>47.1975</lat>
    <lon>102.8238</lon>
  </row>
  <row>
    <id>Q12557-418950c7-4d65-42a2-f820-208367399dca</id>
    <country_name>Mongol Empire</country_name>
    <country_wikidata>Q12557</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Khanbaliq</capital>
    <capital_wikidata>Q101186473</capital_wikidata>
    <from>1271</from>
    <until>1368</until>
    <from_year>1271</from_year>
    <until_year>1368</until_year>
    <years_as_capital>97</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>39.9333</lat>
    <lon>116.4</lon>
  </row>
  <row>
    <id>Q12557-c0b72425-4fc8-7a2d-3498-308d93c32531</id>
    <country_name>Mongol Empire</country_name>
    <country_wikidata>Q12557</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Xanadu</capital>
    <capital_wikidata>Q471765</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>42.358</lat>
    <lon>116.1852</lon>
  </row>
  <row>
    <id>Q11621245-d2830054-439c-1cf4-b429-229a13bde4e3</id>
    <country_name>Mongol United Autonomous Government</country_name>
    <country_wikidata>Q11621245</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Hohhot</capital>
    <capital_wikidata>Q535534</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>40.8151</lat>
    <lon>111.6629</lon>
  </row>
  <row>
    <id>q711-A192B321-8FF5-4C93-84B5-6702C74EE0F8</id>
    <country_name>Mongolia</country_name>
    <country_wikidata>Q711</country_wikidata>
    <country>MNG</country>
    <state_status>sovereign state</state_status>
    <capital>Ulaanbaatar</capital>
    <capital_wikidata>Q23430</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>47.9214</lat>
    <lon>106.9055</lon>
  </row>
  <row>
    <id>Q212056-42816511-4ed0-2930-2199-3577765361fa</id>
    <country_name>Mongolian People's Republic</country_name>
    <country_wikidata>Q212056</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ulaanbaatar</capital>
    <capital_wikidata>Q23430</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>47.9214</lat>
    <lon>106.9055</lon>
  </row>
  <row>
    <id>q236-8E45778F-1EC7-4E9B-9AFE-CC9D6376C1B2</id>
    <country_name>Montenegro</country_name>
    <country_wikidata>Q236</country_wikidata>
    <country>MNE</country>
    <state_status>sovereign state</state_status>
    <capital>Podgorica</capital>
    <capital_wikidata>Q23564</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>42.4414</lat>
    <lon>19.2628</lon>
  </row>
  <row>
    <id>Q1614427-1AEC8124-3013-4F9C-8EBA-EAABEBA06D9B</id>
    <country_name>Montpellier seigneury</country_name>
    <country_wikidata>Q1614427</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Montpellier</capital>
    <capital_wikidata>Q6441</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>43.6109</lat>
    <lon>3.8772</lon>
  </row>
  <row>
    <id>Q4281031-1412286B-1D2E-46B6-9E60-BA0B39F93ECE</id>
    <country_name>Moqaddam family</country_name>
    <country_wikidata>Q4281031</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Maragheh</capital>
    <capital_wikidata>Q605021</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.3919</lat>
    <lon>46.2392</lon>
  </row>
  <row>
    <id>Q2273304-7345C171-01ED-4A0D-AB8D-58BAAAC0A803</id>
    <country_name>Moravian Serbia</country_name>
    <country_wikidata>Q2273304</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kruševac</capital>
    <capital_wikidata>Q201442</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>43.5833</lat>
    <lon>21.3267</lon>
  </row>
  <row>
    <id>q1028-EF2DF7B3-8610-45B5-9021-C42B8E5CF783</id>
    <country_name>Morocco</country_name>
    <country_wikidata>Q1028</country_wikidata>
    <country>MAR</country>
    <state_status>sovereign state</state_status>
    <capital>Rabat</capital>
    <capital_wikidata>Q3551</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>34.0211</lat>
    <lon>-6.8414</lon>
  </row>
  <row>
    <id>Q922317-3a5a2bf5-4c7c-c1c9-0dfb-dc771a778558</id>
    <country_name>Morvi State</country_name>
    <country_wikidata>Q922317</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Morbi</capital>
    <capital_wikidata>Q2087713</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>22.8167</lat>
    <lon>70.8333</lon>
  </row>
  <row>
    <id>Q862522-03033F83-6634-427F-9C59-81D9BBA6D328</id>
    <country_name>Mossi Kingdoms</country_name>
    <country_wikidata>Q862522</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tenkodogo</capital>
    <capital_wikidata>Q621925</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>11.7833</lat>
    <lon>-0.3667</lon>
  </row>
  <row>
    <id>Q1639475-2baf800d-4836-cc71-fa1b-2d4165424e46</id>
    <country_name>Mountainous Republic of the Northern Caucasus</country_name>
    <country_wikidata>Q1639475</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Levashi</capital>
    <capital_wikidata>Q4256248</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>42.4303</lat>
    <lon>47.3214</lon>
  </row>
  <row>
    <id>Q1639475-bcf11632-4275-c973-3957-8d1c2b054ef5</id>
    <country_name>Mountainous Republic of the Northern Caucasus</country_name>
    <country_wikidata>Q1639475</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vladikavkaz</capital>
    <capital_wikidata>Q5239</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>43.04</lat>
    <lon>44.6775</lon>
  </row>
  <row>
    <id>Q1639475-BFFE42BC-721F-4F10-A5ED-0C40B27EB997</id>
    <country_name>Mountainous Republic of the Northern Caucasus</country_name>
    <country_wikidata>Q1639475</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Buynaksk</capital>
    <capital_wikidata>Q132931</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>42.8167</lat>
    <lon>47.1167</lon>
  </row>
  <row>
    <id>q1029-ABCE4770-FBC3-4F2B-BE27-B82B97F2F538</id>
    <country_name>Mozambique</country_name>
    <country_wikidata>Q1029</country_wikidata>
    <country>MOZ</country>
    <state_status>sovereign state</state_status>
    <capital>Maputo</capital>
    <capital_wikidata>Q3889</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>-25.9689</lat>
    <lon>32.5733</lon>
  </row>
  <row>
    <id>Q1186434-563E6C4E-0124-4423-83A2-8D59368EAF22</id>
    <country_name>Muang Phuan</country_name>
    <country_wikidata>Q1186434</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Phōnsavan</capital>
    <capital_wikidata>Q1011711</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>19.45</lat>
    <lon>103.2</lon>
  </row>
  <row>
    <id>Q1951726-24c57b25-46d9-7cb1-d18c-d866f39ec39a</id>
    <country_name>Mudhol State</country_name>
    <country_wikidata>Q1951726</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mudhol</capital>
    <capital_wikidata>Q1514203</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>16.3333</lat>
    <lon>75.2833</lon>
  </row>
  <row>
    <id>Q33296-81459206-4838-8466-36da-84087cc54838</id>
    <country_name>Mughal Empire</country_name>
    <country_wikidata>Q33296</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Agra</capital>
    <capital_wikidata>Q42941</capital_wikidata>
    <from>1526</from>
    <until>1540</until>
    <from_year>1526</from_year>
    <until_year>1540</until_year>
    <years_as_capital>14</years_as_capital>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>27.18</lat>
    <lon>78.02</lon>
  </row>
  <row>
    <id>Q33296-e58a76c1-49cc-1676-f285-92cccfbd178d</id>
    <country_name>Mughal Empire</country_name>
    <country_wikidata>Q33296</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Fatehpur Sikri</capital>
    <capital_wikidata>Q179046</capital_wikidata>
    <from>1571</from>
    <until>1585</until>
    <from_year>1571</from_year>
    <until_year>1585</until_year>
    <years_as_capital>14</years_as_capital>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>27.0911</lat>
    <lon>77.6611</lon>
  </row>
  <row>
    <id>Q33296-aaca60be-480f-4adc-c8f3-de0aaead129d</id>
    <country_name>Mughal Empire</country_name>
    <country_wikidata>Q33296</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Old Delhi</capital>
    <capital_wikidata>Q3242297</capital_wikidata>
    <from>1648</from>
    <until>1857</until>
    <from_year>1648</from_year>
    <until_year>1857</until_year>
    <years_as_capital>209</years_as_capital>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>28.66</lat>
    <lon>77.23</lon>
  </row>
  <row>
    <id>Q33296-72b4cdcc-45d8-5c04-f55b-d1a59c826b3e</id>
    <country_name>Mughal Empire</country_name>
    <country_wikidata>Q33296</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Delhi</capital>
    <capital_wikidata>Q1353</capital_wikidata>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>28.6667</lat>
    <lon>77.2167</lon>
  </row>
  <row>
    <id>Q33296-bb282f4a-4b91-7852-82fd-67880353d4cb</id>
    <country_name>Mughal Empire</country_name>
    <country_wikidata>Q33296</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lahore</capital>
    <capital_wikidata>Q11739</capital_wikidata>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>31.5497</lat>
    <lon>74.3436</lon>
  </row>
  <row>
    <id>Q781705-9B6CCED1-E56E-4B9E-AB43-EBE01CCDEB18</id>
    <country_name>Mughan Soviet Republic</country_name>
    <country_wikidata>Q781705</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lankaran</capital>
    <capital_wikidata>Q228811</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>38.7536</lat>
    <lon>48.8511</lon>
  </row>
  <row>
    <id>Q5782830-24157cc8-4518-211e-fc0c-146c82680b76</id>
    <country_name>Muisca Confederations</country_name>
    <country_wikidata>Q5782830</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bogotá</capital>
    <capital_wikidata>Q2841</capital_wikidata>
    <from>0800</from>
    <until>1540</until>
    <from_year>800</from_year>
    <until_year>1540</until_year>
    <years_as_capital>740</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>4.6097</lat>
    <lon>-74.0817</lon>
  </row>
  <row>
    <id>Q5782830-8f8ce8d0-4019-cb55-8e4b-722f1b861456</id>
    <country_name>Muisca Confederations</country_name>
    <country_wikidata>Q5782830</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Duitama</capital>
    <capital_wikidata>Q1011125</capital_wikidata>
    <from>0800</from>
    <until>1540</until>
    <from_year>800</from_year>
    <until_year>1540</until_year>
    <years_as_capital>740</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>5.8219</lat>
    <lon>-73.0297</lon>
  </row>
  <row>
    <id>Q5782830-cd9a4eb0-4e40-724a-161b-7fe5557dcaab</id>
    <country_name>Muisca Confederations</country_name>
    <country_wikidata>Q5782830</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sogamoso</capital>
    <capital_wikidata>Q989996</capital_wikidata>
    <from>0800</from>
    <until>1540</until>
    <from_year>800</from_year>
    <until_year>1540</until_year>
    <years_as_capital>740</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>5.7148</lat>
    <lon>-72.9279</lon>
  </row>
  <row>
    <id>Q5782830-fb31eee9-4c18-c9e6-a706-e3010dcb6148</id>
    <country_name>Muisca Confederations</country_name>
    <country_wikidata>Q5782830</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tunja</capital>
    <capital_wikidata>Q236744</capital_wikidata>
    <from>0800</from>
    <until>1540</until>
    <from_year>800</from_year>
    <until_year>1540</until_year>
    <years_as_capital>740</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>5.5403</lat>
    <lon>-73.3614</lon>
  </row>
  <row>
    <id>Q157734-23AA6716-6290-4584-9D52-A6AF5EC7153F</id>
    <country_name>Muscat and Oman</country_name>
    <country_wikidata>Q157734</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Muscat</capital>
    <capital_wikidata>Q3826</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>23.6139</lat>
    <lon>58.5922</lon>
  </row>
  <row>
    <id>Q1250763-8B049247-E3D2-49C7-A895-F2C392D4FAED</id>
    <country_name>Muslim Sicily</country_name>
    <country_wikidata>Q1250763</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Palermo</capital>
    <capital_wikidata>Q2656</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>38.1157</lat>
    <lon>13.3613</lon>
  </row>
  <row>
    <id>Q28307-7AE4D1C2-4D5C-424A-8010-191501BC746E</id>
    <country_name>Mustang</country_name>
    <country_wikidata>Q28307</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lo Manthang</capital>
    <capital_wikidata>Q2603964</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>29.1831</lat>
    <lon>83.9561</lon>
  </row>
  <row>
    <id>Q877670-5202cb31-4e80-4488-55c2-e04969019908</id>
    <country_name>Muzaffarids of Iran</country_name>
    <country_wikidata>Q877670</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kerman</capital>
    <capital_wikidata>Q171714</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>30.2911</lat>
    <lon>57.0678</lon>
  </row>
  <row>
    <id>Q877670-a309529a-42f7-9424-9b5d-95c22e05e8ea</id>
    <country_name>Muzaffarids of Iran</country_name>
    <country_wikidata>Q877670</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Shiraz</capital>
    <capital_wikidata>Q6397066</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>29.6103</lat>
    <lon>52.5311</lon>
  </row>
  <row>
    <id>Q877670-d6eea37d-4a28-161a-45ca-98f4b0c94863</id>
    <country_name>Muzaffarids of Iran</country_name>
    <country_wikidata>Q877670</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Yazd</capital>
    <capital_wikidata>Q182394</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>31.8972</lat>
    <lon>54.3675</lon>
  </row>
  <row>
    <id>Q836-8ad536dc-4d69-d96a-908c-9160164d8ba5</id>
    <country_name>Myanmar</country_name>
    <country_wikidata>Q836</country_wikidata>
    <country>MMR</country>
    <state_status>sovereign state</state_status>
    <capital>Yangon</capital>
    <capital_wikidata>Q37995</capital_wikidata>
    <from>1948-01-04</from>
    <until>2005-11-06</until>
    <from_year>1948</from_year>
    <until_year>2005</until_year>
    <years_as_capital>57</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>16.8053</lat>
    <lon>96.1561</lon>
  </row>
  <row>
    <id>q836-64BA2479-47A5-4379-999D-09E1716538D8</id>
    <country_name>Myanmar</country_name>
    <country_wikidata>Q836</country_wikidata>
    <country>MMR</country>
    <state_status>sovereign state</state_status>
    <capital>Naypyidaw</capital>
    <capital_wikidata>Q37400</capital_wikidata>
    <from>2005-11-06</from>
    <from_year>2005</from_year>
    <current>true</current>
    <capitals_count>2</capitals_count>
    <lat>19.7475</lat>
    <lon>96.115</lon>
  </row>
  <row>
    <id>Q11029653-ae706697-465f-d401-d051-90d9d777e7ef</id>
    <country_name>Nabataean kingdom</country_name>
    <country_wikidata>Q11029653</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Petra</capital>
    <capital_wikidata>Q5788</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>30.3289</lat>
    <lon>35.4403</lon>
  </row>
  <row>
    <id>Q11938308-1402d36f-4204-d96f-dcec-b1e93ff01de9</id>
    <country_name>Nabhani dynasty</country_name>
    <country_wikidata>Q11938308</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bahla</capital>
    <capital_wikidata>Q26201348</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
  </row>
  <row>
    <id>Q4311709-f2460efd-4334-b213-b9e7-38d7fc5e66ee</id>
    <country_name>Nagpur kingdom</country_name>
    <country_wikidata>Q4311709</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nagpur</capital>
    <capital_wikidata>Q1513</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>21.1497</lat>
    <lon>79.0806</lon>
  </row>
  <row>
    <id>q1030-BCFACD8E-7820-468B-A150-7877A448DF49</id>
    <country_name>Namibia</country_name>
    <country_wikidata>Q1030</country_wikidata>
    <country>NAM</country>
    <state_status>sovereign state</state_status>
    <capital>Windhoek</capital>
    <capital_wikidata>Q3935</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>-22.57</lat>
    <lon>17.0836</lon>
  </row>
  <row>
    <id>Q949268-77A3B2FE-79FE-4026-A729-6EAB5E3556C1</id>
    <country_name>Nanda Empire</country_name>
    <country_wikidata>Q949268</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Pataliputra</capital>
    <capital_wikidata>Q389755</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>25.611</lat>
    <lon>85.144</lon>
  </row>
  <row>
    <id>Q827040-A08CD019-94DB-4E5D-B2F4-BE4AA36FF955</id>
    <country_name>Nanyue</country_name>
    <country_wikidata>Q827040</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Panyu County</capital>
    <capital_wikidata>Q15900973</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
  </row>
  <row>
    <id>Q1029847-94126D7D-642D-4A30-8EF1-94A3C5EF9210</id>
    <country_name>Natalia Republic</country_name>
    <country_wikidata>Q1029847</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Pietermaritzburg</capital>
    <capital_wikidata>Q185591</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-29.6009</lat>
    <lon>30.3796</lon>
  </row>
  <row>
    <id>Q2308761-b508625e-4400-8da1-1c41-ce6a2109dce2</id>
    <country_name>National Government of the Republic of China</country_name>
    <country_wikidata>Q2308761</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Guangzhou</capital>
    <capital_wikidata>Q16572</capital_wikidata>
    <from>1925</from>
    <until>1927</until>
    <from_year>1925</from_year>
    <until_year>1927</until_year>
    <years_as_capital>2</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>23.13</lat>
    <lon>113.26</lon>
  </row>
  <row>
    <id>Q2308761-CFCA545D-9F30-47F8-8706-568D4CC58300</id>
    <country_name>National Government of the Republic of China</country_name>
    <country_wikidata>Q2308761</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nanjing</capital>
    <capital_wikidata>Q16666</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>32.0608</lat>
    <lon>118.7789</lon>
  </row>
  <row>
    <id>Q2507497-F5CEC4CD-4487-490F-86D7-6F04919BFEAD</id>
    <country_name>National Legionary State</country_name>
    <country_wikidata>Q2507497</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bucharest</capital>
    <capital_wikidata>Q19660</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>44.4134</lat>
    <lon>26.0978</lon>
  </row>
  <row>
    <id>q697-7E47B2BA-8BC4-44AC-AFB4-47A5A2F04912</id>
    <country_name>Nauru</country_name>
    <country_wikidata>Q697</country_wikidata>
    <country>NRU</country>
    <state_status>sovereign state</state_status>
    <capital>Yaren District</capital>
    <capital_wikidata>Q31026</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>-0.5477</lat>
    <lon>166.9209</lon>
  </row>
  <row>
    <id>q7318-52453ae9-4797-a1fc-6971-cceca0b2eeec</id>
    <country_name>Nazi Germany</country_name>
    <country_wikidata>Q7318</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Berlin</capital>
    <capital_wikidata>Q64</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.5167</lat>
    <lon>13.3833</lon>
  </row>
  <row>
    <id>Q573072-3257c52c-43e5-2b08-b6f2-d8dddb63c27c</id>
    <country_name>Neapolitan Republic</country_name>
    <country_wikidata>Q573072</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Naples</capital>
    <capital_wikidata>Q2634</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>40.8358</lat>
    <lon>14.2486</lon>
  </row>
  <row>
    <id>Q10914393-9D5035A4-6691-4B5D-B94A-C4E96E2B368D</id>
    <country_name>Neo-Assyrian Empire</country_name>
    <country_wikidata>Q10914393</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Assur</capital>
    <capital_wikidata>Q200200</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>35.4567</lat>
    <lon>43.2625</lon>
  </row>
  <row>
    <id>Q624887-2B602485-5C5B-4F29-A6DD-A16CD2C3BD47</id>
    <country_name>Neo-Babylonian Empire</country_name>
    <country_wikidata>Q624887</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Babylon</capital>
    <capital_wikidata>Q5684</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>32.5425</lat>
    <lon>44.4211</lon>
  </row>
  <row>
    <id>Q10715354-281003f1-4ca7-ab10-c279-f8bf644b3229</id>
    <country_name>Neo-Inca State</country_name>
    <country_wikidata>Q10715354</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vilcabamba</capital>
    <capital_wikidata>Q827432</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-12.9028</lat>
    <lon>-73.2058</lon>
  </row>
  <row>
    <id>Q837-5F693A55-8885-4B6A-A1F8-BB6F7D71C29F</id>
    <country_name>Nepal</country_name>
    <country_wikidata>Q837</country_wikidata>
    <country>NPL</country>
    <state_status>sovereign state</state_status>
    <capital>Kathmandu</capital>
    <capital_wikidata>Q3037</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>27.71</lat>
    <lon>85.32</lon>
  </row>
  <row>
    <id>Q25227-BFB75563-6DCE-48F3-93E8-0527175F8634</id>
    <country_name>Netherlands Antilles</country_name>
    <country_wikidata>Q25227</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Willemstad</capital>
    <capital_wikidata>Q132679</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>12.108</lat>
    <lon>-68.935</lon>
  </row>
  <row>
    <id>Q941881-495d6228-4b28-75d3-fe3a-d1025eaa4c3d</id>
    <country_name>Netherlands New Guinea</country_name>
    <country_wikidata>Q941881</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Jayapura</capital>
    <capital_wikidata>Q27860</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-2.5425</lat>
    <lon>140.7045</lon>
  </row>
  <row>
    <id>Q106577-8c92866c-4711-3393-7a46-bc449edb57e5</id>
    <country_name>Neustria</country_name>
    <country_wikidata>Q106577</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Soissons</capital>
    <capital_wikidata>Q167152</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>49.3811</lat>
    <lon>3.3225</lon>
  </row>
  <row>
    <id>Q119695-6274d12b-4eeb-fd20-5a5b-8059484cdfe5</id>
    <country_name>New Castile Governorate</country_name>
    <country_wikidata>Q119695</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lima</capital>
    <capital_wikidata>Q2868</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-12.06</lat>
    <lon>-77.0375</lon>
  </row>
  <row>
    <id>Q929693-2F1372C2-D072-4CA4-ADB2-6A45F1A72B92</id>
    <country_name>New Fatherland</country_name>
    <country_wikidata>Q929693</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Santiago</capital>
    <capital_wikidata>Q2887</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-33.4375</lat>
    <lon>-70.65</lon>
  </row>
  <row>
    <id>Q752431-c5750f1e-4270-4dbc-c4be-fc19713f8ee4</id>
    <country_name>New Hebrides</country_name>
    <country_wikidata>Q752431</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Port Vila</capital>
    <capital_wikidata>Q37806</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-17.7333</lat>
    <lon>168.3167</lon>
  </row>
  <row>
    <id>Q382593-adf42291-43e0-10b3-5b55-15f9d1192ebd</id>
    <country_name>New Netherland</country_name>
    <country_wikidata>Q382593</country_wikidata>
    <state_status>historical state</state_status>
    <capital>New Amsterdam</capital>
    <capital_wikidata>Q223308</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>40.7037</lat>
    <lon>-74.0124</lon>
  </row>
  <row>
    <id>Q664-28a141af-44f8-f164-6df2-58fb52e4d411</id>
    <country_name>New Zealand</country_name>
    <country_wikidata>Q664</country_wikidata>
    <country>NZL</country>
    <state_status>sovereign state</state_status>
    <capital>Okiato</capital>
    <capital_wikidata>Q7081990</capital_wikidata>
    <from>1840</from>
    <until>1841</until>
    <from_year>1840</from_year>
    <until_year>1841</until_year>
    <years_as_capital>1</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>-35.304</lat>
    <lon>174.122</lon>
  </row>
  <row>
    <id>Q664-86a1c22d-45f3-0a50-900f-af405b84a247</id>
    <country_name>New Zealand</country_name>
    <country_wikidata>Q664</country_wikidata>
    <country>NZL</country>
    <state_status>sovereign state</state_status>
    <capital>Auckland</capital>
    <capital_wikidata>Q37100</capital_wikidata>
    <from>1841</from>
    <until>1865</until>
    <from_year>1841</from_year>
    <until_year>1865</until_year>
    <years_as_capital>24</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>-36.8492</lat>
    <lon>174.7653</lon>
  </row>
  <row>
    <id>q664-113F2588-9597-488E-833D-5EB70E604B1F</id>
    <country_name>New Zealand</country_name>
    <country_wikidata>Q664</country_wikidata>
    <country>NZL</country>
    <state_status>sovereign state</state_status>
    <capital>Wellington</capital>
    <capital_wikidata>Q23661</capital_wikidata>
    <from>1865</from>
    <from_year>1865</from_year>
    <current>true</current>
    <capitals_count>3</capitals_count>
    <lat>-41.2889</lat>
    <lon>174.7772</lon>
  </row>
  <row>
    <id>Q6500483-82F82C55-DA6D-4258-9912-516C41FFB220</id>
    <country_name>Nguyen dynasty</country_name>
    <country_wikidata>Q6500483</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Huế</capital>
    <capital_wikidata>Q36167</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>16.4561</lat>
    <lon>107.5764</lon>
  </row>
  <row>
    <id>Q811-F1128675-34FF-42FF-B605-21D9CB720592</id>
    <country_name>Nicaragua</country_name>
    <country_wikidata>Q811</country_wikidata>
    <country>NIC</country>
    <state_status>sovereign state</state_status>
    <capital>Managua</capital>
    <capital_wikidata>Q131546626</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>12.1547</lat>
    <lon>-86.2737</lon>
  </row>
  <row>
    <id>Q552157-2D87BC40-868D-4484-A762-C2D7EEEF74B4</id>
    <country_name>Nieuwe Republiek</country_name>
    <country_wikidata>Q552157</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vryheid</capital>
    <capital_wikidata>Q1023254</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-27.7694</lat>
    <lon>30.7914</lon>
  </row>
  <row>
    <id>q1032-00309B55-2893-4781-9CD8-47A9410BBA77</id>
    <country_name>Niger</country_name>
    <country_wikidata>Q1032</country_wikidata>
    <country>NER</country>
    <state_status>sovereign state</state_status>
    <capital>Niamey</capital>
    <capital_wikidata>Q3674</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>13.515</lat>
    <lon>2.1175</lon>
  </row>
  <row>
    <id>Q1033-2216dea9-4510-c0f0-2b64-e5c5fec170ae</id>
    <country_name>Nigeria</country_name>
    <country_wikidata>Q1033</country_wikidata>
    <country>NGA</country>
    <state_status>sovereign state</state_status>
    <capital>Lagos</capital>
    <capital_wikidata>Q8673</capital_wikidata>
    <from>1914</from>
    <until>1991-12-12</until>
    <from_year>1914</from_year>
    <until_year>1991</until_year>
    <years_as_capital>77</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>6.4561</lat>
    <lon>3.3936</lon>
  </row>
  <row>
    <id>q1033-C13480D3-E125-4C8C-A9EC-56BC8078ABAA</id>
    <country_name>Nigeria</country_name>
    <country_wikidata>Q1033</country_wikidata>
    <country>NGA</country>
    <state_status>sovereign state</state_status>
    <capital>Abuja</capital>
    <capital_wikidata>Q3787</capital_wikidata>
    <from>1991-12-12</from>
    <from_year>1991</from_year>
    <current>true</current>
    <capitals_count>2</capitals_count>
    <lat>9.0556</lat>
    <lon>7.4914</lon>
  </row>
  <row>
    <id>Q6563843-b3e15453-4d8c-58e1-cf7c-6c9ef9e85b85</id>
    <country_name>Nizari Ismaili state</country_name>
    <country_wikidata>Q6563843</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Alamut Castle</capital>
    <capital_wikidata>Q4706020</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>36.4447</lat>
    <lon>50.5861</lon>
  </row>
  <row>
    <id>Q568523-1A13D324-E07A-458B-8847-9E6A99A3E8B1</id>
    <country_name>Nobatia</country_name>
    <country_wikidata>Q568523</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Faras</capital>
    <capital_wikidata>Q584387</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>22.2</lat>
    <lon>31.46</lon>
  </row>
  <row>
    <id>Q631210-85E13C4B-BB62-465C-A282-403029147373</id>
    <country_name>Nogai Horde</country_name>
    <country_wikidata>Q631210</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Saray-Jük</capital>
    <capital_wikidata>Q2996387</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>47.5</lat>
    <lon>51.7333</lon>
  </row>
  <row>
    <id>Q1994382-B9491ADB-B359-4A12-A398-D7895EC8D4E6</id>
    <country_name>North Caucasian Emirate</country_name>
    <country_wikidata>Q1994382</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vedeno</capital>
    <capital_wikidata>Q2312752</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>42.9616</lat>
    <lon>46.1038</lon>
  </row>
  <row>
    <id>Q7054713-b13048c6-4b43-3cc9-6678-7da29ee4585a</id>
    <country_name>North Caucasian Huns</country_name>
    <country_wikidata>Q7054713</country_wikidata>
    <state_status>historical state</state_status>
    <capital_wikidata>Q4103587</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
  </row>
  <row>
    <id>Q605000-4f5a89f5-4deb-55a6-7222-d8ebe9922ec2</id>
    <country_name>North Caucasian Soviet Republic</country_name>
    <country_wikidata>Q605000</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Pyatigorsk</capital>
    <capital_wikidata>Q41970</capital_wikidata>
    <from>1918-08-17</from>
    <from_year>1918</from_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>44.0333</lat>
    <lon>43.05</lon>
  </row>
  <row>
    <id>Q605000-5a67fc50-4c14-51f6-5e65-bbfb6deca404</id>
    <country_name>North Caucasian Soviet Republic</country_name>
    <country_wikidata>Q605000</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Krasnodar</capital>
    <capital_wikidata>Q3646</capital_wikidata>
    <until>1918-08-16</until>
    <until_year>1918</until_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>45.0333</lat>
    <lon>38.9833</lon>
  </row>
  <row>
    <id>Q150981-3d8de37a-4937-b458-71d9-05178112209e</id>
    <country_name>North German Confederation</country_name>
    <country_wikidata>Q150981</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Berlin</capital>
    <capital_wikidata>Q64</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.5167</lat>
    <lon>13.3833</lon>
  </row>
  <row>
    <id>Q1343485-135d4539-49a4-cc83-68ce-35c04b536121</id>
    <country_name>North Ingria</country_name>
    <country_wikidata>Q1343485</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kirjasalo</capital>
    <capital_wikidata>Q4221914</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>60.4724</lat>
    <lon>30.0839</lon>
  </row>
  <row>
    <id>q423-77EE033F-83F2-4C41-B953-660549372824</id>
    <country_name>North Korea</country_name>
    <country_wikidata>Q423</country_wikidata>
    <country>PRK</country>
    <state_status>sovereign state</state_status>
    <capital>Pyongyang</capital>
    <capital_wikidata>Q18808</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>39.0167</lat>
    <lon>125.7475</lon>
  </row>
  <row>
    <id>q221-BC8F710D-786A-400E-AFB5-4FDF3EFA5A18</id>
    <country_name>North Macedonia</country_name>
    <country_wikidata>Q221</country_wikidata>
    <country>MKD</country>
    <state_status>sovereign state</state_status>
    <capital>Skopje</capital>
    <capital_wikidata>Q384</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>41.9961</lat>
    <lon>21.4317</lon>
  </row>
  <row>
    <id>Q3281269-0A185281-0B86-42E4-8CBC-9DB40C025ADC</id>
    <country_name>North Sea Empire</country_name>
    <country_wikidata>Q3281269</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ribe</capital>
    <capital_wikidata>Q322361</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>55.3272</lat>
    <lon>8.7631</lon>
  </row>
  <row>
    <id>Q172640-046a6e8e-4960-a6c9-e806-6512f1a28506</id>
    <country_name>North Vietnam</country_name>
    <country_wikidata>Q172640</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Hanoi</capital>
    <capital_wikidata>Q1858</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>21.0245</lat>
    <lon>105.8412</lon>
  </row>
  <row>
    <id>Q110491318-33ec87c0-4b06-75aa-54e4-092fde843c7f</id>
    <country_name>Northern Liao</country_name>
    <country_wikidata>Q110491318</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Liao Nanjing</capital>
    <capital_wikidata>Q4312918</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>39.8906</lat>
    <lon>116.3511</lon>
  </row>
  <row>
    <id>Q2552742-1472E80B-B30E-46F0-A5AC-FB8EE9B62FFD</id>
    <country_name>Northland State</country_name>
    <country_wikidata>Q2552742</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Las Anod</capital>
    <capital_wikidata>Q1017223</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>8.4756</lat>
    <lon>47.3583</lon>
  </row>
  <row>
    <id>q20-CB7CF181-7CB4-495D-883B-2AD6CFBD6872</id>
    <country_name>Norway</country_name>
    <country_wikidata>Q20</country_wikidata>
    <country>NOR</country>
    <state_status>sovereign state</state_status>
    <capital>Oslo</capital>
    <capital_wikidata>Q585</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>59.9133</lat>
    <lon>10.7389</lon>
  </row>
  <row>
    <id>Q151536-29EC3FDF-F71F-4690-A9BC-D3924CAE33A8</id>
    <country_name>Novgorod Republic</country_name>
    <country_wikidata>Q151536</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Veliky Novgorod</capital>
    <capital_wikidata>Q2235</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>58.521</lat>
    <lon>31.2758</lon>
  </row>
  <row>
    <id>Q1392840-2a091c1c-457b-af6d-f6d1-6fea13fc91dd</id>
    <country_name>Novgorod Rus</country_name>
    <country_wikidata>Q1392840</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Rurikovo Gorodische</capital>
    <capital_wikidata>Q788556</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>58.4942</lat>
    <lon>31.2979</lon>
  </row>
  <row>
    <id>Q1392840-e26def3f-418f-5737-eca7-fdb251ff137e</id>
    <country_name>Novgorod Rus</country_name>
    <country_wikidata>Q1392840</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Staraya Ladoga</capital>
    <capital_wikidata>Q216794</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>59.9989</lat>
    <lon>32.2958</lon>
  </row>
  <row>
    <id>Q2437292-72ecef04-485a-c691-d704-d1932fdff028</id>
    <country_name>Nueva Galicia</country_name>
    <country_wikidata>Q2437292</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tepic</capital>
    <capital_wikidata>Q207972</capital_wikidata>
    <from>1532</from>
    <until>1540</until>
    <from_year>1532</from_year>
    <until_year>1540</until_year>
    <years_as_capital>8</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>21.5</lat>
    <lon>-104.9</lon>
  </row>
  <row>
    <id>Q2437292-239d9548-43a5-22f9-808b-ddb7cb38f6a7</id>
    <country_name>Nueva Galicia</country_name>
    <country_wikidata>Q2437292</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Compostela</capital>
    <capital_wikidata>Q20133103</capital_wikidata>
    <from>1540</from>
    <until>1560</until>
    <from_year>1540</from_year>
    <until_year>1560</until_year>
    <years_as_capital>20</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>21.2372</lat>
    <lon>-104.901</lon>
  </row>
  <row>
    <id>Q2437292-e8181806-49c1-cb45-6e2b-53a47daa9cea</id>
    <country_name>Nueva Galicia</country_name>
    <country_wikidata>Q2437292</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Guadalajara</capital>
    <capital_wikidata>Q9022</capital_wikidata>
    <from>1560</from>
    <until>1825</until>
    <from_year>1560</from_year>
    <until_year>1825</until_year>
    <years_as_capital>265</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>20.6764</lat>
    <lon>-103.3422</lon>
  </row>
  <row>
    <id>Q11608382-45ae8e69-474c-4a54-1ead-67ccd14f5555</id>
    <country_name>Oda regime</country_name>
    <country_wikidata>Q11608382</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Azuchi Castle</capital>
    <capital_wikidata>Q786888</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>35.156</lat>
    <lon>136.1394</lon>
  </row>
  <row>
    <id>Q2078820-6dd7177a-4a84-5546-a849-50855aa16040</id>
    <country_name>Odesa Soviet Republic</country_name>
    <country_wikidata>Q2078820</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Odesa</capital>
    <capital_wikidata>Q1874</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>46.4842</lat>
    <lon>30.7325</lon>
  </row>
  <row>
    <id>Q870517-EB5CADFB-1FF2-4F3C-A92F-920AD3712620</id>
    <country_name>Odrysian kingdom</country_name>
    <country_wikidata>Q870517</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Seuthopolis</capital>
    <capital_wikidata>Q1291235</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>42.6181</lat>
    <lon>25.3056</lon>
  </row>
  <row>
    <id>Q1099731-1f268a2f-4f62-5fd0-7ec1-ae41c2e3fdbe</id>
    <country_name>Oghuz Yabgu State</country_name>
    <country_wikidata>Q1099731</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Jankent</capital>
    <capital_wikidata>Q4537933</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>45.6119</lat>
    <lon>61.9217</lon>
  </row>
  <row>
    <id>Q733897-6acc1ba6-4fc7-1463-46d0-76bcafa295b7</id>
    <country_name>Old Babylonian Empire</country_name>
    <country_wikidata>Q733897</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Babylon</capital>
    <capital_wikidata>Q5684</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>32.5425</lat>
    <lon>44.4211</lon>
  </row>
  <row>
    <id>Q19831559-09b6a388-48e0-c329-6a20-b0a161e86b2f</id>
    <country_name>Oldenburg</country_name>
    <country_wikidata>Q19831559</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Oldenburg</capital>
    <capital_wikidata>Q2936</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>53.1439</lat>
    <lon>8.2139</lon>
  </row>
  <row>
    <id>Q4333992-36d9a70c-4f09-8e7c-417c-560501e3c47f</id>
    <country_name>Olonets Government of Southern Karelia</country_name>
    <country_wikidata>Q4333992</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Olonets</capital>
    <capital_wikidata>Q49583</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>60.9833</lat>
    <lon>32.9667</lon>
  </row>
  <row>
    <id>q842-F2B607A2-F00D-4D71-8EF0-7CE150C5BC32</id>
    <country_name>Oman</country_name>
    <country_wikidata>Q842</country_wikidata>
    <country>OMN</country>
    <state_status>sovereign state</state_status>
    <capital>Muscat</capital>
    <capital_wikidata>Q3826</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>23.6139</lat>
    <lon>58.5922</lon>
  </row>
  <row>
    <id>Q2342282-9AE18704-0AE2-4AB7-85FD-51E731DF46F6</id>
    <country_name>Oman proper</country_name>
    <country_wikidata>Q2342282</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nizwa</capital>
    <capital_wikidata>Q1915327</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>22.9333</lat>
    <lon>57.5333</lon>
  </row>
  <row>
    <id>Q22684779-14acdc75-45f4-7262-0175-43c3377d61ea</id>
    <country_name>Omani Empire</country_name>
    <country_wikidata>Q22684779</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Muscat</capital>
    <capital_wikidata>Q3826</capital_wikidata>
    <from>1792</from>
    <until>1824</until>
    <from_year>1792</from_year>
    <until_year>1824</until_year>
    <years_as_capital>32</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>23.6139</lat>
    <lon>58.5922</lon>
  </row>
  <row>
    <id>Q22684779-7aa6ba6e-43a8-b107-d5f1-d692fe9afa75</id>
    <country_name>Omani Empire</country_name>
    <country_wikidata>Q22684779</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Stone Town</capital>
    <capital_wikidata>Q844417</capital_wikidata>
    <from>1824</from>
    <from_year>1824</from_year>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>-6.1649</lat>
    <lon>39.1988</lon>
  </row>
  <row>
    <id>Q22684779-7f0ac62f-4198-188c-da40-3f260bf13bb4</id>
    <country_name>Omani Empire</country_name>
    <country_wikidata>Q22684779</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Rustaq</capital>
    <capital_wikidata>Q542678</capital_wikidata>
    <until>1792</until>
    <until_year>1792</until_year>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>23.3908</lat>
    <lon>57.4244</lon>
  </row>
  <row>
    <id>Q218023-90674e71-4619-fdc1-c08f-88f513cd2b3a</id>
    <country_name>Orange Free State</country_name>
    <country_wikidata>Q218023</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bloemfontein</capital>
    <capital_wikidata>Q37701</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-29.1</lat>
    <lon>26.2167</lon>
  </row>
  <row>
    <id>Q1142179-B2087E35-BC50-4A87-8CA6-1DFDBA5D24E0</id>
    <country_name>Orange River Colony</country_name>
    <country_wikidata>Q1142179</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bloemfontein</capital>
    <capital_wikidata>Q37701</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-29.1</lat>
    <lon>26.2167</lon>
  </row>
  <row>
    <id>Q3048062-69561417-4308-1baf-80ff-7ff4f454970d</id>
    <country_name>Orange River Sovereignty</country_name>
    <country_wikidata>Q3048062</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bloemfontein</capital>
    <capital_wikidata>Q37701</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-29.1</lat>
    <lon>26.2167</lon>
  </row>
  <row>
    <id>Q668415-9735ee8e-4af7-9943-038c-b16d055c5485</id>
    <country_name>Orchha State</country_name>
    <country_wikidata>Q668415</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Orchha</capital>
    <capital_wikidata>Q201631</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>25.35</lat>
    <lon>78.64</lon>
  </row>
  <row>
    <id>Q237234-7197d592-4d31-b1aa-89e5-543c03788ccb</id>
    <country_name>Osroene</country_name>
    <country_wikidata>Q237234</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Edessa</capital>
    <capital_wikidata>Q1190403</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.15</lat>
    <lon>38.7825</lon>
  </row>
  <row>
    <id>Q2981019-9f272b06-46a4-8eb4-6838-318f378fe1e6</id>
    <country_name>Ostikanate of Arminiya</country_name>
    <country_wikidata>Q2981019</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Barda</capital>
    <capital_wikidata>Q842869</capital_wikidata>
    <from>0789</from>
    <from_year>789</from_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>40.3831</lat>
    <lon>47.1186</lon>
  </row>
  <row>
    <id>Q2981019-54fb9bb2-4a23-3690-1416-37991a8b9bd7</id>
    <country_name>Ostikanate of Arminiya</country_name>
    <country_wikidata>Q2981019</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Dvin</capital>
    <capital_wikidata>Q429059</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>40.0044</lat>
    <lon>44.5783</lon>
  </row>
  <row>
    <id>Q583038-0938e832-41cc-cde7-30ea-fcdf7680c042</id>
    <country_name>Ostrogothic Kingdom</country_name>
    <country_wikidata>Q583038</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Pavia</capital>
    <capital_wikidata>Q6259</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>45.1853</lat>
    <lon>9.155</lon>
  </row>
  <row>
    <id>Q583038-7FDFD1D3-5A47-41D2-84E5-D43EC25D9D25</id>
    <country_name>Ostrogothic Kingdom</country_name>
    <country_wikidata>Q583038</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ravenna</capital>
    <capital_wikidata>Q115738657</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>44.4161</lat>
    <lon>12.2017</lon>
  </row>
  <row>
    <id>Q583038-ddde39fa-4646-85e0-096d-24f3e04a6af0</id>
    <country_name>Ostrogothic Kingdom</country_name>
    <country_wikidata>Q583038</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ravenna</capital>
    <capital_wikidata>Q13364</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>44.4161</lat>
    <lon>12.2017</lon>
  </row>
  <row>
    <id>Q12560-7ACED722-67E6-443B-9752-3014A6A75FA6</id>
    <country_name>Ottoman Empire</country_name>
    <country_wikidata>Q12560</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Söğüt</capital>
    <capital_wikidata>Q768506</capital_wikidata>
    <from>1299</from>
    <until>1329</until>
    <from_year>1299</from_year>
    <until_year>1329</until_year>
    <years_as_capital>30</years_as_capital>
    <current>false</current>
    <capitals_count>6</capitals_count>
    <lat>40.0186</lat>
    <lon>30.1814</lon>
  </row>
  <row>
    <id>Q12560-9e631af7-471d-73cc-c72d-d628ca859e06</id>
    <country_name>Ottoman Empire</country_name>
    <country_wikidata>Q12560</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bursa</capital>
    <capital_wikidata>Q40738</capital_wikidata>
    <from>1329</from>
    <until>1365</until>
    <from_year>1329</from_year>
    <until_year>1365</until_year>
    <years_as_capital>36</years_as_capital>
    <current>false</current>
    <capitals_count>6</capitals_count>
    <lat>40.1913</lat>
    <lon>29.0805</lon>
  </row>
  <row>
    <id>Q12560-fa6e4490-46d4-70ef-5608-e19559369f64</id>
    <country_name>Ottoman Empire</country_name>
    <country_wikidata>Q12560</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Didymoteicho</capital>
    <capital_wikidata>Q932648</capital_wikidata>
    <from>1361</from>
    <until>1363</until>
    <from_year>1361</from_year>
    <until_year>1363</until_year>
    <years_as_capital>2</years_as_capital>
    <current>false</current>
    <capitals_count>6</capitals_count>
    <lat>41.35</lat>
    <lon>26.5</lon>
  </row>
  <row>
    <id>Q12560-28526671-4e54-46c5-8d4f-43b9afc9c8e4</id>
    <country_name>Ottoman Empire</country_name>
    <country_wikidata>Q12560</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Edirne</capital>
    <capital_wikidata>Q43387</capital_wikidata>
    <from>1365</from>
    <until>1453</until>
    <from_year>1365</from_year>
    <until_year>1453</until_year>
    <years_as_capital>88</years_as_capital>
    <current>false</current>
    <capitals_count>6</capitals_count>
    <lat>41.673</lat>
    <lon>26.5736</lon>
  </row>
  <row>
    <id>Q12560-6c41d504-4649-647e-16c3-5ce527ab5552</id>
    <country_name>Ottoman Empire</country_name>
    <country_wikidata>Q12560</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Constantinople</capital>
    <capital_wikidata>Q16869</capital_wikidata>
    <from>1453</from>
    <until>1922</until>
    <from_year>1453</from_year>
    <until_year>1922</until_year>
    <years_as_capital>469</years_as_capital>
    <current>false</current>
    <capitals_count>6</capitals_count>
    <lat>41.0122</lat>
    <lon>28.976</lon>
  </row>
  <row>
    <id>Q12560-a6481dba-4402-77fe-68fb-945ac7066197</id>
    <country_name>Ottoman Empire</country_name>
    <country_wikidata>Q12560</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Istanbul</capital>
    <capital_wikidata>Q406</capital_wikidata>
    <current>false</current>
    <capitals_count>6</capitals_count>
    <lat>41.01</lat>
    <lon>28.9603</lon>
  </row>
  <row>
    <id>Q1132786-55A9F880-7731-4E51-BB47-ABF460F1D9BD</id>
    <country_name>Ouaddai Empire</country_name>
    <country_wikidata>Q1132786</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Abéché</capital>
    <capital_wikidata>Q242587</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>13.8331</lat>
    <lon>20.8347</lon>
  </row>
  <row>
    <id>Q849623-552D8A2E-521C-42AF-8E66-F873B4875BAC</id>
    <country_name>Oyo Empire</country_name>
    <country_wikidata>Q849623</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Oyo-Ile</capital>
    <capital_wikidata>Q18342086</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>7.8436</lat>
    <lon>3.9361</lon>
  </row>
  <row>
    <id>Q888574-2FD26696-9783-4FD6-8539-0B36C141FB4B</id>
    <country_name>Pagan kingdom</country_name>
    <country_wikidata>Q888574</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bagan</capital>
    <capital_wikidata>Q29317</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>21.1725</lat>
    <lon>94.86</lon>
  </row>
  <row>
    <id>Q3177715-A4BA5D85-586F-4E91-85D5-E38F04064D8D</id>
    <country_name>Pagaruyung Kingdom</country_name>
    <country_wikidata>Q3177715</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Batusangkar</capital>
    <capital_wikidata>Q2891928</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-0.45</lat>
    <lon>100.5833</lon>
  </row>
  <row>
    <id>Q107258515-a08e6c04-4e60-52eb-69c3-ce325d4d6fc0</id>
    <country_name>Pahlavi Iran</country_name>
    <country_wikidata>Q107258515</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tehran</capital>
    <capital_wikidata>Q3616</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>35.6889</lat>
    <lon>51.3897</lon>
  </row>
  <row>
    <id>Q843-9F017803-A088-42BC-881F-278D151FB8AC</id>
    <country_name>Pakistan</country_name>
    <country_wikidata>Q843</country_wikidata>
    <country>PAK</country>
    <state_status>sovereign state</state_status>
    <capital>Rawalpindi</capital>
    <capital_wikidata>Q93230</capital_wikidata>
    <from>1959</from>
    <until>1967</until>
    <from_year>1959</from_year>
    <until_year>1967</until_year>
    <years_as_capital>8</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>33.6007</lat>
    <lon>73.0679</lon>
  </row>
  <row>
    <id>q843-F7DB68C5-B8E0-4A08-B821-3A2348B22D11</id>
    <country_name>Pakistan</country_name>
    <country_wikidata>Q843</country_wikidata>
    <country>PAK</country>
    <state_status>sovereign state</state_status>
    <capital>Islamabad</capital>
    <capital_wikidata>Q1362</capital_wikidata>
    <current>true</current>
    <capitals_count>2</capitals_count>
    <lat>33.6989</lat>
    <lon>73.0369</lon>
  </row>
  <row>
    <id>Q668412-15820A52-CE6C-4E1D-9838-4A126E946908</id>
    <country_name>Pala Empire</country_name>
    <country_wikidata>Q668412</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Pataliputra</capital>
    <capital_wikidata>Q389755</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>25.611</lat>
    <lon>85.144</lon>
  </row>
  <row>
    <id>Q7126720-74ba6214-4781-67c9-8d35-100cb3db0a25</id>
    <country_name>Palanpur State</country_name>
    <country_wikidata>Q7126720</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Palanpur</capital>
    <capital_wikidata>Q949907</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>24.1667</lat>
    <lon>72.4333</lon>
  </row>
  <row>
    <id>Q675127-8f5dbc1f-49ff-3960-e633-db19c3f553b1</id>
    <country_name>Palatinate-Neuburg</country_name>
    <country_wikidata>Q675127</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Neuburg an der Donau</capital>
    <capital_wikidata>Q125652</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.7333</lat>
    <lon>11.1833</lon>
  </row>
  <row>
    <id>q695-C7B53E10-2B95-4D93-A800-3BE128E7CE02</id>
    <country_name>Palau</country_name>
    <country_wikidata>Q695</country_wikidata>
    <country>PLW</country>
    <state_status>sovereign state</state_status>
    <capital>Ngerulmud</capital>
    <capital_wikidata>Q515229</capital_wikidata>
    <from>2006-10-07</from>
    <from_year>2006</from_year>
    <current>true</current>
    <capitals_count>2</capitals_count>
    <lat>7.5006</lat>
    <lon>134.6242</lon>
  </row>
  <row>
    <id>Q695-b4218182-4a52-177a-3894-f93164ee61ba</id>
    <country_name>Palau</country_name>
    <country_wikidata>Q695</country_wikidata>
    <country>PLW</country>
    <state_status>sovereign state</state_status>
    <capital>Koror</capital>
    <capital_wikidata>Q527748</capital_wikidata>
    <until>2006-10-06</until>
    <until_year>2006</until_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>7.3433</lat>
    <lon>134.4804</lon>
  </row>
  <row>
    <id>Q219060-3d272d96-40f1-8c4f-2726-0d27416285e5</id>
    <country_name>Palestine</country_name>
    <country_wikidata>Q219060</country_wikidata>
    <country>PSE</country>
    <state_status>sovereign state</state_status>
    <capital>East Jerusalem</capital>
    <capital_wikidata>Q212938</capital_wikidata>
    <current>true</current>
    <role>de jure</role>
    <capitals_count>2</capitals_count>
    <lat>31.7834</lat>
    <lon>35.2339</lon>
  </row>
  <row>
    <id>Q219060-8bc3bee5-4949-4e56-4fa9-d1e5ae32e8f8</id>
    <country_name>Palestine</country_name>
    <country_wikidata>Q219060</country_wikidata>
    <country>PSE</country>
    <state_status>sovereign state</state_status>
    <capital>Ramallah</capital>
    <capital_wikidata>Q158119</capital_wikidata>
    <current>true</current>
    <role>de facto</role>
    <capitals_count>2</capitals_count>
    <lat>31.8969</lat>
    <lon>35.2017</lon>
  </row>
  <row>
    <id>Q17080982-ba444035-437f-ea2d-ccef-b9020e90f144</id>
    <country_name>Palistin</country_name>
    <country_wikidata>Q17080982</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tell Tayinat</capital>
    <capital_wikidata>Q907974</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>36.2475</lat>
    <lon>36.3764</lon>
  </row>
  <row>
    <id>Q466803-BA582CCE-96DF-4952-9589-53C188D1CC52</id>
    <country_name>Pallava dynasty</country_name>
    <country_wikidata>Q466803</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kanchipuram</capital>
    <capital_wikidata>Q212332</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>12.8308</lat>
    <lon>79.7078</lon>
  </row>
  <row>
    <id>Q877875-14D9C16B-E8DA-4904-9E75-A006F6946EF9</id>
    <country_name>Palmyrene Empire</country_name>
    <country_wikidata>Q877875</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Palmyra</capital>
    <capital_wikidata>Q5747</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>34.5504</lat>
    <lon>38.2698</lon>
  </row>
  <row>
    <id>q804-D95FC3A6-F20C-418B-ABFF-B14269CA7BBF</id>
    <country_name>Panama</country_name>
    <country_wikidata>Q804</country_wikidata>
    <country>PAN</country>
    <state_status>sovereign state</state_status>
    <capital>Panama City</capital>
    <capital_wikidata>Q3306</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>8.9711</lat>
    <lon>-79.5347</lon>
  </row>
  <row>
    <id>Q844910-16E4FC03-1120-4FEF-A429-61696115DDD8</id>
    <country_name>Pandya dynasty</country_name>
    <country_wikidata>Q844910</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Madurai</capital>
    <capital_wikidata>Q228405</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>9.9197</lat>
    <lon>78.1194</lon>
  </row>
  <row>
    <id>Q1588594-0d4cccc6-4b4b-a32b-fdfe-48e2eef3c743</id>
    <country_name>Panna State</country_name>
    <country_wikidata>Q1588594</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Panna</capital>
    <capital_wikidata>Q593695</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>24.72</lat>
    <lon>80.2</lon>
  </row>
  <row>
    <id>q170174-b3974b57-4b93-597d-d793-fd78596ae0a0</id>
    <country_name>Papal States</country_name>
    <country_wikidata>Q170174</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Rome</capital>
    <capital_wikidata>Q220</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.8931</lat>
    <lon>12.4828</lon>
  </row>
  <row>
    <id>q691-8A024A0D-8F19-4D88-AFC2-E5324DD78181</id>
    <country_name>Papua New Guinea</country_name>
    <country_wikidata>Q691</country_wikidata>
    <country>PNG</country>
    <state_status>sovereign state</state_status>
    <capital>Port Moresby</capital>
    <capital_wikidata>Q36526</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>-9.4789</lat>
    <lon>147.1494</lon>
  </row>
  <row>
    <id>q733-99241613-3CBE-4F2C-B7F6-3CA40C47E27E</id>
    <country_name>Paraguay</country_name>
    <country_wikidata>Q733</country_wikidata>
    <country>PRY</country>
    <state_status>sovereign state</state_status>
    <capital>Asunción</capital>
    <capital_wikidata>Q2933</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>-25.28</lat>
    <lon>-57.6344</lon>
  </row>
  <row>
    <id>Q514423-EDEB6D66-30A9-4A85-A32C-D17444A8BDD2</id>
    <country_name>Parthenopean Republic</country_name>
    <country_wikidata>Q514423</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Naples</capital>
    <capital_wikidata>Q2634</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>40.8358</lat>
    <lon>14.2486</lon>
  </row>
  <row>
    <id>Q1986139-3EAE8143-F546-4760-99EE-8C1A62EDC066</id>
    <country_name>Parthian Empire</country_name>
    <country_wikidata>Q1986139</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Hecatompylos</capital>
    <capital_wikidata>Q1518300</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>35.9531</lat>
    <lon>54.1037</lon>
  </row>
  <row>
    <id>Q1986139-48d53fe7-4784-7b4d-d327-cb100d1945ba</id>
    <country_name>Parthian Empire</country_name>
    <country_wikidata>Q1986139</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ctesiphon</capital>
    <capital_wikidata>Q192541</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>33.0936</lat>
    <lon>44.5808</lon>
  </row>
  <row>
    <id>Q1986139-8695c4a8-4464-f443-08b7-66f67ab59c31</id>
    <country_name>Parthian Empire</country_name>
    <country_wikidata>Q1986139</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Seleucia</capital>
    <capital_wikidata>Q1136681</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>33.1</lat>
    <lon>44.52</lon>
  </row>
  <row>
    <id>Q1986139-ab30f8dd-4c0d-7920-5284-e2cf6860a58c</id>
    <country_name>Parthian Empire</country_name>
    <country_wikidata>Q1986139</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nisa</capital>
    <capital_wikidata>Q854672</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>37.9512</lat>
    <lon>58.2124</lon>
  </row>
  <row>
    <id>Q917553-a53709c7-4867-f9bb-80a5-c59043116334</id>
    <country_name>Patiala State</country_name>
    <country_wikidata>Q917553</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Patiala</capital>
    <capital_wikidata>Q208162</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>30.5667</lat>
    <lon>76.6333</lon>
  </row>
  <row>
    <id>Q705044-246B4053-CC1B-484E-A987-B596F8371CA2</id>
    <country_name>People's Committee of North Korea</country_name>
    <country_wikidata>Q705044</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Pyongyang</capital>
    <capital_wikidata>Q18808</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>39.0167</lat>
    <lon>125.7475</lon>
  </row>
  <row>
    <id>Q940821-2A44AC24-0279-46D1-87C1-3BE7005E8A9B</id>
    <country_name>People's Democratic Republic of Ethiopia</country_name>
    <country_wikidata>Q940821</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Addis Ababa</capital>
    <capital_wikidata>Q3624</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>9.0358</lat>
    <lon>38.7525</lon>
  </row>
  <row>
    <id>Q2208280-cf9b2806-427b-aec5-e3d6-db3bd5e312ad</id>
    <country_name>People's Republic of Angola</country_name>
    <country_wikidata>Q2208280</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Luanda</capital>
    <capital_wikidata>Q3897</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-8.815</lat>
    <lon>13.23</lon>
  </row>
  <row>
    <id>Q862701-fba03ae6-42bc-4911-32a8-07e6595bec89</id>
    <country_name>People's Republic of Benin</country_name>
    <country_wikidata>Q862701</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Porto-Novo</capital>
    <capital_wikidata>Q3799</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>6.4833</lat>
    <lon>2.6167</lon>
  </row>
  <row>
    <id>Q121932-cf236aa6-4804-e45c-7224-f9f9724b2b5b</id>
    <country_name>People's Republic of Bulgaria</country_name>
    <country_wikidata>Q121932</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sofia</capital>
    <capital_wikidata>Q472</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>42.6979</lat>
    <lon>23.3217</lon>
  </row>
  <row>
    <id>q148-2C0B3817-A4B6-43AD-9CD8-43E069E5983F</id>
    <country_name>People's Republic of China</country_name>
    <country_wikidata>Q148</country_wikidata>
    <country>CHN</country>
    <state_status>sovereign state</state_status>
    <capital>Beijing</capital>
    <capital_wikidata>Q956</capital_wikidata>
    <from>1949-10-01</from>
    <from_year>1949</from_year>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>39.904</lat>
    <lon>116.4075</lon>
  </row>
  <row>
    <id>Q484370-77767def-4419-47f4-7048-fc766ec902f0</id>
    <country_name>People's Republic of Korea</country_name>
    <country_wikidata>Q484370</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Seoul</capital>
    <capital_wikidata>Q8684</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.56</lat>
    <lon>126.99</lon>
  </row>
  <row>
    <id>Q617078-5068D158-6E83-4574-BF1C-8897A2405F29</id>
    <country_name>People's Republic of Mozambique</country_name>
    <country_wikidata>Q617078</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Maputo</capital>
    <capital_wikidata>Q3889</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-25.9689</lat>
    <lon>32.5733</lon>
  </row>
  <row>
    <id>Q157535-8b98de59-4b0a-afcd-2ce6-0b82fc8b64d5</id>
    <country_name>People's Republic of Zanzibar</country_name>
    <country_wikidata>Q157535</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Zanzibar City</capital>
    <capital_wikidata>Q2222874</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-6.1667</lat>
    <lon>39.2</lon>
  </row>
  <row>
    <id>Q1152126-2563af31-4892-e4b0-dcef-1444bbb5021b</id>
    <country_name>People's Republic of the Congo</country_name>
    <country_wikidata>Q1152126</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Brazzaville</capital>
    <capital_wikidata>Q3844</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-4.2694</lat>
    <lon>15.2711</lon>
  </row>
  <row>
    <id>Q467864-818c2b65-4510-2f8c-caf5-3f1c8cfce741</id>
    <country_name>People's Socialist Republic of Albania</country_name>
    <country_wikidata>Q467864</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tirana</capital>
    <capital_wikidata>Q19689</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.3283</lat>
    <lon>19.8181</lon>
  </row>
  <row>
    <id>Q38251605-69d9e028-491d-abfd-3e77-c06473ee0f27</id>
    <country_name>People's State of Bavaria</country_name>
    <country_wikidata>Q38251605</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Munich</capital>
    <capital_wikidata>Q1726</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.1375</lat>
    <lon>11.575</lon>
  </row>
  <row>
    <id>Q83311-dec8d4a3-4bd9-9160-c3b5-7ecc20437e96</id>
    <country_name>Persian Empire</country_name>
    <country_wikidata>Q83311</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tehran</capital>
    <capital_wikidata>Q3616</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>35.6889</lat>
    <lon>51.3897</lon>
  </row>
  <row>
    <id>q419-AF161359-F909-47FA-8DC9-9B5CC7168E42</id>
    <country_name>Peru</country_name>
    <country_wikidata>Q419</country_wikidata>
    <country>PER</country>
    <state_status>sovereign state</state_status>
    <capital>Lima</capital>
    <capital_wikidata>Q2868</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>-12.06</lat>
    <lon>-77.0375</lon>
  </row>
  <row>
    <id>Q899706-c1cd555a-4531-7ad8-6848-40486a83c723</id>
    <country_name>Peru–Bolivian Confederation</country_name>
    <country_wikidata>Q899706</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tacna</capital>
    <capital_wikidata>Q272795</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-18.0556</lat>
    <lon>-70.2483</lon>
  </row>
  <row>
    <id>Q928-f8d0b41c-48a8-23ef-80b9-36229907e432</id>
    <country_name>Philippines</country_name>
    <country_wikidata>Q928</country_wikidata>
    <country>PHL</country>
    <state_status>sovereign state</state_status>
    <capital>Manila</capital>
    <capital_wikidata>Q1461</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>14.5958</lat>
    <lon>120.9772</lon>
  </row>
  <row>
    <id>Q41642-28E5316C-0EEC-4ED4-AD23-0CD94F54CFDF</id>
    <country_name>Phoenicia</country_name>
    <country_wikidata>Q41642</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sidon</capital>
    <capital_wikidata>Q163490</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>33.5606</lat>
    <lon>35.3758</lon>
  </row>
  <row>
    <id>Q41642-502eb7c0-42a5-d00c-457c-a666045ceba1</id>
    <country_name>Phoenicia</country_name>
    <country_wikidata>Q41642</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tyre</capital>
    <capital_wikidata>Q82070</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>33.2667</lat>
    <lon>35.2</lon>
  </row>
  <row>
    <id>Q36-ba2e72f1-4084-8dd6-c801-ff8f351d5090</id>
    <country_name>Poland</country_name>
    <country_wikidata>Q36</country_wikidata>
    <country>POL</country>
    <state_status>sovereign state</state_status>
    <capital>Kraków</capital>
    <capital_wikidata>Q31487</capital_wikidata>
    <from>1038</from>
    <until>1795</until>
    <from_year>1038</from_year>
    <until_year>1795</until_year>
    <years_as_capital>757</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>50.0614</lat>
    <lon>19.9372</lon>
  </row>
  <row>
    <id>q36-94D48ABA-3371-4101-8AD7-E85AB63F7B4F</id>
    <country_name>Poland</country_name>
    <country_wikidata>Q36</country_wikidata>
    <country>POL</country>
    <state_status>sovereign state</state_status>
    <capital>Warsaw</capital>
    <capital_wikidata>Q270</capital_wikidata>
    <from>1795</from>
    <from_year>1795</from_year>
    <current>true</current>
    <capitals_count>3</capitals_count>
    <lat>52.23</lat>
    <lon>21.0111</lon>
  </row>
  <row>
    <id>Q36-490f5be9-4495-1e37-d5f0-1d0ce706b863</id>
    <country_name>Poland</country_name>
    <country_wikidata>Q36</country_wikidata>
    <country>POL</country>
    <state_status>sovereign state</state_status>
    <capital>Gniezno</capital>
    <capital_wikidata>Q51432</capital_wikidata>
    <until>1038</until>
    <until_year>1038</until_year>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>52.5333</lat>
    <lon>17.6</lon>
  </row>
  <row>
    <id>Q211274-6844f21b-4481-6d59-b3df-26a2d446de38</id>
    <country_name>Polish People's Republic</country_name>
    <country_wikidata>Q211274</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lublin</capital>
    <capital_wikidata>Q37333</capital_wikidata>
    <from>1944</from>
    <until>1945</until>
    <from_year>1944</from_year>
    <until_year>1945</until_year>
    <years_as_capital>1</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>51.25</lat>
    <lon>22.5667</lon>
  </row>
  <row>
    <id>Q211274-5163AF87-BF93-46D7-A105-93EB0719FEE5</id>
    <country_name>Polish People's Republic</country_name>
    <country_wikidata>Q211274</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Warsaw</capital>
    <capital_wikidata>Q270</capital_wikidata>
    <from>1945</from>
    <until>1989</until>
    <from_year>1945</from_year>
    <until_year>1989</until_year>
    <years_as_capital>44</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>52.23</lat>
    <lon>21.0111</lon>
  </row>
  <row>
    <id>q172107-53a2c06d-4226-f98d-526a-4c8794b162cc</id>
    <country_name>Polish–Lithuanian Commonwealth</country_name>
    <country_wikidata>Q172107</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kraków</capital>
    <capital_wikidata>Q31487</capital_wikidata>
    <from>1569</from>
    <until>1596</until>
    <from_year>1569</from_year>
    <until_year>1596</until_year>
    <years_as_capital>27</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>50.0614</lat>
    <lon>19.9372</lon>
  </row>
  <row>
    <id>Q172107-ea2692b5-463a-b0f8-5d9b-2ee3a477faf4</id>
    <country_name>Polish–Lithuanian Commonwealth</country_name>
    <country_wikidata>Q172107</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vilnius</capital>
    <capital_wikidata>Q216</capital_wikidata>
    <from>1569</from>
    <until>1596</until>
    <from_year>1569</from_year>
    <until_year>1596</until_year>
    <years_as_capital>27</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>54.6872</lat>
    <lon>25.28</lon>
  </row>
  <row>
    <id>q172107-ecc273fe-4c6a-d2ee-0c5a-2c79ef63b19f</id>
    <country_name>Polish–Lithuanian Commonwealth</country_name>
    <country_wikidata>Q172107</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Warsaw</capital>
    <capital_wikidata>Q270</capital_wikidata>
    <from>1596</from>
    <until>1795</until>
    <from_year>1596</from_year>
    <until_year>1795</until_year>
    <years_as_capital>199</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>52.23</lat>
    <lon>21.0111</lon>
  </row>
  <row>
    <id>Q14552167-dd05d329-4386-e2d1-6ccd-3aa5634c06fb</id>
    <country_name>Porbandar State</country_name>
    <country_wikidata>Q14552167</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Chhaya</capital>
    <capital_wikidata>Q976318</capital_wikidata>
    <from>1547</from>
    <until>1785</until>
    <from_year>1547</from_year>
    <until_year>1785</until_year>
    <years_as_capital>238</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>21.6525</lat>
    <lon>69.6747</lon>
  </row>
  <row>
    <id>Q14552167-aa729f96-4a82-af8e-b02a-5befee8779d0</id>
    <country_name>Porbandar State</country_name>
    <country_wikidata>Q14552167</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Porbandar</capital>
    <capital_wikidata>Q6419912</capital_wikidata>
    <from>1785</from>
    <until>1948</until>
    <from_year>1785</from_year>
    <until_year>1948</until_year>
    <years_as_capital>163</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>21.6425</lat>
    <lon>69.6047</lon>
  </row>
  <row>
    <id>Q45-56e238d7-4534-c7b9-9b12-828220f71d42</id>
    <country_name>Portugal</country_name>
    <country_wikidata>Q45</country_wikidata>
    <country>PRT</country>
    <state_status>sovereign state</state_status>
    <capital>Coimbra</capital>
    <capital_wikidata>Q45412</capital_wikidata>
    <from>1129</from>
    <until>1255</until>
    <from_year>1129</from_year>
    <until_year>1255</until_year>
    <years_as_capital>126</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>40.2111</lat>
    <lon>-8.4289</lon>
  </row>
  <row>
    <id>q45-615BCF2B-6C0D-4A9C-A692-2CF29F230D6D</id>
    <country_name>Portugal</country_name>
    <country_wikidata>Q45</country_wikidata>
    <country>PRT</country>
    <state_status>sovereign state</state_status>
    <capital>Lisbon</capital>
    <capital_wikidata>Q597</capital_wikidata>
    <from>1385</from>
    <from_year>1385</from_year>
    <current>true</current>
    <capitals_count>2</capitals_count>
    <lat>38.708</lat>
    <lon>-9.139</lon>
  </row>
  <row>
    <id>Q200464-c110afb0-45b0-749b-e960-01cddfe70575</id>
    <country_name>Portuguese Empire</country_name>
    <country_wikidata>Q200464</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lisbon</capital>
    <capital_wikidata>Q597</capital_wikidata>
    <from>1415</from>
    <until>1815</until>
    <from_year>1415</from_year>
    <until_year>1815</until_year>
    <years_as_capital>400</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>38.708</lat>
    <lon>-9.139</lon>
  </row>
  <row>
    <id>Q200464-5ab35ae2-4646-f9cf-a8af-9e93440d29a7</id>
    <country_name>Portuguese Empire</country_name>
    <country_wikidata>Q200464</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Rio de Janeiro</capital>
    <capital_wikidata>Q8678</capital_wikidata>
    <from>1815</from>
    <until>1821</until>
    <from_year>1815</from_year>
    <until_year>1821</until_year>
    <years_as_capital>6</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>-22.9111</lat>
    <lon>-43.2056</lon>
  </row>
  <row>
    <id>Q200464-845a2578-4cbc-a6e5-2dd2-5f86cbca5faa</id>
    <country_name>Portuguese Empire</country_name>
    <country_wikidata>Q200464</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lisbon</capital>
    <capital_wikidata>Q597</capital_wikidata>
    <from>1821</from>
    <until>2002</until>
    <from_year>1821</from_year>
    <until_year>2002</until_year>
    <years_as_capital>181</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>38.708</lat>
    <lon>-9.139</lon>
  </row>
  <row>
    <id>Q2564694-C9EA136C-5214-4088-8460-17C0105602E4</id>
    <country_name>Powys Fadog</country_name>
    <country_wikidata>Q2564694</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Castell Dinas Brân</capital>
    <capital_wikidata>Q1226281</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.9792</lat>
    <lon>-3.1596</lon>
  </row>
  <row>
    <id>Q2670639-DC6CF97E-3819-49AE-BAD7-EAEE5AB60B45</id>
    <country_name>Powys Wenwynwyn</country_name>
    <country_wikidata>Q2670639</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Welshpool</capital>
    <capital_wikidata>Q1024911</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.6597</lat>
    <lon>-3.1472</lon>
  </row>
  <row>
    <id>Q175934-b8d76f1c-47f5-aff3-e616-411d66a3c4ac</id>
    <country_name>Pratapgarh State</country_name>
    <country_wikidata>Q175934</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Pratapgarh</capital>
    <capital_wikidata>Q1636939</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>24.0317</lat>
    <lon>74.7797</lon>
  </row>
  <row>
    <id>Q7242857-c28e8ef8-4ded-61c9-efc0-9c12b841db76</id>
    <country_name>Pridnestrovian Moldavian Soviet Socialist Republic</country_name>
    <country_wikidata>Q7242857</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tiraspol</capital>
    <capital_wikidata>Q132572</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>46.85</lat>
    <lon>29.6333</lon>
  </row>
  <row>
    <id>Q13496558-965e457d-4f90-e3a1-aece-63c2b4632c4e</id>
    <country_name>Prince-Bishopric of Brixen</country_name>
    <country_wikidata>Q13496558</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Brixen</capital>
    <capital_wikidata>Q185541</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>46.7166</lat>
    <lon>11.6579</lon>
  </row>
  <row>
    <id>Q318987-75312AC3-C137-43B2-B4F5-63A63531142D</id>
    <country_name>Prince-Bishopric of Eichstätt</country_name>
    <country_wikidata>Q318987</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Eichstätt</capital>
    <capital_wikidata>Q252772</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.8919</lat>
    <lon>11.1839</lon>
  </row>
  <row>
    <id>Q158835-3a037d3d-4daa-f74f-de7b-8e5ebdfb3bf1</id>
    <country_name>Prince-Bishopric of Liège</country_name>
    <country_wikidata>Q158835</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Liège</capital>
    <capital_wikidata>Q3992</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.6397</lat>
    <lon>5.5706</lon>
  </row>
  <row>
    <id>Q527527-783ead59-4422-8fd0-ec2c-a14540e213aa</id>
    <country_name>Prince-Bishopric of Lübeck</country_name>
    <country_wikidata>Q527527</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Oldenburg</capital>
    <capital_wikidata>Q2936</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>53.1439</lat>
    <lon>8.2139</lon>
  </row>
  <row>
    <id>Q527527-f81c34b7-4e6e-b46d-0f13-bfe6a5e7bec5</id>
    <country_name>Prince-Bishopric of Lübeck</country_name>
    <country_wikidata>Q527527</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Eutin</capital>
    <capital_wikidata>Q490445</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>54.1378</lat>
    <lon>10.6181</lon>
  </row>
  <row>
    <id>Q527527-ff5665ef-4ba1-8298-f027-464a70a10e7d</id>
    <country_name>Prince-Bishopric of Lübeck</country_name>
    <country_wikidata>Q527527</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lübeck</capital>
    <capital_wikidata>Q2843</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>53.8697</lat>
    <lon>10.6864</lon>
  </row>
  <row>
    <id>Q3324486-0e2e8c33-4433-87f7-ebc8-928666856165</id>
    <country_name>Prince-Bishopric of Montenegro</country_name>
    <country_wikidata>Q3324486</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Cetinje</capital>
    <capital_wikidata>Q173338</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>42.3894</lat>
    <lon>18.9247</lon>
  </row>
  <row>
    <id>Q574644-4633ACE1-3ACA-4DC0-999B-AA232F6F953E</id>
    <country_name>Prince-Bishopric of Speyer</country_name>
    <country_wikidata>Q574644</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Speyer</capital>
    <capital_wikidata>Q6829</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>49.3166</lat>
    <lon>8.4336</lon>
  </row>
  <row>
    <id>Q707767-E5288D62-7909-4126-88A6-EB3ED5E00346</id>
    <country_name>Prince-Bishopric of Utrecht</country_name>
    <country_wikidata>Q707767</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Utrecht</capital>
    <capital_wikidata>Q803</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.0908</lat>
    <lon>5.1217</lon>
  </row>
  <row>
    <id>Q865584-4B4AA5AC-15CA-4809-91FD-99C54BE467CE</id>
    <country_name>Princedom of Albania</country_name>
    <country_wikidata>Q865584</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Durrës</capital>
    <capital_wikidata>Q83285</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.3133</lat>
    <lon>19.4458</lon>
  </row>
  <row>
    <id>Q1760473-99813530-8448-4856-9992-81D8C5A0146F</id>
    <country_name>Principality of Abkhazia</country_name>
    <country_wikidata>Q1760473</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sokhumi</capital>
    <capital_wikidata>Q40811</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>43.0036</lat>
    <lon>41.0192</lon>
  </row>
  <row>
    <id>Q332005-8B7E8013-1C1F-4889-98C9-54E739452808</id>
    <country_name>Principality of Achaea</country_name>
    <country_wikidata>Q332005</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Andravida</capital>
    <capital_wikidata>Q493019</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.9058</lat>
    <lon>21.2667</lon>
  </row>
  <row>
    <id>Q187035-35670504-43fe-d966-4592-9a57baf6fec3</id>
    <country_name>Principality of Albania</country_name>
    <country_wikidata>Q187035</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Durrës</capital>
    <capital_wikidata>Q83285</capital_wikidata>
    <from>1914-03-07</from>
    <until>1920-01</until>
    <from_year>1914</from_year>
    <until_year>1920</until_year>
    <years_as_capital>6</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>41.3133</lat>
    <lon>19.4458</lon>
  </row>
  <row>
    <id>Q187035-0b4fc47c-4c48-dc16-329e-051cda787df5</id>
    <country_name>Principality of Albania</country_name>
    <country_wikidata>Q187035</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lushnjë</capital>
    <capital_wikidata>Q212680</capital_wikidata>
    <from>1920-01</from>
    <until>1920-02-08</until>
    <from_year>1920</from_year>
    <until_year>1920</until_year>
    <years_as_capital>0</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>40.9333</lat>
    <lon>19.7</lon>
  </row>
  <row>
    <id>Q187035-74bce1dc-4f2d-2bd8-db83-80b20ca0a352</id>
    <country_name>Principality of Albania</country_name>
    <country_wikidata>Q187035</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tirana</capital>
    <capital_wikidata>Q19689</capital_wikidata>
    <from>1920-02-08</from>
    <until>1925-01-15</until>
    <from_year>1920</from_year>
    <until_year>1925</until_year>
    <years_as_capital>5</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>41.3283</lat>
    <lon>19.8181</lon>
  </row>
  <row>
    <id>Q42199-2e7a8008-4ae1-488e-2db4-3990181febce</id>
    <country_name>Principality of Ansbach</country_name>
    <country_wikidata>Q42199</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ansbach</capital>
    <capital_wikidata>Q14859</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>49.3</lat>
    <lon>10.5833</lon>
  </row>
  <row>
    <id>Q235030-C21523AE-B745-46BF-AA7A-17426D21ECE5</id>
    <country_name>Principality of Antioch</country_name>
    <country_wikidata>Q235030</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Antioch</capital>
    <capital_wikidata>Q200441</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>36.2047</lat>
    <lon>36.1817</lon>
  </row>
  <row>
    <id>Q1975782-8ca55267-499b-9371-fb68-72dec073a4d4</id>
    <country_name>Principality of Arches and Charleville</country_name>
    <country_wikidata>Q1975782</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Charleville</capital>
    <capital_wikidata>Q1218954</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.8122</lat>
    <lon>3.6672</lon>
  </row>
  <row>
    <id>Q569202-a712f1b5-4726-8bd8-fe99-5951a61beff6</id>
    <country_name>Principality of Aschaffenburg</country_name>
    <country_wikidata>Q569202</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Aschaffenburg</capital>
    <capital_wikidata>Q3942</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>49.9741</lat>
    <lon>9.1494</lon>
  </row>
  <row>
    <id>Q34762-3834c0f4-4755-a159-b835-7305b0d517c1</id>
    <country_name>Principality of Bayreuth</country_name>
    <country_wikidata>Q34762</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bayreuth</capital>
    <capital_wikidata>Q3923</capital_wikidata>
    <from>1604</from>
    <from_year>1604</from_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>49.9481</lat>
    <lon>11.5783</lon>
  </row>
  <row>
    <id>Q34762-1E233F4C-F207-4A98-BA7F-3C94F03C5A78</id>
    <country_name>Principality of Bayreuth</country_name>
    <country_wikidata>Q34762</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kulmbach</capital>
    <capital_wikidata>Q157598</capital_wikidata>
    <until>1604</until>
    <until_year>1604</until_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>50.1081</lat>
    <lon>11.4556</lon>
  </row>
  <row>
    <id>Q2076823-18955D1D-2CCE-4700-A630-D63BFDCD973B</id>
    <country_name>Principality of Bidache</country_name>
    <country_wikidata>Q2076823</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bidache</capital>
    <capital_wikidata>Q197008</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>43.4833</lat>
    <lon>-1.1414</lon>
  </row>
  <row>
    <id>Q830084-0a1dc00e-49c7-738e-3f75-6411c52b9178</id>
    <country_name>Principality of Brunswick-Wolfenbüttel</country_name>
    <country_wikidata>Q830084</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Wolfenbüttel</capital>
    <capital_wikidata>Q4122</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>52.1622</lat>
    <lon>10.5369</lon>
  </row>
  <row>
    <id>Q830084-a8b82b5b-43f5-5319-e91b-2ebc6a1e7b5d</id>
    <country_name>Principality of Brunswick-Wolfenbüttel</country_name>
    <country_wikidata>Q830084</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Brunswick</capital>
    <capital_wikidata>Q2773</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>52.2692</lat>
    <lon>10.5211</lon>
  </row>
  <row>
    <id>Q815731-62648aa9-4768-35ac-df25-231237b3fb6a</id>
    <country_name>Principality of Bulgaria</country_name>
    <country_wikidata>Q815731</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sofia</capital>
    <capital_wikidata>Q472</capital_wikidata>
    <from>1879-04-03</from>
    <from_year>1879</from_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>42.6979</lat>
    <lon>23.3217</lon>
  </row>
  <row>
    <id>Q815731-67612B65-3891-4E93-AB9D-61CDFC941F69</id>
    <country_name>Principality of Bulgaria</country_name>
    <country_wikidata>Q815731</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Veliko Tarnovo</capital>
    <capital_wikidata>Q173474</capital_wikidata>
    <until>1879-04-03</until>
    <until_year>1879</until_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>43.0787</lat>
    <lon>25.6283</lon>
  </row>
  <row>
    <id>Q15581-B801EC80-99EE-4CBF-A430-B35586B6AAFA</id>
    <country_name>Principality of Catalonia</country_name>
    <country_wikidata>Q15581</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Barcelona</capital>
    <capital_wikidata>Q1492</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.3825</lat>
    <lon>2.1769</lon>
  </row>
  <row>
    <id>Q1322662-7f769f99-4bc5-ca1a-2369-f8239b519a36</id>
    <country_name>Principality of Chernigov</country_name>
    <country_wikidata>Q1322662</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Chernihiv</capital>
    <capital_wikidata>Q157053</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.4939</lat>
    <lon>31.2947</lon>
  </row>
  <row>
    <id>Q1483403-69baf701-466f-5fa6-b584-5367382dd8cb</id>
    <country_name>Principality of Dukagjini</country_name>
    <country_wikidata>Q1483403</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lezhë</capital>
    <capital_wikidata>Q169160</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.7805</lat>
    <lon>19.6434</lon>
  </row>
  <row>
    <id>Q531497-360a5fa5-4be7-4943-78ba-eb6eb7f58c01</id>
    <country_name>Principality of Erfurt</country_name>
    <country_wikidata>Q531497</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Erfurt</capital>
    <capital_wikidata>Q1729</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.9781</lat>
    <lon>11.0289</lon>
  </row>
  <row>
    <id>Q2109946-4ED28DF5-B55C-4FFE-8D13-6D836FDA245D</id>
    <country_name>Principality of Galilee</country_name>
    <country_wikidata>Q2109946</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tiberias</capital>
    <capital_wikidata>Q151920</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>32.7897</lat>
    <lon>35.5247</lon>
  </row>
  <row>
    <id>Q2195101-86afe4b3-4f68-4239-5e25-b2fd41eef4e6</id>
    <country_name>Principality of Guria</country_name>
    <country_wikidata>Q2195101</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ozurgeti</capital>
    <capital_wikidata>Q317145</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.923</lat>
    <lon>42.005</lon>
  </row>
  <row>
    <id>Q3403551-49fb80bb-4680-ce3e-039b-8c8974e0c8ac</id>
    <country_name>Principality of Halych</country_name>
    <country_wikidata>Q3403551</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Halych</capital>
    <capital_wikidata>Q146450</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>49.1128</lat>
    <lon>24.7217</lon>
  </row>
  <row>
    <id>Q673865-722966bf-4c5a-681e-5c63-62a74475fa5e</id>
    <country_name>Principality of Hohenzollern-Hechingen</country_name>
    <country_wikidata>Q673865</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Hechingen</capital>
    <capital_wikidata>Q494529</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.3517</lat>
    <lon>8.9633</lon>
  </row>
  <row>
    <id>Q157013-79cc9bbd-4666-6990-083d-4676a339e49a</id>
    <country_name>Principality of Hohenzollern-Sigmaringen</country_name>
    <country_wikidata>Q157013</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sigmaringen</capital>
    <capital_wikidata>Q82858</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.0869</lat>
    <lon>9.2167</lon>
  </row>
  <row>
    <id>Q2899771-2dd0d522-4051-68c5-ccb1-6e5a105118ab</id>
    <country_name>Principality of Hungary</country_name>
    <country_wikidata>Q2899771</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Székesfehérvár</capital>
    <capital_wikidata>Q130212</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>47.191</lat>
    <lon>18.4108</lon>
  </row>
  <row>
    <id>Q2899771-ECFBED72-77DE-4A51-AA84-998DC4A535E6</id>
    <country_name>Principality of Hungary</country_name>
    <country_wikidata>Q2899771</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Esztergom</capital>
    <capital_wikidata>Q171353</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>47.7856</lat>
    <lon>18.7403</lon>
  </row>
  <row>
    <id>Q199389-1f587b70-45eb-914e-8077-08a08ddf9fc4</id>
    <country_name>Principality of Iberia</country_name>
    <country_wikidata>Q199389</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ardanuç Castle</capital>
    <capital_wikidata>Q16365061</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>41.1267</lat>
    <lon>42.0546</lon>
  </row>
  <row>
    <id>Q199389-4862a4b6-494b-12e1-e790-5db374e4b7da</id>
    <country_name>Principality of Iberia</country_name>
    <country_wikidata>Q199389</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tbilisi</capital>
    <capital_wikidata>Q994</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>41.7225</lat>
    <lon>44.7925</lon>
  </row>
  <row>
    <id>Q199389-5c4f28c3-4cca-e28c-52f5-df9798f05919</id>
    <country_name>Principality of Iberia</country_name>
    <country_wikidata>Q199389</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Uplistsikhe</capital>
    <capital_wikidata>Q1351318</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>41.9667</lat>
    <lon>44.2075</lon>
  </row>
  <row>
    <id>Q1353404-f8c8a9c6-44d7-d1d2-2bd9-68f14b5c1180</id>
    <country_name>Principality of Kastrioti</country_name>
    <country_wikidata>Q1353404</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Krujë</capital>
    <capital_wikidata>Q194164</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.5108</lat>
    <lon>19.7925</lon>
  </row>
  <row>
    <id>Q1483430-45ea3539-4dec-c4d3-2779-0ad27c1ad4e8</id>
    <country_name>Principality of Kyiv</country_name>
    <country_wikidata>Q1483430</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kyiv</capital>
    <capital_wikidata>Q1899</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.45</lat>
    <lon>30.5236</lon>
  </row>
  <row>
    <id>Q541181-3e5eead9-4a28-ad31-080d-2ad0162358d1</id>
    <country_name>Principality of Leiningen</country_name>
    <country_wikidata>Q541181</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Amorbach</capital>
    <capital_wikidata>Q474051</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>49.6441</lat>
    <lon>9.2215</lon>
  </row>
  <row>
    <id>Q680997-4CA44CC3-75A5-402D-A561-737614ECA55E</id>
    <country_name>Principality of Lower Pannonia</country_name>
    <country_wikidata>Q680997</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Zalavár</capital>
    <capital_wikidata>Q145036</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>46.67</lat>
    <lon>17.1568</lon>
  </row>
  <row>
    <id>Q680997-a9feb810-434a-a588-b11b-2c5370723756</id>
    <country_name>Principality of Lower Pannonia</country_name>
    <country_wikidata>Q680997</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Blatnograd</capital>
    <capital_wikidata>Q567961</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>46.6608</lat>
    <lon>17.1378</lon>
  </row>
  <row>
    <id>Q2907860-3416cd4f-42b1-32d1-479c-824979db1ed4</id>
    <country_name>Principality of Mingrelia</country_name>
    <country_wikidata>Q2907860</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Zugdidi</capital>
    <capital_wikidata>Q185336</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>42.5081</lat>
    <lon>41.8725</lon>
  </row>
  <row>
    <id>Q10957559-d8e38c20-4e25-47e0-d0b5-36950d603120</id>
    <country_name>Principality of Moldavia</country_name>
    <country_wikidata>Q10957559</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Baia</capital>
    <capital_wikidata>Q1044072</capital_wikidata>
    <from>1343</from>
    <until>1354</until>
    <from_year>1343</from_year>
    <until_year>1354</until_year>
    <years_as_capital>11</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>47.4203</lat>
    <lon>26.2169</lon>
  </row>
  <row>
    <id>Q10957559-38407d72-4f6a-a211-ac67-40241c0ec9f9</id>
    <country_name>Principality of Moldavia</country_name>
    <country_wikidata>Q10957559</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Siret</capital>
    <capital_wikidata>Q587746</capital_wikidata>
    <from>1354</from>
    <until>1388</until>
    <from_year>1354</from_year>
    <until_year>1388</until_year>
    <years_as_capital>34</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>47.95</lat>
    <lon>26.06</lon>
  </row>
  <row>
    <id>Q10957559-ce923e27-492c-671c-2368-444d23d27c0b</id>
    <country_name>Principality of Moldavia</country_name>
    <country_wikidata>Q10957559</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Suceava</capital>
    <capital_wikidata>Q46400</capital_wikidata>
    <from>1388</from>
    <until>1564</until>
    <from_year>1388</from_year>
    <until_year>1564</until_year>
    <years_as_capital>176</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>47.6514</lat>
    <lon>26.2556</lon>
  </row>
  <row>
    <id>Q10957559-5938D504-FAF7-40B5-B3D2-F12E18E3DA5F</id>
    <country_name>Principality of Moldavia</country_name>
    <country_wikidata>Q10957559</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Iași</capital>
    <capital_wikidata>Q46852</capital_wikidata>
    <from>1564</from>
    <until>1859</until>
    <from_year>1564</from_year>
    <until_year>1859</until_year>
    <years_as_capital>295</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>47.1622</lat>
    <lon>27.5889</lon>
  </row>
  <row>
    <id>Q779011-9a3f3b52-4b71-cc60-23e8-3ed1343671ef</id>
    <country_name>Principality of Montenegro</country_name>
    <country_wikidata>Q779011</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Cetinje</capital>
    <capital_wikidata>Q173338</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>42.3894</lat>
    <lon>18.9247</lon>
  </row>
  <row>
    <id>Q837326-eecb748c-45a5-2742-d465-829a1ae87c6c</id>
    <country_name>Principality of Nitra</country_name>
    <country_wikidata>Q837326</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nitra</capital>
    <capital_wikidata>Q26397</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.3147</lat>
    <lon>18.0875</lon>
  </row>
  <row>
    <id>Q537503-1ACE039B-FE9D-41AC-B476-4BB9B9BA692C</id>
    <country_name>Principality of Piombino</country_name>
    <country_wikidata>Q537503</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Piombino</capital>
    <capital_wikidata>Q157824</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>42.9348</lat>
    <lon>10.5221</lon>
  </row>
  <row>
    <id>Q517333-03BE9637-A518-4E5C-AF1D-D2C72E19AD5C</id>
    <country_name>Principality of Polotsk</country_name>
    <country_wikidata>Q517333</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Polatsak</capital>
    <capital_wikidata>Q200797</capital_wikidata>
    <until>0980</until>
    <until_year>980</until_year>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>55.4833</lat>
    <lon>28.8</lon>
  </row>
  <row>
    <id>Q28669042-E5CCA256-5FB3-462B-BCB4-A33227656440</id>
    <country_name>Principality of Qandahar</country_name>
    <country_wikidata>Q28669042</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kandahar</capital>
    <capital_wikidata>Q45604</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>31.6207</lat>
    <lon>65.7159</lon>
  </row>
  <row>
    <id>Q701969-3ff25e74-40f8-fc35-4e45-e875dbb46041</id>
    <country_name>Principality of Regensburg</country_name>
    <country_wikidata>Q701969</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Regensburg</capital>
    <capital_wikidata>Q2978</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>49.0167</lat>
    <lon>12.0833</lon>
  </row>
  <row>
    <id>Q269109-43aec1ba-4cf3-1203-f066-63c0afafe82c</id>
    <country_name>Principality of Ryazan</country_name>
    <country_wikidata>Q269109</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ryazan</capital>
    <capital_wikidata>Q2746</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>54.63</lat>
    <lon>39.7425</lon>
  </row>
  <row>
    <id>Q269109-6956332d-43b9-9ec1-86f0-a3cd0fc1b679</id>
    <country_name>Principality of Ryazan</country_name>
    <country_wikidata>Q269109</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Staraya Ryazan</capital>
    <capital_wikidata>Q4439776</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>54.3971</lat>
    <lon>40.4277</lon>
  </row>
  <row>
    <id>Q19837669-462D8D36-9D27-469C-A923-5A737A654EAC</id>
    <country_name>Principality of Salm</country_name>
    <country_wikidata>Q19837669</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bocholt</capital>
    <capital_wikidata>Q3917</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.8333</lat>
    <lon>6.6167</lon>
  </row>
  <row>
    <id>Q2618121-bb28fe70-43f9-94f3-866c-36f857833d60</id>
    <country_name>Principality of Samos</country_name>
    <country_wikidata>Q2618121</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Samos</capital>
    <capital_wikidata>Q1018150</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.7581</lat>
    <lon>26.9744</lon>
  </row>
  <row>
    <id>Q1483480-2d9bda5c-4b47-7076-f807-dbd2bbe5abbb</id>
    <country_name>Principality of Sedan</country_name>
    <country_wikidata>Q1483480</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sedan</capital>
    <capital_wikidata>Q184371</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>49.7019</lat>
    <lon>4.9403</lon>
  </row>
  <row>
    <id>Q684030-06CED98F-9B00-4AE4-8169-218238776A30</id>
    <country_name>Principality of Serbia</country_name>
    <country_wikidata>Q684030</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kragujevac</capital>
    <capital_wikidata>Q167394</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>44.0101</lat>
    <lon>20.9172</lon>
  </row>
  <row>
    <id>Q13107370-77401826-5DBB-43C9-818B-B88543D604D8</id>
    <country_name>Principality of Serbia</country_name>
    <country_wikidata>Q13107370</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Stari Ras</capital>
    <capital_wikidata>Q917814</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>43.1283</lat>
    <lon>20.4157</lon>
  </row>
  <row>
    <id>Q1483495-e6ab5577-43a7-bda5-abc8-fc825da0fc2f</id>
    <country_name>Principality of Smolensk</country_name>
    <country_wikidata>Q1483495</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Smolensk</capital>
    <capital_wikidata>Q2337</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>54.7828</lat>
    <lon>32.0453</lon>
  </row>
  <row>
    <id>Q697781-9A001D3C-86F5-4FBB-9151-F2084D855617</id>
    <country_name>Principality of Stavelot-Malmedy</country_name>
    <country_wikidata>Q697781</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Stavelot</capital>
    <capital_wikidata>Q468920</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.3944</lat>
    <lon>5.9311</lon>
  </row>
  <row>
    <id>Q4318679-a52c2bdb-4e78-144c-786c-a995f4a202f7</id>
    <country_name>Principality of Suzdal—Nizhny Novgorod</country_name>
    <country_wikidata>Q4318679</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nizhny Novgorod</capital>
    <capital_wikidata>Q891</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>56.3269</lat>
    <lon>44.0075</lon>
  </row>
  <row>
    <id>Q655621-d0732f17-4f0f-82e4-737e-27eb8e66ac8f</id>
    <country_name>Principality of Transylvania</country_name>
    <country_wikidata>Q655621</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Alba Iulia</capital>
    <capital_wikidata>Q174665</capital_wikidata>
    <from>1570</from>
    <until>1692</until>
    <from_year>1570</from_year>
    <until_year>1692</until_year>
    <years_as_capital>122</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>46.0764</lat>
    <lon>23.5728</lon>
  </row>
  <row>
    <id>Q655621-bed2ad0c-4376-263d-71a2-ee308bf9f1f3</id>
    <country_name>Principality of Transylvania</country_name>
    <country_wikidata>Q655621</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sibiu</capital>
    <capital_wikidata>Q83324</capital_wikidata>
    <from>1692</from>
    <until>1711</until>
    <from_year>1692</from_year>
    <until_year>1711</until_year>
    <years_as_capital>19</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>45.8</lat>
    <lon>24.15</lon>
  </row>
  <row>
    <id>Q671362-c6a87541-4c89-c1b3-58dc-20278234a117</id>
    <country_name>Principality of Turov and Pinsk</country_name>
    <country_wikidata>Q671362</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Turov</capital>
    <capital_wikidata>Q265670</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.0717</lat>
    <lon>27.7297</lon>
  </row>
  <row>
    <id>Q163268-eb6f4c96-4489-425a-0571-1679d488c086</id>
    <country_name>Principality of Tver</country_name>
    <country_wikidata>Q163268</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tver</capital>
    <capital_wikidata>Q2288</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>56.8578</lat>
    <lon>35.9219</lon>
  </row>
  <row>
    <id>Q680472-6951A2A3-F109-4711-BE5F-72F350AA3244</id>
    <country_name>Principality of Volhynia</country_name>
    <country_wikidata>Q680472</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Volodymyr</capital>
    <capital_wikidata>Q33544</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.8481</lat>
    <lon>24.3222</lon>
  </row>
  <row>
    <id>Q165763-dd405707-4051-7ab7-acfb-c090a1630fc6</id>
    <country_name>Principality of Waldeck</country_name>
    <country_wikidata>Q165763</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bad Arolsen</capital>
    <capital_wikidata>Q498078</capital_wikidata>
    <from>1712-01-05</from>
    <until>1929-03-31</until>
    <from_year>1712</from_year>
    <until_year>1929</until_year>
    <years_as_capital>217</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>51.3778</lat>
    <lon>9.0167</lon>
  </row>
  <row>
    <id>Q165763-1601A194-847E-48FB-9F5B-E0E835134201</id>
    <country_name>Principality of Waldeck</country_name>
    <country_wikidata>Q165763</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Waldeck</capital>
    <capital_wikidata>Q540107</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>51.2</lat>
    <lon>9.0667</lon>
  </row>
  <row>
    <id>Q389004-c6b830e4-4b0c-af5c-cd64-9b2277f97115</id>
    <country_name>Principality of Wallachia</country_name>
    <country_wikidata>Q389004</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Curtea de Argeș</capital>
    <capital_wikidata>Q652838</capital_wikidata>
    <from>1330</from>
    <until>1418</until>
    <from_year>1330</from_year>
    <until_year>1418</until_year>
    <years_as_capital>88</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>45.1167</lat>
    <lon>24.6667</lon>
  </row>
  <row>
    <id>Q389004-e34212d8-4492-de8a-8ec9-36f9b6f506c1</id>
    <country_name>Principality of Wallachia</country_name>
    <country_wikidata>Q389004</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bucharest</capital>
    <capital_wikidata>Q19660</capital_wikidata>
    <from>1659</from>
    <from_year>1659</from_year>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>44.4134</lat>
    <lon>26.0978</lon>
  </row>
  <row>
    <id>Q389004-6F936190-B9E2-40E6-BC37-774F68DCC496</id>
    <country_name>Principality of Wallachia</country_name>
    <country_wikidata>Q389004</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Câmpulung</capital>
    <capital_wikidata>Q736296</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>45.275</lat>
    <lon>25.05</lon>
  </row>
  <row>
    <id>Q389004-82188fae-48a0-3263-031d-c209b7d56aab</id>
    <country_name>Principality of Wallachia</country_name>
    <country_wikidata>Q389004</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Târgoviște</capital>
    <capital_wikidata>Q188673</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>44.9244</lat>
    <lon>25.4572</lon>
  </row>
  <row>
    <id>Q178085-4a15f16b-44f5-ff1b-dbc2-5753ab8ef636</id>
    <country_name>Principality of Zeta</country_name>
    <country_wikidata>Q178085</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Obod</capital>
    <capital_wikidata>Q3445596</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>42.3045</lat>
    <lon>19.1552</lon>
  </row>
  <row>
    <id>Q178085-6e52aab9-4cbd-bdd2-eaf8-beadc6b49138</id>
    <country_name>Principality of Zeta</country_name>
    <country_wikidata>Q178085</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Žabljak Crnojevića</capital>
    <capital_wikidata>Q393311</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>42.3172</lat>
    <lon>19.1569</lon>
  </row>
  <row>
    <id>Q178085-8bd45408-4dda-c9c8-f7f6-cce80b0b5a9e</id>
    <country_name>Principality of Zeta</country_name>
    <country_wikidata>Q178085</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Cetinje</capital>
    <capital_wikidata>Q173338</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>42.3894</lat>
    <lon>18.9247</lon>
  </row>
  <row>
    <id>Q178085-cf1678fe-41d9-98c4-fb8f-f0fb2eb39e00</id>
    <country_name>Principality of Zeta</country_name>
    <country_wikidata>Q178085</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Shkodër</capital>
    <capital_wikidata>Q131638</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>42.0681</lat>
    <lon>19.5121</lon>
  </row>
  <row>
    <id>Q835619-12b0ca01-4104-e29c-2859-58c1eac10ad4</id>
    <country_name>Principality of the Briançonese</country_name>
    <country_wikidata>Q835619</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Briançon</capital>
    <capital_wikidata>Q203298</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>44.8958</lat>
    <lon>6.635</lon>
  </row>
  <row>
    <id>Q152750-e79c4e5d-4cf1-db2b-e022-fa930f19ee5d</id>
    <country_name>Protectorate of Bohemia and Moravia</country_name>
    <country_wikidata>Q152750</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Prague</capital>
    <capital_wikidata>Q1085</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.0875</lat>
    <lon>14.4214</lon>
  </row>
  <row>
    <id>Q7251405-e157dbc4-4443-4faa-c9d0-ad4ae951967a</id>
    <country_name>Protectorate of San Martín</country_name>
    <country_wikidata>Q7251405</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lima</capital>
    <capital_wikidata>Q2868</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-12.06</lat>
    <lon>-77.0375</lon>
  </row>
  <row>
    <id>Q10748344-11f5eedb-4004-30ce-06a9-c5423005fada</id>
    <country_name>Provisional Central Government of Vietnam</country_name>
    <country_wikidata>Q10748344</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Saigon</capital>
    <capital_wikidata>Q105076326</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>10.8022</lat>
    <lon>106.6969</lon>
  </row>
  <row>
    <id>Q1989935-cd0562e6-46c1-23e9-29de-399537268943</id>
    <country_name>Provisional Government of Albania</country_name>
    <country_wikidata>Q1989935</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vlorë</capital>
    <capital_wikidata>Q159610</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>40.45</lat>
    <lon>19.4833</lon>
  </row>
  <row>
    <id>Q2593459-B70C130E-C085-47BE-87E0-D4968C25E947</id>
    <country_name>Provisional Government of Hawaii</country_name>
    <country_wikidata>Q2593459</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Honolulu</capital>
    <capital_wikidata>Q18094</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>21.3047</lat>
    <lon>-157.8572</lon>
  </row>
  <row>
    <id>Q288200-CF01A690-5FD3-42D3-8997-D2A1F2DA1532</id>
    <country_name>Provisional Government of Mexico</country_name>
    <country_wikidata>Q288200</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mexico City</capital>
    <capital_wikidata>Q1489</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>19.3538</lat>
    <lon>-99.1359</lon>
  </row>
  <row>
    <id>Q28278-4A86FE24-5EEA-4BDC-8DCF-E2C079E1593E</id>
    <country_name>Provisional Government of the Republic of Korea</country_name>
    <country_wikidata>Q28278</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Seoul</capital>
    <capital_wikidata>Q8684</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.56</lat>
    <lon>126.99</lon>
  </row>
  <row>
    <id>Q1518576-d9f0952d-4324-15bb-a01c-ff76bf60fdf4</id>
    <country_name>Provisional National Government of the Southwestern Caucasus</country_name>
    <country_wikidata>Q1518576</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nakhchivan</capital>
    <capital_wikidata>Q230104</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>39.2089</lat>
    <lon>45.4122</lon>
  </row>
  <row>
    <id>Q1518576-EA6C40AC-B636-41EF-845D-8C015AFF8333</id>
    <country_name>Provisional National Government of the Southwestern Caucasus</country_name>
    <country_wikidata>Q1518576</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kars</capital>
    <capital_wikidata>Q127063</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>40.6078</lat>
    <lon>43.0958</lon>
  </row>
  <row>
    <id>Q60770428-0770103f-462d-0e35-2d09-a53e05fc5d0f</id>
    <country_name>Provisional People's Committee of North Korea</country_name>
    <country_wikidata>Q60770428</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Pyongyang</capital>
    <capital_wikidata>Q18808</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>39.0167</lat>
    <lon>125.7475</lon>
  </row>
  <row>
    <id>Q1072362-51b02027-4e94-0452-46dc-f9098475efc9</id>
    <country_name>Provisional Revolutionary Government of the Republic of South Vietnam</country_name>
    <country_wikidata>Q1072362</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ho Chi Minh City</capital>
    <capital_wikidata>Q1854</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>10.7756</lat>
    <lon>106.7019</lon>
  </row>
  <row>
    <id>Q1072362-E80D5CDB-8A7B-4FE4-BCA3-3B7B8BFB23AE</id>
    <country_name>Provisional Revolutionary Government of the Republic of South Vietnam</country_name>
    <country_wikidata>Q1072362</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tây Ninh</capital>
    <capital_wikidata>Q130391</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>11.3131</lat>
    <lon>106.0963</lon>
  </row>
  <row>
    <id>Q38872-32d9ffa1-4763-f783-17a5-4c6533f82f29</id>
    <country_name>Prussia</country_name>
    <country_wikidata>Q38872</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Königsberg</capital>
    <capital_wikidata>Q4120832</capital_wikidata>
    <from>1525</from>
    <until>1701</until>
    <from_year>1525</from_year>
    <until_year>1701</until_year>
    <years_as_capital>176</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>54.7115</lat>
    <lon>20.5093</lon>
  </row>
  <row>
    <id>Q38872-28562df6-4a63-ede5-c5fa-acd499ab0450</id>
    <country_name>Prussia</country_name>
    <country_wikidata>Q38872</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Berlin</capital>
    <capital_wikidata>Q64</capital_wikidata>
    <from>1701</from>
    <until>1947</until>
    <from_year>1701</from_year>
    <until_year>1947</until_year>
    <years_as_capital>246</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>52.5167</lat>
    <lon>13.3833</lon>
  </row>
  <row>
    <id>Q317078-0AC99EAB-14BD-44D0-9C33-9796A3B07DF4</id>
    <country_name>Pskov Republic</country_name>
    <country_wikidata>Q317078</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Pskov</capital>
    <capital_wikidata>Q2214</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>57.8167</lat>
    <lon>28.3333</lon>
  </row>
  <row>
    <id>Q3535371-b22af846-401b-6ad4-a442-28c42ca9e350</id>
    <country_name>Pudukkottai State</country_name>
    <country_wikidata>Q3535371</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Pudukkottai</capital>
    <capital_wikidata>Q921719</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>10.3833</lat>
    <lon>78.8167</lon>
  </row>
  <row>
    <id>Q63158027-d8e16ab2-4eae-7d98-ff35-089dd8ea5951</id>
    <country_name>Qajar Iran</country_name>
    <country_wikidata>Q63158027</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tehran</capital>
    <capital_wikidata>Q3616</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>35.6889</lat>
    <lon>51.3897</lon>
  </row>
  <row>
    <id>Q324470-30677e19-49f2-6cb2-380f-68d451cdfbdf</id>
    <country_name>Qara Qoyunlu</country_name>
    <country_wikidata>Q324470</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mosul</capital>
    <capital_wikidata>Q83317</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>36.3417</lat>
    <lon>43.1292</lon>
  </row>
  <row>
    <id>Q324470-C99E5730-80F4-4965-8958-EF5A9AA6ED12</id>
    <country_name>Qara Qoyunlu</country_name>
    <country_wikidata>Q324470</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tabriz</capital>
    <capital_wikidata>Q80053</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>38.0739</lat>
    <lon>46.2961</lon>
  </row>
  <row>
    <id>Q324470-da680d3c-436c-14bb-16a8-c80283ec76d6</id>
    <country_name>Qara Qoyunlu</country_name>
    <country_wikidata>Q324470</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Erciş</capital>
    <capital_wikidata>Q695365</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>39.0311</lat>
    <lon>43.3597</lon>
  </row>
  <row>
    <id>Q836169-5EADDF2F-6558-42E6-A1A7-DBB4E089A4B7</id>
    <country_name>Qasim Khanate</country_name>
    <country_wikidata>Q836169</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kasimov</capital>
    <capital_wikidata>Q145457</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>54.9583</lat>
    <lon>41.3972</lon>
  </row>
  <row>
    <id>Q748595-1ca25f10-4b36-c195-89f9-45d561d90c26</id>
    <country_name>Qataban</country_name>
    <country_wikidata>Q748595</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Timna</capital>
    <capital_wikidata>Q1533048</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>15.0017</lat>
    <lon>45.8158</lon>
  </row>
  <row>
    <id>q846-89F01413-BF1F-4D23-B98D-D84274069722</id>
    <country_name>Qatar</country_name>
    <country_wikidata>Q846</country_wikidata>
    <country>QAT</country>
    <state_status>sovereign state</state_status>
    <capital>Doha</capital>
    <capital_wikidata>Q3861</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>25.2861</lat>
    <lon>51.5294</lon>
  </row>
  <row>
    <id>Q837855-C374E539-4338-4860-B72A-7ED801A0AE1B</id>
    <country_name>Qi</country_name>
    <country_wikidata>Q837855</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ancient Linzi</capital>
    <capital_wikidata>Q865988</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>36.8898</lat>
    <lon>118.3379</lon>
  </row>
  <row>
    <id>Q1319681-8A18F0B9-70AE-4AF5-86E7-0E088AC3890D</id>
    <country_name>Qi</country_name>
    <country_wikidata>Q1319681</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Fengxiang District</capital>
    <capital_wikidata>Q1201619</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>34.5218</lat>
    <lon>107.3949</lon>
  </row>
  <row>
    <id>Q8733-e17ded11-4965-9bcf-0ad9-7674667eb318</id>
    <country_name>Qing dynasty</country_name>
    <country_wikidata>Q8733</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Fengtian Fu</capital>
    <capital_wikidata>Q10054424</capital_wikidata>
    <from>1625</from>
    <until>1644</until>
    <from_year>1625</from_year>
    <until_year>1644</until_year>
    <years_as_capital>19</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>41.7883</lat>
    <lon>123.4199</lon>
  </row>
  <row>
    <id>Q8733-0bbe4eb1-4dba-ee62-05f5-068fcd686518</id>
    <country_name>Qing dynasty</country_name>
    <country_wikidata>Q8733</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Fengtian Fu</capital>
    <capital_wikidata>Q10054424</capital_wikidata>
    <from>1644</from>
    <until>1905</until>
    <from_year>1644</from_year>
    <until_year>1905</until_year>
    <years_as_capital>261</years_as_capital>
    <current>false</current>
    <role>temporary capital</role>
    <capitals_count>2</capitals_count>
    <lat>41.7883</lat>
    <lon>123.4199</lon>
  </row>
  <row>
    <id>Q8733-29A743DF-470D-4878-BFB8-33477D4AC87F</id>
    <country_name>Qing dynasty</country_name>
    <country_wikidata>Q8733</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Shuntian Fu</capital>
    <capital_wikidata>Q7334692</capital_wikidata>
    <from>1644</from>
    <until>1912</until>
    <from_year>1644</from_year>
    <until_year>1912</until_year>
    <years_as_capital>268</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>39.905</lat>
    <lon>116.3914</lon>
  </row>
  <row>
    <id>Q2662180-0c2fcfde-4180-d6bc-38c4-2c421a3f7ad7</id>
    <country_name>Qocho</country_name>
    <country_wikidata>Q2662180</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Beiting</capital>
    <capital_wikidata>Q814907</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>44.0963</lat>
    <lon>89.2041</lon>
  </row>
  <row>
    <id>Q202775-D277E6B8-FA77-4649-851C-4B1262257080</id>
    <country_name>Qu'aiti Sultanate</country_name>
    <country_wikidata>Q202775</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mukalla</capital>
    <capital_wikidata>Q310772</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>14.5333</lat>
    <lon>49.1333</lon>
  </row>
  <row>
    <id>Q1740542-fd45f9fe-4d1f-0fb9-9d5f-4feac350b946</id>
    <country_name>Quba Khanate</country_name>
    <country_wikidata>Q1740542</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Xudat</capital>
    <capital_wikidata>Q2996307</capital_wikidata>
    <from>1726</from>
    <until>1735</until>
    <from_year>1726</from_year>
    <until_year>1735</until_year>
    <years_as_capital>9</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>41.6339</lat>
    <lon>48.6772</lon>
  </row>
  <row>
    <id>Q1740542-9e8b86da-48ea-daac-f611-5f07cf4390ad</id>
    <country_name>Quba Khanate</country_name>
    <country_wikidata>Q1740542</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Guba</capital>
    <capital_wikidata>Q647982</capital_wikidata>
    <from>1735</from>
    <until>1806</until>
    <from_year>1735</from_year>
    <until_year>1806</until_year>
    <years_as_capital>71</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>41.3653</lat>
    <lon>48.5264</lon>
  </row>
  <row>
    <id>Q2616953-f23cbbab-4e28-5918-3a93-12727845becf</id>
    <country_name>Quisling regime</country_name>
    <country_wikidata>Q2616953</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Oslo</capital>
    <capital_wikidata>Q585</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>59.9133</lat>
    <lon>10.7389</lon>
  </row>
  <row>
    <id>Q823862-7e669b17-4166-d3e4-dcd5-f5a47e455e82</id>
    <country_name>Quwê</country_name>
    <country_wikidata>Q823862</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Adana</capital>
    <capital_wikidata>Q38545</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>36.9864</lat>
    <lon>35.3253</lon>
  </row>
  <row>
    <id>Q1658411-9aa6ac86-46f9-963c-b2f3-e323efc81fab</id>
    <country_name>Raj of Sarawak</country_name>
    <country_wikidata>Q1658411</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kuching</capital>
    <capital_wikidata>Q220445</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>1.5575</lat>
    <lon>110.3439</lon>
  </row>
  <row>
    <id>Q2128715-82e8463c-4d24-4b26-ff71-7cc1adc1765b</id>
    <country_name>Rajgarh State</country_name>
    <country_wikidata>Q2128715</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Rajgarh</capital>
    <capital_wikidata>Q2468221</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>24.0083</lat>
    <lon>76.7325</lon>
  </row>
  <row>
    <id>Q2128743-f0a00b87-4ba3-8b75-003f-9ec5b17cbeca</id>
    <country_name>Rajkot State</country_name>
    <country_wikidata>Q2128743</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Rajkot</capital>
    <capital_wikidata>Q11854</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>22.2969</lat>
    <lon>70.7984</lon>
  </row>
  <row>
    <id>Q12490507-C3136FEA-C07F-4AAA-8B87-091ED03EA7D4</id>
    <country_name>Rashidun Caliphate</country_name>
    <country_wikidata>Q12490507</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Medina</capital>
    <capital_wikidata>Q35484</capital_wikidata>
    <from>0632</from>
    <until>0656</until>
    <from_year>632</from_year>
    <until_year>656</until_year>
    <years_as_capital>24</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>24.47</lat>
    <lon>39.61</lon>
  </row>
  <row>
    <id>Q12490507-9a1007eb-4cdd-eff0-d309-a917de8fb47f</id>
    <country_name>Rashidun Caliphate</country_name>
    <country_wikidata>Q12490507</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kufa</capital>
    <capital_wikidata>Q186234</capital_wikidata>
    <from>0656</from>
    <until>0661</until>
    <from_year>656</from_year>
    <until_year>661</until_year>
    <years_as_capital>5</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>32.03</lat>
    <lon>44.4</lon>
  </row>
  <row>
    <id>Q856691-3702A3BF-37D2-4E86-A876-E8FBE86DF134</id>
    <country_name>Rashtrakuta dynasty</country_name>
    <country_wikidata>Q856691</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Manyakheta</capital>
    <capital_wikidata>Q191771</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>17.195</lat>
    <lon>77.1608</lon>
  </row>
  <row>
    <id>Q2132267-74b5234b-4479-8b59-75da-c6ec5e027f0b</id>
    <country_name>Rasulid dynasty</country_name>
    <country_wikidata>Q2132267</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Old City of Taiz</capital>
    <capital_wikidata>Q139829337</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>13.5719</lat>
    <lon>44.012</lon>
  </row>
  <row>
    <id>Q1604981-7b6c262f-42d3-a477-d81a-23a44316ec96</id>
    <country_name>Ratlam State</country_name>
    <country_wikidata>Q1604981</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ratlam</capital>
    <capital_wikidata>Q652376</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>23.3167</lat>
    <lon>75.0667</lon>
  </row>
  <row>
    <id>Q1155700-3a232f88-4ef3-c04e-2935-43e6fc9988f8</id>
    <country_name>Rattanakosin Kingdom</country_name>
    <country_wikidata>Q1155700</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bangkok</capital>
    <capital_wikidata>Q1861</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>13.75</lat>
    <lon>100.5167</lon>
  </row>
  <row>
    <id>Q6412664-1f6521cf-4b35-249a-014a-d7cdac8b0136</id>
    <country_name>Realm of Stefan Dragutin</country_name>
    <country_wikidata>Q6412664</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Debrc</capital>
    <capital_wikidata>Q854385</capital_wikidata>
    <from>1276</from>
    <until>1283</until>
    <from_year>1276</from_year>
    <until_year>1283</until_year>
    <years_as_capital>7</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>44.6231</lat>
    <lon>19.9031</lon>
  </row>
  <row>
    <id>Q6412664-c4810c2c-499f-6a36-774a-4f093d540bf3</id>
    <country_name>Realm of Stefan Dragutin</country_name>
    <country_wikidata>Q6412664</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Belgrade</capital>
    <capital_wikidata>Q3711</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>44.8178</lat>
    <lon>20.4569</lon>
  </row>
  <row>
    <id>Q5102103-094d5ccb-4e1d-3f9a-1d91-635c8e09628d</id>
    <country_name>Reddy mahto dynasty</country_name>
    <country_wikidata>Q5102103</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Addanki</capital>
    <capital_wikidata>Q65665421</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>15.811</lat>
    <lon>79.9738</lon>
  </row>
  <row>
    <id>Q708865-3468523e-4acb-8068-1051-74363644b213</id>
    <country_name>Reformed Government of the Republic of China</country_name>
    <country_wikidata>Q708865</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nanjing</capital>
    <capital_wikidata>Q16666</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>32.0608</lat>
    <lon>118.7789</lon>
  </row>
  <row>
    <id>Q3045696-7da1de9c-4889-4682-bfe9-b13873d8c067</id>
    <country_name>Regency of Algiers</country_name>
    <country_wikidata>Q3045696</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Algiers</capital>
    <capital_wikidata>Q3561</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>36.7764</lat>
    <lon>3.0586</lon>
  </row>
  <row>
    <id>Q2994258-12cf999e-48f5-bc44-aafe-e7b153e4e5de</id>
    <country_name>Regional Defence Council of Aragon</country_name>
    <country_wikidata>Q2994258</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Caspe</capital>
    <capital_wikidata>Q64010</capital_wikidata>
    <from>1936-12-23</from>
    <until>1937-08-10</until>
    <from_year>1936</from_year>
    <until_year>1937</until_year>
    <years_as_capital>1</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>41.2367</lat>
    <lon>-0.0396</lon>
  </row>
  <row>
    <id>Q2994258-8661368f-46ba-091d-fc1b-4387e561e84b</id>
    <country_name>Regional Defence Council of Aragon</country_name>
    <country_wikidata>Q2994258</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Fraga</capital>
    <capital_wikidata>Q904212</capital_wikidata>
    <from>1936-10-06</from>
    <until>1936-12-23</until>
    <from_year>1936</from_year>
    <until_year>1936</until_year>
    <years_as_capital>0</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>41.5207</lat>
    <lon>0.3516</lon>
  </row>
  <row>
    <id>Q4412473-b2e6473d-4215-7976-7692-3b7cb947b980</id>
    <country_name>Regional Government of Northwest Russia</country_name>
    <country_wikidata>Q4412473</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tallinn</capital>
    <capital_wikidata>Q1770</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>59.4372</lat>
    <lon>24.745</lon>
  </row>
  <row>
    <id>Q15524976-6be2e39c-4faa-1a74-4c79-672741b82aa9</id>
    <country_name>Remnant Court of Qing Imperial Family</country_name>
    <country_wikidata>Q15524976</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Beijing</capital>
    <capital_wikidata>Q956</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>39.904</lat>
    <lon>116.4075</lon>
  </row>
  <row>
    <id>Q564809-5f180248-4dda-0850-8988-b61877f71e9f</id>
    <country_name>Republic of Acre</country_name>
    <country_wikidata>Q564809</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Porto Acre</capital>
    <capital_wikidata>Q1772602</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-9.5878</lat>
    <lon>-67.5328</lon>
  </row>
  <row>
    <id>Q1415128-7ef098ed-4520-9c8e-f058-70321bc5e9db</id>
    <country_name>Republic of Afghanistan</country_name>
    <country_wikidata>Q1415128</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kabul</capital>
    <capital_wikidata>Q5838</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>34.5328</lat>
    <lon>69.1658</lon>
  </row>
  <row>
    <id>Q1627613-BDEC0F8B-EDF0-4831-BC0F-FDB665A981EC</id>
    <country_name>Republic of Ancona</country_name>
    <country_wikidata>Q1627613</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ancona</capital>
    <capital_wikidata>Q3415</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>43.6167</lat>
    <lon>13.5167</lon>
  </row>
  <row>
    <id>Q150061-EA95B029-584C-4B3D-B1CF-33FDA5B51F97</id>
    <country_name>Republic of Ararat</country_name>
    <country_wikidata>Q150061</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Doğubayazıt</capital>
    <capital_wikidata>Q849535</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>39.55</lat>
    <lon>44.0833</lon>
  </row>
  <row>
    <id>Q244165-914D2683-403D-4990-8CFD-3E6C02FC118A</id>
    <country_name>Republic of Artsakh</country_name>
    <country_wikidata>Q244165</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Khankendi</capital>
    <capital_wikidata>Q129352</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>39.8153</lat>
    <lon>46.7519</lon>
  </row>
  <row>
    <id>Q690821-e1a78451-441d-b848-6d90-a3badcf9edb4</id>
    <country_name>Republic of Baden</country_name>
    <country_wikidata>Q690821</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Karlsruhe</capital>
    <capital_wikidata>Q1040</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>49.0167</lat>
    <lon>8.4</lon>
  </row>
  <row>
    <id>Q7314427-CA73D2DF-12FA-44FB-82CA-383F90EC5EF1</id>
    <country_name>Republic of Baja California</country_name>
    <country_wikidata>Q7314427</country_wikidata>
    <state_status>historical state</state_status>
    <capital>La Paz</capital>
    <capital_wikidata>Q214215</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>24.1486</lat>
    <lon>-110.3067</lon>
  </row>
  <row>
    <id>Q2776615-4b0d38da-4372-7e07-4431-e4416cf61e5f</id>
    <country_name>Republic of Batumi</country_name>
    <country_wikidata>Q2776615</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Batumi</capital>
    <capital_wikidata>Q25475</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.6458</lat>
    <lon>41.6417</lon>
  </row>
  <row>
    <id>Q1108659-50EE6F15-A6D0-4026-8D14-9D0A2B000254</id>
    <country_name>Republic of Benin</country_name>
    <country_wikidata>Q1108659</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Benin City</capital>
    <capital_wikidata>Q320704</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>6.3176</lat>
    <lon>5.6145</lon>
  </row>
  <row>
    <id>Q3456373-b2383bf1-4a40-e3e0-1c62-2ec39de61dfe</id>
    <country_name>Republic of Brescia</country_name>
    <country_wikidata>Q3456373</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Brescia</capital>
    <capital_wikidata>Q6221</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>45.5389</lat>
    <lon>10.2203</lon>
  </row>
  <row>
    <id>Q2368688-7dd57a38-47dc-23f6-ba44-e7c003ae9805</id>
    <country_name>Republic of Cabinda</country_name>
    <country_wikidata>Q2368688</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Cabinda</capital>
    <capital_wikidata>Q459360</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-5.5667</lat>
    <lon>12.2</lon>
  </row>
  <row>
    <id>Q1562357-813eb406-4222-2823-da6e-fa4e1d9b5f77</id>
    <country_name>Republic of Central Albania</country_name>
    <country_wikidata>Q1562357</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Durrës</capital>
    <capital_wikidata>Q83285</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.3133</lat>
    <lon>19.4458</lon>
  </row>
  <row>
    <id>Q523380-68BC0F49-9D23-4574-9DCC-B466CB193C1E</id>
    <country_name>Republic of Central Lithuania</country_name>
    <country_wikidata>Q523380</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vilnius</capital>
    <capital_wikidata>Q216</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>54.6872</lat>
    <lon>25.28</lon>
  </row>
  <row>
    <id>Q13426199-0dab0c21-46c2-744c-258d-f6bd30c7535d</id>
    <country_name>Republic of China</country_name>
    <country_wikidata>Q13426199</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Beijing</capital>
    <capital_wikidata>Q956</capital_wikidata>
    <from>1912</from>
    <until>1928</until>
    <from_year>1912</from_year>
    <until_year>1928</until_year>
    <years_as_capital>16</years_as_capital>
    <current>false</current>
    <capitals_count>7</capitals_count>
    <lat>39.904</lat>
    <lon>116.4075</lon>
  </row>
  <row>
    <id>Q13426199-54ed7d5b-4d67-d39e-5ce4-7c30962e3dee</id>
    <country_name>Republic of China</country_name>
    <country_wikidata>Q13426199</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nanjing Fu</capital>
    <capital_wikidata>Q24841127</capital_wikidata>
    <from>1912-01-01</from>
    <until>1912-03</until>
    <from_year>1912</from_year>
    <until_year>1912</until_year>
    <years_as_capital>0</years_as_capital>
    <current>false</current>
    <capitals_count>7</capitals_count>
  </row>
  <row>
    <id>Q13426199-82b62c22-4669-0ae0-0878-768ec758d86d</id>
    <country_name>Republic of China</country_name>
    <country_wikidata>Q13426199</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Shuntian Fu</capital>
    <capital_wikidata>Q7334692</capital_wikidata>
    <from>1912-03</from>
    <until>1914-10-04</until>
    <from_year>1912</from_year>
    <until_year>1914</until_year>
    <years_as_capital>2</years_as_capital>
    <current>false</current>
    <capitals_count>7</capitals_count>
    <lat>39.905</lat>
    <lon>116.3914</lon>
  </row>
  <row>
    <id>Q13426199-669e9520-4bfd-e915-fdf9-91e639c31655</id>
    <country_name>Republic of China</country_name>
    <country_wikidata>Q13426199</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Jingzhao</capital>
    <capital_wikidata>Q4164068</capital_wikidata>
    <from>1914-10-04</from>
    <until>1927</until>
    <from_year>1914</from_year>
    <until_year>1927</until_year>
    <years_as_capital>13</years_as_capital>
    <current>false</current>
    <capitals_count>7</capitals_count>
    <lat>39.905</lat>
    <lon>116.3914</lon>
  </row>
  <row>
    <id>Q13426199-7eed97be-44a8-4d31-a591-df8af6d85e4f</id>
    <country_name>Republic of China</country_name>
    <country_wikidata>Q13426199</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nan-ching</capital>
    <capital_wikidata>Q10906766</capital_wikidata>
    <from>1927</from>
    <until>1937</until>
    <from_year>1927</from_year>
    <until_year>1937</until_year>
    <years_as_capital>10</years_as_capital>
    <current>false</current>
    <capitals_count>7</capitals_count>
    <lat>32.0432</lat>
    <lon>118.7786</lon>
  </row>
  <row>
    <id>Q13426199-43b5d328-41ae-7e45-1c32-268059ac4588</id>
    <country_name>Republic of China</country_name>
    <country_wikidata>Q13426199</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nan-ching</capital>
    <capital_wikidata>Q10906766</capital_wikidata>
    <from>1928</from>
    <until>1949</until>
    <from_year>1928</from_year>
    <until_year>1949</until_year>
    <years_as_capital>21</years_as_capital>
    <current>false</current>
    <capitals_count>7</capitals_count>
    <lat>32.0432</lat>
    <lon>118.7786</lon>
  </row>
  <row>
    <id>Q13426199-76a26209-4b68-cc66-ea09-3e19c521cb43</id>
    <country_name>Republic of China</country_name>
    <country_wikidata>Q13426199</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ch'ung-ch'ing</capital>
    <capital_wikidata>Q46451169</capital_wikidata>
    <from>1937</from>
    <until>1946</until>
    <from_year>1937</from_year>
    <until_year>1946</until_year>
    <years_as_capital>9</years_as_capital>
    <current>false</current>
    <role>temporary capital</role>
    <capitals_count>7</capitals_count>
    <lat>29.55</lat>
    <lon>106.55</lon>
  </row>
  <row>
    <id>Q13426199-a3f6323b-4ddb-c3e9-a99b-f65fd10540f1</id>
    <country_name>Republic of China</country_name>
    <country_wikidata>Q13426199</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nan-ching</capital>
    <capital_wikidata>Q10906766</capital_wikidata>
    <from>1946</from>
    <until>1949-04</until>
    <from_year>1946</from_year>
    <until_year>1949</until_year>
    <years_as_capital>3</years_as_capital>
    <current>false</current>
    <capitals_count>7</capitals_count>
    <lat>32.0432</lat>
    <lon>118.7786</lon>
  </row>
  <row>
    <id>Q13426199-0fafe0bb-4ed2-a151-4250-86907740cbc6</id>
    <country_name>Republic of China</country_name>
    <country_wikidata>Q13426199</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kuang-chou</capital>
    <capital_wikidata>Q46452338</capital_wikidata>
    <from>1949-04</from>
    <until>1949-10</until>
    <from_year>1949</from_year>
    <until_year>1949</until_year>
    <years_as_capital>0</years_as_capital>
    <current>false</current>
    <role>temporary capital</role>
    <capitals_count>7</capitals_count>
    <lat>23.1288</lat>
    <lon>113.259</lon>
  </row>
  <row>
    <id>Q13426199-53f27fae-47a9-ec40-8b65-48761f5b0b47</id>
    <country_name>Republic of China</country_name>
    <country_wikidata>Q13426199</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ch'ung-ch'ing</capital>
    <capital_wikidata>Q46451169</capital_wikidata>
    <from>1949-10</from>
    <until>1949-11</until>
    <from_year>1949</from_year>
    <until_year>1949</until_year>
    <years_as_capital>0</years_as_capital>
    <current>false</current>
    <role>temporary capital</role>
    <capitals_count>7</capitals_count>
    <lat>29.55</lat>
    <lon>106.55</lon>
  </row>
  <row>
    <id>Q2393278-1ea79af0-4dd6-9852-d336-cd9cbbe69473</id>
    <country_name>Republic of Cospaia</country_name>
    <country_wikidata>Q2393278</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Cospaia</capital>
    <capital_wikidata>Q1087556</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>43.5594</lat>
    <lon>12.1708</lon>
  </row>
  <row>
    <id>Q14905932-d8e8250d-48b0-cb59-e0b4-4e9ba7a6ceb0</id>
    <country_name>Republic of Cuba</country_name>
    <country_wikidata>Q14905932</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Havana</capital>
    <capital_wikidata>Q1563</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>23.1367</lat>
    <lon>-82.3589</lon>
  </row>
  <row>
    <id>Q798431-f1f798f0-45e6-3a81-3614-559a77868759</id>
    <country_name>Republic of Dahomey</country_name>
    <country_wikidata>Q798431</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Porto-Novo</capital>
    <capital_wikidata>Q3799</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>6.4833</lat>
    <lon>2.6167</lon>
  </row>
  <row>
    <id>Q3087763-46d88d1b-4462-c423-eba2-4e94774ccee8</id>
    <country_name>Republic of Egypt</country_name>
    <country_wikidata>Q3087763</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Cairo</capital>
    <capital_wikidata>Q85</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>30.0444</lat>
    <lon>31.2358</lon>
  </row>
  <row>
    <id>Q3267672-E35D95A0-AD88-4049-BD4D-827966C5081E</id>
    <country_name>Republic of Entre Ríos</country_name>
    <country_wikidata>Q3267672</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Concepción del Uruguay</capital>
    <capital_wikidata>Q727464</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-32.4833</lat>
    <lon>-58.2333</lon>
  </row>
  <row>
    <id>Q714006-94065861-E961-4B40-AAD2-A2FBC4D97BF2</id>
    <country_name>Republic of Ezo</country_name>
    <country_wikidata>Q714006</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Hakodate</capital>
    <capital_wikidata>Q26418</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.7687</lat>
    <lon>140.7289</lon>
  </row>
  <row>
    <id>Q148540-B4FAE786-EDDF-4191-99BA-F7FAE7C7320E</id>
    <country_name>Republic of Florence</country_name>
    <country_wikidata>Q148540</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Florence</capital>
    <capital_wikidata>Q2044</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>43.7714</lat>
    <lon>11.2542</lon>
  </row>
  <row>
    <id>Q319881-8F47E275-E9F8-438A-8AD7-B1F902B03D0C</id>
    <country_name>Republic of Formosa</country_name>
    <country_wikidata>Q319881</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Taipei Prefecture</capital>
    <capital_wikidata>Q15935383</capital_wikidata>
    <from>1895-05-25</from>
    <until>1895-06</until>
    <from_year>1895</from_year>
    <until_year>1895</until_year>
    <years_as_capital>0</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>25.0478</lat>
    <lon>121.5319</lon>
  </row>
  <row>
    <id>Q319881-fe2e3820-4610-22ce-38fc-433981032ad6</id>
    <country_name>Republic of Formosa</country_name>
    <country_wikidata>Q319881</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tainan Prefecture</capital>
    <capital_wikidata>Q16078002</capital_wikidata>
    <from>1895-06</from>
    <until>1895-10</until>
    <from_year>1895</from_year>
    <until_year>1895</until_year>
    <years_as_capital>0</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>22.9833</lat>
    <lon>120.1833</lon>
  </row>
  <row>
    <id>Q23366230-9dfc5b12-489a-d11a-265e-baa3daadc2ab</id>
    <country_name>Republic of Geneva</country_name>
    <country_wikidata>Q23366230</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Geneva</capital>
    <capital_wikidata>Q71</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>46.2</lat>
    <lon>6.15</lon>
  </row>
  <row>
    <id>Q174306-083718AE-1456-4264-B798-5E5537CBDD11</id>
    <country_name>Republic of Genoa</country_name>
    <country_wikidata>Q174306</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Genoa</capital>
    <capital_wikidata>Q1449</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>44.4072</lat>
    <lon>8.9339</lon>
  </row>
  <row>
    <id>Q268970-10004308-4c13-6d4f-f052-c1fbd9177f70</id>
    <country_name>Republic of German-Austria</country_name>
    <country_wikidata>Q268970</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vienna</capital>
    <capital_wikidata>Q1741</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.2083</lat>
    <lon>16.3725</lon>
  </row>
  <row>
    <id>Q2145348-4A931ED2-E2A2-4B0C-A07C-2DBF1B1E84B0</id>
    <country_name>Republic of Graaff-Reinet</country_name>
    <country_wikidata>Q2145348</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Graaff-Reinet</capital>
    <capital_wikidata>Q1004667</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-32.2522</lat>
    <lon>24.5406</lon>
  </row>
  <row>
    <id>Q1057542-cfd4a4d7-4756-21dc-8d87-fd6df869a061</id>
    <country_name>Republic of Hawaii</country_name>
    <country_wikidata>Q1057542</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Honolulu</capital>
    <capital_wikidata>Q18094</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>21.3047</lat>
    <lon>-157.8572</lon>
  </row>
  <row>
    <id>Q13035917-c3e89c27-4560-bb81-0962-1ab7d8f0467c</id>
    <country_name>Republic of Kliprivier</country_name>
    <country_wikidata>Q13035917</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ladysmith</capital>
    <capital_wikidata>Q874262</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-28.5539</lat>
    <lon>29.7825</lon>
  </row>
  <row>
    <id>Q868942-4e4f6299-4b2c-9458-cf97-9cffc293379f</id>
    <country_name>Republic of Kuwait</country_name>
    <country_wikidata>Q868942</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kuwait City</capital>
    <capital_wikidata>Q35178</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>29.375</lat>
    <lon>47.98</lon>
  </row>
  <row>
    <id>Q8272919-1b7dfc6b-4a62-43ef-b5b8-dbf5129126de</id>
    <country_name>Republic of Lithuania</country_name>
    <country_wikidata>Q8272919</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vilnius</capital>
    <capital_wikidata>Q216</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>54.6872</lat>
    <lon>25.28</lon>
  </row>
  <row>
    <id>Q8272919-ddaf8d92-4390-c7a2-6985-b6695c6f2c73</id>
    <country_name>Republic of Lithuania</country_name>
    <country_wikidata>Q8272919</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kaunas</capital>
    <capital_wikidata>Q4115712</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>54.9</lat>
    <lon>23.9333</lon>
  </row>
  <row>
    <id>Q3456469-a0cf00e5-4a6c-1410-c414-d441b4391e14</id>
    <country_name>Republic of Liège</country_name>
    <country_wikidata>Q3456469</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Liège</capital>
    <capital_wikidata>Q3992</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.6397</lat>
    <lon>5.5706</lon>
  </row>
  <row>
    <id>Q1235720-C7D2D831-5AB2-41AD-A85E-027507355209</id>
    <country_name>Republic of Lucca</country_name>
    <country_wikidata>Q1235720</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lucca</capital>
    <capital_wikidata>Q13373</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>43.85</lat>
    <lon>10.5167</lon>
  </row>
  <row>
    <id>Q220167-48AE971A-490B-4E6E-8545-D0A621A93EFC</id>
    <country_name>Republic of Lydenburg</country_name>
    <country_wikidata>Q220167</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lydenburg</capital>
    <capital_wikidata>Q1836921</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-25.0958</lat>
    <lon>30.4556</lon>
  </row>
  <row>
    <id>Q1269910-42247A97-B784-44E3-AAC2-9A4A53E3D2CF</id>
    <country_name>Republic of Madawaska</country_name>
    <country_wikidata>Q1269910</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Fort Kent</capital>
    <capital_wikidata>Q899695</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>47.2586</lat>
    <lon>-68.5894</lon>
  </row>
  <row>
    <id>Q544630-2F649729-D79F-4D5D-915F-6D60189F7142</id>
    <country_name>Republic of Maryland</country_name>
    <country_wikidata>Q544630</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Harper</capital>
    <capital_wikidata>Q1019486</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>4.3667</lat>
    <lon>-7.7167</lon>
  </row>
  <row>
    <id>Q60838139-81a4eab9-4e63-9cdd-fdcc-3535f79a8dc6</id>
    <country_name>Republic of Massa</country_name>
    <country_wikidata>Q60838139</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Massa Marittima</capital>
    <capital_wikidata>Q214725</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>43.05</lat>
    <lon>10.8936</lon>
  </row>
  <row>
    <id>Q1926064-f914e95c-4cf7-75a0-7922-0874a015d346</id>
    <country_name>Republic of Mountainous Armenia</country_name>
    <country_wikidata>Q1926064</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Goris</capital>
    <capital_wikidata>Q319735</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>39.5111</lat>
    <lon>46.3417</lon>
  </row>
  <row>
    <id>Q3456410-c94b6a2a-4735-2d56-a2ca-21cc5f01c735</id>
    <country_name>Republic of Mulhouse</country_name>
    <country_wikidata>Q3456410</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mulhouse</capital>
    <capital_wikidata>Q79815</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>47.7486</lat>
    <lon>7.3392</lon>
  </row>
  <row>
    <id>Q630882-3ddfd1aa-4d3f-0e80-c5a2-8341a3c7e2bb</id>
    <country_name>Republic of New Granada</country_name>
    <country_wikidata>Q630882</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bogotá</capital>
    <capital_wikidata>Q2841</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>4.6097</lat>
    <lon>-74.0817</lon>
  </row>
  <row>
    <id>Q3933247-1ff6bcc9-4fa1-c63a-6b7c-8bb3d70334da</id>
    <country_name>Republic of Noli</country_name>
    <country_wikidata>Q3933247</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Noli</capital>
    <capital_wikidata>Q270968</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>44.2057</lat>
    <lon>8.4162</lon>
  </row>
  <row>
    <id>Q1365493-49811b07-46c2-71c7-bf1e-a6156a7a3c6e</id>
    <country_name>Republic of Pisa</country_name>
    <country_wikidata>Q1365493</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Pisa</capital>
    <capital_wikidata>Q13375</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>43.7167</lat>
    <lon>10.4</lon>
  </row>
  <row>
    <id>Q2037501-0d76b081-4508-69d2-dfff-fde9c7e651e6</id>
    <country_name>Republic of Ploiești</country_name>
    <country_wikidata>Q2037501</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ploiești</capital>
    <capital_wikidata>Q179585</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>44.9411</lat>
    <lon>26.0225</lon>
  </row>
  <row>
    <id>Q913828-3b56af22-48fb-ad19-fd8f-27963e95cb9a</id>
    <country_name>Republic of Prekmurje</country_name>
    <country_wikidata>Q913828</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Murska Sobota</capital>
    <capital_wikidata>Q15899</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>46.6586</lat>
    <lon>16.1619</lon>
  </row>
  <row>
    <id>Q208169-13e53e38-4d96-dd7d-3dd9-f3fe5a2f3f04</id>
    <country_name>Republic of Ragusa</country_name>
    <country_wikidata>Q208169</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Dubrovnik</capital>
    <capital_wikidata>Q1722</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>42.6403</lat>
    <lon>18.1083</lon>
  </row>
  <row>
    <id>Q541199-81E0F991-F1BF-4D38-8D37-C6FBDA2428EB</id>
    <country_name>Republic of Reuss</country_name>
    <country_wikidata>Q541199</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Gera</capital>
    <capital_wikidata>Q3750</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.8782</lat>
    <lon>12.0824</lon>
  </row>
  <row>
    <id>Q2412900-D1E5B81F-DEDC-4761-B34F-5AF42FC36A9E</id>
    <country_name>Republic of Salé</country_name>
    <country_wikidata>Q2412900</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Rabat</capital>
    <capital_wikidata>Q3551</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>34.0211</lat>
    <lon>-6.8414</lon>
  </row>
  <row>
    <id>Q2037576-9fb2424a-4869-3aab-8feb-9fb747dd7732</id>
    <country_name>Republic of San Marco</country_name>
    <country_wikidata>Q2037576</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Venice</capital>
    <capital_wikidata>Q641</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>45.4397</lat>
    <lon>12.3319</lon>
  </row>
  <row>
    <id>Q736727-ecf8cd20-424f-fdfd-5adf-4bb24b7c6c1b</id>
    <country_name>Republic of Siena</country_name>
    <country_wikidata>Q736727</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Siena</capital>
    <capital_wikidata>Q2751</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>43.3183</lat>
    <lon>11.3314</lon>
  </row>
  <row>
    <id>Q7314513-4C64FA6A-EE57-4E15-A4D7-08DFEE5E0019</id>
    <country_name>Republic of South Carolina</country_name>
    <country_wikidata>Q7314513</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Columbia</capital>
    <capital_wikidata>Q38453</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>34.0006</lat>
    <lon>-81.0442</lon>
  </row>
  <row>
    <id>Q1414395-92E0F4E9-D0A4-4D56-9BFD-12B5C18D143C</id>
    <country_name>Republic of South Maluku</country_name>
    <country_wikidata>Q1414395</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ambon</capital>
    <capital_wikidata>Q18970</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-3.6967</lat>
    <lon>128.1783</lon>
  </row>
  <row>
    <id>Q11681694-AF07D413-E017-461B-BA3B-A035328798A8</id>
    <country_name>Republic of Spanish Haiti</country_name>
    <country_wikidata>Q11681694</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Santo Domingo</capital>
    <capital_wikidata>Q34820</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>18.4625</lat>
    <lon>-69.9361</lon>
  </row>
  <row>
    <id>Q2639675-35DE9797-5FEA-44B3-B504-E15F94D47476</id>
    <country_name>Republic of Swellendam</country_name>
    <country_wikidata>Q2639675</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Swellendam</capital>
    <capital_wikidata>Q1023257</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-34.0231</lat>
    <lon>20.44</lon>
  </row>
  <row>
    <id>Q303836-e2e85f32-46fd-c9a5-b382-4faa509192d1</id>
    <country_name>Republic of Tarnobrzeg</country_name>
    <country_wikidata>Q303836</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tarnobrzeg</capital>
    <capital_wikidata>Q28516</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.5833</lat>
    <lon>21.6833</lon>
  </row>
  <row>
    <id>Q170588-a8e798ac-466e-5513-2dbb-33caa7a5d775</id>
    <country_name>Republic of Texas</country_name>
    <country_wikidata>Q170588</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Houston</capital>
    <capital_wikidata>Q16555</capital_wikidata>
    <from>1837</from>
    <until>1839</until>
    <from_year>1837</from_year>
    <until_year>1839</until_year>
    <years_as_capital>2</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>29.7628</lat>
    <lon>-95.3831</lon>
  </row>
  <row>
    <id>Q170588-06f6aa0f-4ea1-1860-5f43-9a00983df49d</id>
    <country_name>Republic of Texas</country_name>
    <country_wikidata>Q170588</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Austin</capital>
    <capital_wikidata>Q16559</capital_wikidata>
    <from>1839</from>
    <until>1846</until>
    <from_year>1839</from_year>
    <until_year>1846</until_year>
    <years_as_capital>7</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>30.3</lat>
    <lon>-97.7333</lon>
  </row>
  <row>
    <id>Q170588-107C87EB-9727-441C-9281-8592BAE8191D</id>
    <country_name>Republic of Texas</country_name>
    <country_wikidata>Q170588</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Washington-on-the-Brazos</capital>
    <capital_wikidata>Q540250</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>30.324</lat>
    <lon>-96.1535</lon>
  </row>
  <row>
    <id>Q4412594-b4120a9e-4a62-b1f4-833a-a8e8dc23d6dd</id>
    <country_name>Republic of Uhtua</country_name>
    <country_wikidata>Q4412594</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kalevala</capital>
    <capital_wikidata>Q1236657</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>65.2</lat>
    <lon>31.1667</lon>
  </row>
  <row>
    <id>Q797422-1e31390d-4b29-8d5d-c5a7-7903d01eee82</id>
    <country_name>Republic of Upper Volta</country_name>
    <country_wikidata>Q797422</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ouagadougou</capital>
    <capital_wikidata>Q3777</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>12.3686</lat>
    <lon>-1.5275</lon>
  </row>
  <row>
    <id>Q958477-A82AA558-17F7-4A42-B2E1-5744447D396E</id>
    <country_name>Republic of Utrecht</country_name>
    <country_wikidata>Q958477</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Utrecht</capital>
    <capital_wikidata>Q18108</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-27.66</lat>
    <lon>30.33</lon>
  </row>
  <row>
    <id>Q21296156-d1a23ba8-4b7d-cd86-3474-08cc3262485e</id>
    <country_name>Republic of Venezuela</country_name>
    <country_wikidata>Q21296156</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Caracas</capital>
    <capital_wikidata>Q1533</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>10.5061</lat>
    <lon>-66.9144</lon>
  </row>
  <row>
    <id>Q4948-4c9736f9-4dd6-574d-d11e-9210a68b9e02</id>
    <country_name>Republic of Venice</country_name>
    <country_wikidata>Q4948</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Eraclea</capital>
    <capital_wikidata>Q47986</capital_wikidata>
    <from>0697</from>
    <until>0742</until>
    <from_year>697</from_year>
    <until_year>742</until_year>
    <years_as_capital>45</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>45.5833</lat>
    <lon>12.6833</lon>
  </row>
  <row>
    <id>Q4948-412e3939-4226-924c-eb81-1fc14ec81dc6</id>
    <country_name>Republic of Venice</country_name>
    <country_wikidata>Q4948</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Malamocco</capital>
    <capital_wikidata>Q1886727</capital_wikidata>
    <from>0742</from>
    <until>0810</until>
    <from_year>742</from_year>
    <until_year>810</until_year>
    <years_as_capital>68</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>45.3717</lat>
    <lon>12.3383</lon>
  </row>
  <row>
    <id>q4948-61f7e5df-45fa-6bb1-fb74-1e87366d305e</id>
    <country_name>Republic of Venice</country_name>
    <country_wikidata>Q4948</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Venice</capital>
    <capital_wikidata>Q641</capital_wikidata>
    <from>0810</from>
    <until>1797</until>
    <from_year>810</from_year>
    <until_year>1797</until_year>
    <years_as_capital>987</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>45.4397</lat>
    <lon>12.3319</lon>
  </row>
  <row>
    <id>Q671658-6b2ecbdd-4043-e416-6ad6-e3794fcc28bd</id>
    <country_name>Republic of Yucatán</country_name>
    <country_wikidata>Q671658</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mérida</capital>
    <capital_wikidata>Q165204</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>20.97</lat>
    <lon>-89.62</lon>
  </row>
  <row>
    <id>Q3496573-8d3828d8-4d78-718f-b6c5-510735c5ea22</id>
    <country_name>Republic of Zamboanga</country_name>
    <country_wikidata>Q3496573</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Zamboanga</capital>
    <capital_wikidata>Q1629</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>6.9042</lat>
    <lon>122.0761</lon>
  </row>
  <row>
    <id>Q99930377-bb01a36b-4f61-73d9-3ed2-2cb18294a08a</id>
    <country_name>Republic of Zoutpansberg</country_name>
    <country_wikidata>Q99930377</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Zoutpansberg</capital>
    <capital_wikidata>Q3110404</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-23.0525</lat>
    <lon>29.77</lon>
  </row>
  <row>
    <id>q971-803F05B7-5A8B-4A07-902B-5C126EEC67AF</id>
    <country_name>Republic of the Congo</country_name>
    <country_wikidata>Q971</country_wikidata>
    <country>COG</country>
    <state_status>sovereign state</state_status>
    <capital>Brazzaville</capital>
    <capital_wikidata>Q3844</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>-4.2694</lat>
    <lon>15.2711</lon>
  </row>
  <row>
    <id>Q618399-9ca4a6f7-4bdd-4a5d-c97c-3a96881910cf</id>
    <country_name>Republic of the Congo (Léopoldville)</country_name>
    <country_wikidata>Q618399</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kinshasa</capital>
    <capital_wikidata>Q3838</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-4.3219</lat>
    <lon>15.3119</lon>
  </row>
  <row>
    <id>Q4393602-5a5b9f41-4491-eed9-8a6d-841a2a1e36a7</id>
    <country_name>Republic of the North Solomons</country_name>
    <country_wikidata>Q4393602</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Arawa</capital>
    <capital_wikidata>Q626729</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>-6.225</lat>
    <lon>155.5667</lon>
  </row>
  <row>
    <id>Q4393602-5C465C3F-0A9E-4F0A-840D-5E495559A073</id>
    <country_name>Republic of the North Solomons</country_name>
    <country_wikidata>Q4393602</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Buka</capital>
    <capital_wikidata>Q2482800</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>-5.4219</lat>
    <lon>154.6728</lon>
  </row>
  <row>
    <id>Q4325153-b9b7434d-4b22-aa88-30a7-9d3798cb86ab</id>
    <country_name>Republic of the Novorossiysk</country_name>
    <country_wikidata>Q4325153</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Novorossiysk</capital>
    <capital_wikidata>Q15760</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>44.7167</lat>
    <lon>37.7667</lon>
  </row>
  <row>
    <id>Q37102-2636b13f-4279-8d6a-a07a-97618480b6ca</id>
    <country_name>Republic of the Rif</country_name>
    <country_wikidata>Q37102</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ajdir</capital>
    <capital_wikidata>Q412703</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>35.1932</lat>
    <lon>-3.9152</lon>
  </row>
  <row>
    <id>Q2014442-CA9CCDEE-69CF-4B4D-9986-A41048EE9D43</id>
    <country_name>Republic of the Río Grande</country_name>
    <country_wikidata>Q2014442</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Laredo</capital>
    <capital_wikidata>Q16868</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>27.5061</lat>
    <lon>-99.5072</lon>
  </row>
  <row>
    <id>Q3302610-84d3236c-4882-2da6-d01c-385f272dd87a</id>
    <country_name>Restored Hanthawaddy Kingdom</country_name>
    <country_wikidata>Q3302610</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bago</capital>
    <capital_wikidata>Q800122</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>17.3433</lat>
    <lon>96.4981</lon>
  </row>
  <row>
    <id>Q16086793-A81CE1BE-CF1B-4202-8A50-D67CA91C8CFB</id>
    <country_name>Revolutionary Serbia</country_name>
    <country_wikidata>Q16086793</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Topola</capital>
    <capital_wikidata>Q991072</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>44.2525</lat>
    <lon>20.6761</lon>
  </row>
  <row>
    <id>Q176466-d7b75ea6-49b2-f6fb-06e7-e0f7dc446f0d</id>
    <country_name>Rewa State</country_name>
    <country_wikidata>Q176466</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Rewa</capital>
    <capital_wikidata>Q1000495</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>24.5167</lat>
    <lon>81.2833</lon>
  </row>
  <row>
    <id>Q1638408-19443116-41d4-ddaa-5ba8-cd037eeba3ff</id>
    <country_name>Rinpungpa</country_name>
    <country_wikidata>Q1638408</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Shigatse</capital>
    <capital_wikidata>Q1211183</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>29.25</lat>
    <lon>88.8833</lon>
  </row>
  <row>
    <id>Q162192-586288d2-4517-07bf-cafe-60456802339e</id>
    <country_name>Riograndense Republic</country_name>
    <country_wikidata>Q162192</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Caçapava do Sul</capital>
    <capital_wikidata>Q1749869</capital_wikidata>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>-30.5119</lat>
    <lon>-53.4908</lon>
  </row>
  <row>
    <id>Q162192-a13b9163-4d0e-cb13-6ca1-3a69f25b2baa</id>
    <country_name>Riograndense Republic</country_name>
    <country_wikidata>Q162192</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Piratini</capital>
    <capital_wikidata>Q1638441</capital_wikidata>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>-31.4478</lat>
    <lon>-53.1039</lon>
  </row>
  <row>
    <id>Q162192-a4537d56-479c-876a-9216-a23f2475743d</id>
    <country_name>Riograndense Republic</country_name>
    <country_wikidata>Q162192</country_wikidata>
    <state_status>historical state</state_status>
    <capital>São Borja</capital>
    <capital_wikidata>Q385327</capital_wikidata>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>-28.6608</lat>
    <lon>-56.0039</lon>
  </row>
  <row>
    <id>Q162192-a9931894-42c2-886b-7ed3-f28dc267dbd6</id>
    <country_name>Riograndense Republic</country_name>
    <country_wikidata>Q162192</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bagé</capital>
    <capital_wikidata>Q119140</capital_wikidata>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>-31.3308</lat>
    <lon>-54.1069</lon>
  </row>
  <row>
    <id>Q162192-e87f8fc9-41f6-d537-1fa6-f6aa1430cdaa</id>
    <country_name>Riograndense Republic</country_name>
    <country_wikidata>Q162192</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Alegrete</capital>
    <capital_wikidata>Q851276</capital_wikidata>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>-29.7839</lat>
    <lon>-55.7911</lon>
  </row>
  <row>
    <id>Q1247508-A63B345D-930F-473F-A06A-41EEEC8013EC</id>
    <country_name>Romain-Gaul domain of Soissons</country_name>
    <country_wikidata>Q1247508</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Soissons</capital>
    <capital_wikidata>Q167152</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>49.3811</lat>
    <lon>3.3225</lon>
  </row>
  <row>
    <id>q2277-7188A5B8-5682-4561-B024-26D33391EFB8</id>
    <country_name>Roman Empire</country_name>
    <country_wikidata>Q2277</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Rome</capital>
    <capital_wikidata>Q220</capital_wikidata>
    <from>-27</from>
    <until>0395</until>
    <from_year>-27</from_year>
    <until_year>395</until_year>
    <years_as_capital>421</years_as_capital>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>41.8931</lat>
    <lon>12.4828</lon>
  </row>
  <row>
    <id>Q2277-6cbcbcc7-4455-ef89-e7b4-f2cab9335478</id>
    <country_name>Roman Empire</country_name>
    <country_wikidata>Q2277</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Milan</capital>
    <capital_wikidata>Q490</capital_wikidata>
    <from>0395</from>
    <until>0402</until>
    <from_year>395</from_year>
    <until_year>402</until_year>
    <years_as_capital>7</years_as_capital>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>45.4669</lat>
    <lon>9.19</lon>
  </row>
  <row>
    <id>Q2277-c18a75d4-4ef2-e672-3551-ce634cd27698</id>
    <country_name>Roman Empire</country_name>
    <country_wikidata>Q2277</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ravenna</capital>
    <capital_wikidata>Q13364</capital_wikidata>
    <from>0402</from>
    <until>0476</until>
    <from_year>402</from_year>
    <until_year>476</until_year>
    <years_as_capital>74</years_as_capital>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>44.4161</lat>
    <lon>12.2017</lon>
  </row>
  <row>
    <id>Q2277-7f52473c-43fc-8c1b-c5a1-158389d33e0b</id>
    <country_name>Roman Empire</country_name>
    <country_wikidata>Q2277</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Constantinople</capital>
    <capital_wikidata>Q16869</capital_wikidata>
    <from>0476</from>
    <until>1453</until>
    <from_year>476</from_year>
    <until_year>1453</until_year>
    <years_as_capital>977</years_as_capital>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>41.0122</lat>
    <lon>28.976</lon>
  </row>
  <row>
    <id>Q2277-8cb2e255-4108-b542-082a-c54457af8c15</id>
    <country_name>Roman Empire</country_name>
    <country_wikidata>Q2277</country_wikidata>
    <state_status>historical state</state_status>
    <capital>ancient Roma</capital>
    <capital_wikidata>Q18287233</capital_wikidata>
    <until>0476</until>
    <until_year>476</until_year>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>41.8922</lat>
    <lon>12.4853</lon>
  </row>
  <row>
    <id>Q201038-b28908f1-4172-9428-c76c-51b0d528a982</id>
    <country_name>Roman Kingdom</country_name>
    <country_wikidata>Q201038</country_wikidata>
    <state_status>historical state</state_status>
    <capital>ancient Roma</capital>
    <capital_wikidata>Q18287233</capital_wikidata>
    <current>false</current>
    <role>ancient city</role>
    <capitals_count>2</capitals_count>
    <lat>41.8922</lat>
    <lon>12.4853</lon>
  </row>
  <row>
    <id>Q201038-b860a691-44ec-0dac-ce36-7332d183aa4e</id>
    <country_name>Roman Kingdom</country_name>
    <country_wikidata>Q201038</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Rome</capital>
    <capital_wikidata>Q220</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>41.8931</lat>
    <lon>12.4828</lon>
  </row>
  <row>
    <id>Q175881-84f77f5a-409e-8763-a95a-18417c8b296e</id>
    <country_name>Roman Republic</country_name>
    <country_wikidata>Q175881</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Rome</capital>
    <capital_wikidata>Q220</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.8931</lat>
    <lon>12.4828</lon>
  </row>
  <row>
    <id>Q17167-ac5a906c-4066-6512-c161-774165a4eb92</id>
    <country_name>Roman Republic</country_name>
    <country_wikidata>Q17167</country_wikidata>
    <state_status>historical state</state_status>
    <capital>ancient Roma</capital>
    <capital_wikidata>Q18287233</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>41.8922</lat>
    <lon>12.4853</lon>
  </row>
  <row>
    <id>Q17167-6691a65d-450e-8364-b300-8e6965a168ae</id>
    <country_name>Roman Republic</country_name>
    <country_wikidata>Q17167</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Rome</capital>
    <capital_wikidata>Q220</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>41.8931</lat>
    <lon>12.4828</lon>
  </row>
  <row>
    <id>q218-B9CA8F0B-6E15-4F28-9FF6-297D55DC3A93</id>
    <country_name>Romania</country_name>
    <country_wikidata>Q218</country_wikidata>
    <country>ROU</country>
    <state_status>sovereign state</state_status>
    <capital>Bucharest</capital>
    <capital_wikidata>Q19660</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>44.4134</lat>
    <lon>26.0978</lon>
  </row>
  <row>
    <id>Q444912-0fc3b27b-4f05-7eb7-759e-4340bf0cd599</id>
    <country_name>Romanian Old Kingdom</country_name>
    <country_wikidata>Q444912</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bucharest</capital>
    <capital_wikidata>Q19660</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>44.4134</lat>
    <lon>26.0978</lon>
  </row>
  <row>
    <id>Q2685298-231d5788-4c21-3797-1743-fd089a9ef428</id>
    <country_name>Romanian People's Republic</country_name>
    <country_wikidata>Q2685298</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bucharest</capital>
    <capital_wikidata>Q19660</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>44.4134</lat>
    <lon>26.0978</lon>
  </row>
  <row>
    <id>Q590743-648b2771-4e32-199f-87e4-1d0f55499dff</id>
    <country_name>Ruanda-Urundi</country_name>
    <country_wikidata>Q590743</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bujumbura</capital>
    <capital_wikidata>Q3854</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-3.3825</lat>
    <lon>29.3611</lon>
  </row>
  <row>
    <id>q159-4379ECB7-0257-47EB-899D-66BB62F4B02E</id>
    <country_name>Russia</country_name>
    <country_wikidata>Q159</country_wikidata>
    <country>RUS</country>
    <state_status>sovereign state</state_status>
    <capital>Moscow</capital>
    <capital_wikidata>Q649</capital_wikidata>
    <from>1918-03-11</from>
    <from_year>1918</from_year>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>55.7506</lat>
    <lon>37.6175</lon>
  </row>
  <row>
    <id>Q4397920-eadc01ca-4fe7-3711-12bc-3d2ffaa5e13a</id>
    <country_name>Russia Eastern Outskirts</country_name>
    <country_wikidata>Q4397920</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Chita</capital>
    <capital_wikidata>Q53139</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.0334</lat>
    <lon>113.5009</lon>
  </row>
  <row>
    <id>Q34266-8ce91887-4acf-d93a-c689-3d63b0d9c238</id>
    <country_name>Russian Empire</country_name>
    <country_wikidata>Q34266</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Moscow</capital>
    <capital_wikidata>Q649</capital_wikidata>
    <from>1721</from>
    <until>1728</until>
    <from_year>1721</from_year>
    <until_year>1728</until_year>
    <years_as_capital>7</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>55.7506</lat>
    <lon>37.6175</lon>
  </row>
  <row>
    <id>q34266-BDDBE739-A467-4D52-8C66-64D6F2F84AE5</id>
    <country_name>Russian Empire</country_name>
    <country_wikidata>Q34266</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Saint Petersburg</capital>
    <capital_wikidata>Q656</capital_wikidata>
    <from>1721</from>
    <until>1728</until>
    <from_year>1721</from_year>
    <until_year>1728</until_year>
    <years_as_capital>7</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>59.95</lat>
    <lon>30.3167</lon>
  </row>
  <row>
    <id>q34266-8C0D8FBB-8F94-41EF-990F-377ED813B3F2</id>
    <country_name>Russian Empire</country_name>
    <country_wikidata>Q34266</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Moscow</capital>
    <capital_wikidata>Q649</capital_wikidata>
    <from>1728</from>
    <until>1730</until>
    <from_year>1728</from_year>
    <until_year>1730</until_year>
    <years_as_capital>2</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>55.7506</lat>
    <lon>37.6175</lon>
  </row>
  <row>
    <id>q34266-0A753A73-E255-4EE5-AB34-C428FBDAF165</id>
    <country_name>Russian Empire</country_name>
    <country_wikidata>Q34266</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Saint Petersburg</capital>
    <capital_wikidata>Q656</capital_wikidata>
    <from>1730</from>
    <from_year>1730</from_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>59.95</lat>
    <lon>30.3167</lon>
  </row>
  <row>
    <id>Q139319-BAFF6E4E-D7AE-490B-AD8E-827A42945FDA</id>
    <country_name>Russian Republic</country_name>
    <country_wikidata>Q139319</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Saint Petersburg</capital>
    <capital_wikidata>Q656</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>59.95</lat>
    <lon>30.3167</lon>
  </row>
  <row>
    <id>Q2305208-DC30694B-95D3-4D62-B1E9-7F7A6D45F7F3</id>
    <country_name>Russian Socialist Federative Soviet Republic</country_name>
    <country_wikidata>Q2305208</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Saint Petersburg</capital>
    <capital_wikidata>Q656</capital_wikidata>
    <from>1917-11-07</from>
    <until>1918-03-11</until>
    <from_year>1917</from_year>
    <until_year>1918</until_year>
    <years_as_capital>1</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>59.95</lat>
    <lon>30.3167</lon>
  </row>
  <row>
    <id>Q2305208-DA111A91-7AC7-488A-A68D-AA8363A10100</id>
    <country_name>Russian Socialist Federative Soviet Republic</country_name>
    <country_wikidata>Q2305208</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Moscow</capital>
    <capital_wikidata>Q649</capital_wikidata>
    <from>1918-03-12</from>
    <from_year>1918</from_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>55.7506</lat>
    <lon>37.6175</lon>
  </row>
  <row>
    <id>q2184-5E28DF21-8D59-44AA-8E00-642E7C500DE6</id>
    <country_name>Russian Soviet Federative Socialist Republic</country_name>
    <country_wikidata>Q2184</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Moscow</capital>
    <capital_wikidata>Q649</capital_wikidata>
    <from>1922-12-29</from>
    <from_year>1922</from_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>55.7506</lat>
    <lon>37.6175</lon>
  </row>
  <row>
    <id>Q2184-AA8341B2-83BF-44ED-A6D6-ADAA48179C11</id>
    <country_name>Russian Soviet Federative Socialist Republic</country_name>
    <country_wikidata>Q2184</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Saint Petersburg</capital>
    <capital_wikidata>Q656</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>59.95</lat>
    <lon>30.3167</lon>
  </row>
  <row>
    <id>Q4304392-c422bfb0-4245-4bc1-ea24-a456122e93c4</id>
    <country_name>Russian State</country_name>
    <country_wikidata>Q4304392</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Moscow</capital>
    <capital_wikidata>Q649</capital_wikidata>
    <from>1478</from>
    <until>1712</until>
    <from_year>1478</from_year>
    <until_year>1712</until_year>
    <years_as_capital>234</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>55.7506</lat>
    <lon>37.6175</lon>
  </row>
  <row>
    <id>Q4304392-20a4a4ed-435c-cee5-56b3-9c36ac966190</id>
    <country_name>Russian State</country_name>
    <country_wikidata>Q4304392</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Saint Petersburg</capital>
    <capital_wikidata>Q656</capital_wikidata>
    <from>1712</from>
    <until>1721</until>
    <from_year>1712</from_year>
    <until_year>1721</until_year>
    <years_as_capital>9</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>59.95</lat>
    <lon>30.3167</lon>
  </row>
  <row>
    <id>Q4398229-a6d3de1f-458f-9653-86ac-325d8fa8411a</id>
    <country_name>Russian State</country_name>
    <country_wikidata>Q4398229</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Omsk</capital>
    <capital_wikidata>Q898</capital_wikidata>
    <from>1918-11</from>
    <from_year>1918</from_year>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>54.9667</lat>
    <lon>73.3833</lon>
  </row>
  <row>
    <id>Q4398229-4a68188d-441f-8f60-20f3-f8641a290417</id>
    <country_name>Russian State</country_name>
    <country_wikidata>Q4398229</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ufa</capital>
    <capital_wikidata>Q911</capital_wikidata>
    <until>1918-11</until>
    <until_year>1918</until_year>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>54.7261</lat>
    <lon>55.9475</lon>
  </row>
  <row>
    <id>Q4398229-650ffbb7-44d8-4e24-57db-140610f76a24</id>
    <country_name>Russian State</country_name>
    <country_wikidata>Q4398229</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Irkutsk</capital>
    <capital_wikidata>Q6576</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>52.2892</lat>
    <lon>104.28</lon>
  </row>
  <row>
    <id>Q940123-55ba12f9-4915-6cbd-01da-bf2d304825a0</id>
    <country_name>Rustamid dynasty</country_name>
    <country_wikidata>Q940123</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tiaret</capital>
    <capital_wikidata>Q565568</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>35.3667</lat>
    <lon>1.3167</lon>
  </row>
  <row>
    <id>q1037-CD4E46E0-6220-4EA9-8F12-36EB05CF4EDB</id>
    <country_name>Rwanda</country_name>
    <country_wikidata>Q1037</country_wikidata>
    <country>RWA</country>
    <state_status>sovereign state</state_status>
    <capital>Kigali</capital>
    <capital_wikidata>Q3859</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>-1.9525</lat>
    <lon>30.115</lon>
  </row>
  <row>
    <id>Q28025-10BA42EE-85F3-43F0-AA23-AB56D88F3BDB</id>
    <country_name>Ryukyu Kingdom</country_name>
    <country_wikidata>Q28025</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Shuri</capital>
    <capital_wikidata>Q608415</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>26.217</lat>
    <lon>127.7194</lon>
  </row>
  <row>
    <id>Q65362-C9EA4207-F1EC-4CA9-AB82-2F3EAF19BE93</id>
    <country_name>SAO Eastern Slavonia, Baranja and Western Syrmia</country_name>
    <country_wikidata>Q65362</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vukovar</capital>
    <capital_wikidata>Q5867</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>45.35</lat>
    <lon>19.0033</lon>
  </row>
  <row>
    <id>Q1136188-43e6b4da-48c5-10b0-a88d-81f28f1af959</id>
    <country_name>Saadi dynasty</country_name>
    <country_wikidata>Q1136188</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Fez</capital>
    <capital_wikidata>Q80985</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>34.0433</lat>
    <lon>-5.0033</lon>
  </row>
  <row>
    <id>Q310293-b89a5d21-41c9-f3e2-76a0-fd658b089ad8</id>
    <country_name>Saar Protectorate</country_name>
    <country_wikidata>Q310293</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Saarbrücken</capital>
    <capital_wikidata>Q1724</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>49.2333</lat>
    <lon>7</lon>
  </row>
  <row>
    <id>Q1476723-3b514d82-4fbf-0ef1-67cc-7dd06dd324fb</id>
    <country_name>Sachin State</country_name>
    <country_wikidata>Q1476723</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sachin</capital>
    <capital_wikidata>Q2774361</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>21.08</lat>
    <lon>72.88</lon>
  </row>
  <row>
    <id>Q18234383-e29a2466-4cec-dc6f-75b1-c30a71ee6cf5</id>
    <country_name>Safavid Iran</country_name>
    <country_wikidata>Q18234383</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tabriz</capital>
    <capital_wikidata>Q80053</capital_wikidata>
    <from>1501</from>
    <until>1555</until>
    <from_year>1501</from_year>
    <until_year>1555</until_year>
    <years_as_capital>54</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>38.0739</lat>
    <lon>46.2961</lon>
  </row>
  <row>
    <id>Q18234383-AB5CEACF-F9EF-4A01-A711-5472D663F989</id>
    <country_name>Safavid Iran</country_name>
    <country_wikidata>Q18234383</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Qazvin</capital>
    <capital_wikidata>Q181578</capital_wikidata>
    <from>1555</from>
    <until>1598</until>
    <from_year>1555</from_year>
    <until_year>1598</until_year>
    <years_as_capital>43</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>36.2854</lat>
    <lon>50.0041</lon>
  </row>
  <row>
    <id>Q18234383-caf6f84e-479e-c0e8-d320-ea3fe640baf2</id>
    <country_name>Safavid Iran</country_name>
    <country_wikidata>Q18234383</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Isfahan</capital>
    <capital_wikidata>Q42053</capital_wikidata>
    <from>1598</from>
    <until>1736</until>
    <from_year>1598</from_year>
    <until_year>1736</until_year>
    <years_as_capital>138</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>32.6525</lat>
    <lon>51.6747</lon>
  </row>
  <row>
    <id>Q39082339-cadb639b-426b-de56-ec93-c0d91b7a3eaf</id>
    <country_name>Saffarid State</country_name>
    <country_wikidata>Q39082339</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Zaranj</capital>
    <capital_wikidata>Q475802</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>30.96</lat>
    <lon>61.86</lon>
  </row>
  <row>
    <id>Q3446223-9e9da7ba-4dcd-4fd7-aa73-10b5adf5b04c</id>
    <country_name>Sagaing Kingdom</country_name>
    <country_wikidata>Q3446223</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sagaing</capital>
    <capital_wikidata>Q1018173</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>21.88</lat>
    <lon>95.9817</lon>
  </row>
  <row>
    <id>q763-4E0C3F65-1DED-4811-A9CB-39DE2F2C91B1</id>
    <country_name>Saint Kitts and Nevis</country_name>
    <country_wikidata>Q763</country_wikidata>
    <country>KNA</country>
    <state_status>sovereign state</state_status>
    <capital>Basseterre</capital>
    <capital_wikidata>Q41295</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>17.2983</lat>
    <lon>-62.7342</lon>
  </row>
  <row>
    <id>q760-F8DA84BE-C243-4ABC-8E79-339EB2107F21</id>
    <country_name>Saint Lucia</country_name>
    <country_wikidata>Q760</country_wikidata>
    <country>LCA</country>
    <state_status>sovereign state</state_status>
    <capital>Castries</capital>
    <capital_wikidata>Q41699</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>14.0108</lat>
    <lon>-60.9894</lon>
  </row>
  <row>
    <id>q757-FC82C1E4-1CD4-40E2-BC8D-2415E9B7AE4C</id>
    <country_name>Saint Vincent and the Grenadines</country_name>
    <country_wikidata>Q757</country_wikidata>
    <country>VCT</country>
    <state_status>sovereign state</state_status>
    <capital>Kingstown</capital>
    <capital_wikidata>Q41474</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>13.1553</lat>
    <lon>-61.2274</lon>
  </row>
  <row>
    <id>Q1471373-14CC77C2-C32A-425C-AA5D-A7627101D771</id>
    <country_name>Saloum</country_name>
    <country_wikidata>Q1471373</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kahone</capital>
    <capital_wikidata>Q377696</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>14.1614</lat>
    <lon>-16.0308</lon>
  </row>
  <row>
    <id>Q12150341-CD9638B5-82F5-4610-AB98-3189C0A7BD17</id>
    <country_name>Samanid Empire</country_name>
    <country_wikidata>Q12150341</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bukhara</capital>
    <capital_wikidata>Q5764</capital_wikidata>
    <from>0819</from>
    <until>0892</until>
    <from_year>819</from_year>
    <until_year>892</until_year>
    <years_as_capital>73</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>39.7747</lat>
    <lon>64.4286</lon>
  </row>
  <row>
    <id>Q12150341-9565D4B1-A737-41FB-970E-44E0CBB849C9</id>
    <country_name>Samanid Empire</country_name>
    <country_wikidata>Q12150341</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Samarkand</capital>
    <capital_wikidata>Q5753</capital_wikidata>
    <from>0892</from>
    <until>0999</until>
    <from_year>892</from_year>
    <until_year>999</until_year>
    <years_as_capital>107</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>39.6547</lat>
    <lon>66.9758</lon>
  </row>
  <row>
    <id>Q27260-4154B4BC-863F-4915-9B0B-F6980180E451</id>
    <country_name>Samma dynasty</country_name>
    <country_wikidata>Q27260</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Thatta</capital>
    <capital_wikidata>Q27212</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>24.7461</lat>
    <lon>67.9243</lon>
  </row>
  <row>
    <id>Q149427-5fc316f3-4e12-dade-7bc8-4c33944fa2e4</id>
    <country_name>Samo's realm</country_name>
    <country_wikidata>Q149427</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Devín</capital>
    <capital_wikidata>Q661046</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.1739</lat>
    <lon>16.9833</lon>
  </row>
  <row>
    <id>q683-fd5d318e-4d98-98db-6f26-d75636449b6c</id>
    <country_name>Samoa</country_name>
    <country_wikidata>Q683</country_wikidata>
    <country>WSM</country>
    <state_status>sovereign state</state_status>
    <capital>Apia</capital>
    <capital_wikidata>Q36260</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>-13.8333</lat>
    <lon>-171.8333</lon>
  </row>
  <row>
    <id>Q568712-2F117EA5-62E5-4D91-8E8E-D2B4C25AE9F6</id>
    <country_name>Samorian state</country_name>
    <country_wikidata>Q568712</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bissandugu</capital>
    <capital_wikidata>Q866634</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>9.9331</lat>
    <lon>-9.1564</lon>
  </row>
  <row>
    <id>Q1261743-fd570db4-4786-fd2b-f12f-7d21b615c0ce</id>
    <country_name>Samthar State</country_name>
    <country_wikidata>Q1261743</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Samthar State</capital>
    <capital_wikidata>Q2543468</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>25.85</lat>
    <lon>78.9167</lon>
  </row>
  <row>
    <id>Q2029317-128E2721-0D6D-4E1E-B575-44280B8FCC50</id>
    <country_name>Samtskhe atabegate</country_name>
    <country_wikidata>Q2029317</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Akhaltsikhe</capital>
    <capital_wikidata>Q212546</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.6389</lat>
    <lon>42.9861</lon>
  </row>
  <row>
    <id>q238-45DC2120-0AA2-4442-A144-759842CF91C0</id>
    <country_name>San Marino</country_name>
    <country_wikidata>Q238</country_wikidata>
    <country>SMR</country>
    <state_status>sovereign state</state_status>
    <capital>San Marino</capital>
    <capital_wikidata>Q1848</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>43.932</lat>
    <lon>12.4485</lon>
  </row>
  <row>
    <id>Q2221701-72376ea5-4144-9ffe-003b-5d8777deaabf</id>
    <country_name>Sangli State</country_name>
    <country_wikidata>Q2221701</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sangli</capital>
    <capital_wikidata>Q429215</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>16.8667</lat>
    <lon>74.5667</lon>
  </row>
  <row>
    <id>Q83891-34f438c6-47bc-75fd-c263-b91e08e17af8</id>
    <country_name>Sasanian Empire</country_name>
    <country_wikidata>Q83891</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ctesiphon</capital>
    <capital_wikidata>Q192541</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>33.0936</lat>
    <lon>44.5808</lon>
  </row>
  <row>
    <id>Q83891-c08495cd-40bf-b046-8255-29721d522155</id>
    <country_name>Sasanian Empire</country_name>
    <country_wikidata>Q83891</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Istakhr</capital>
    <capital_wikidata>Q862251</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>29.9817</lat>
    <lon>52.9094</lon>
  </row>
  <row>
    <id>Q5257-87C08794-AE19-4139-8EAF-5EF9F28F0BB6</id>
    <country_name>Satavahana dynasty</country_name>
    <country_wikidata>Q5257</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Amaravathi</capital>
    <capital_wikidata>Q2087762</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>16.573</lat>
    <lon>80.358</lon>
  </row>
  <row>
    <id>q851-FADAECB3-21B7-4273-9991-6745F9BF07D3</id>
    <country_name>Saudi Arabia</country_name>
    <country_wikidata>Q851</country_wikidata>
    <country>SAU</country>
    <state_status>sovereign state</state_status>
    <capital>Riyadh</capital>
    <capital_wikidata>Q3692</capital_wikidata>
    <from>1819</from>
    <from_year>1819</from_year>
    <current>true</current>
    <capitals_count>2</capitals_count>
    <lat>24.6383</lat>
    <lon>46.715</lon>
  </row>
  <row>
    <id>Q851-3F3B0A0D-4E99-4B4E-B81F-A93C901EE67F</id>
    <country_name>Saudi Arabia</country_name>
    <country_wikidata>Q851</country_wikidata>
    <country>SAU</country>
    <state_status>sovereign state</state_status>
    <capital>Diriyah</capital>
    <capital_wikidata>Q277505</capital_wikidata>
    <until>1818</until>
    <until_year>1818</until_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>24.7333</lat>
    <lon>46.5756</lon>
  </row>
  <row>
    <id>Q657792-74EA6747-6941-4693-933F-88013C16273C</id>
    <country_name>Saxe-Eisenberg</country_name>
    <country_wikidata>Q657792</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Eisenberg</capital>
    <capital_wikidata>Q486568</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.9681</lat>
    <lon>11.9014</lon>
  </row>
  <row>
    <id>Q700229-9E66C048-223F-4BDF-8CA0-D1EEB795C7D2</id>
    <country_name>Saxe-Gotha</country_name>
    <country_wikidata>Q700229</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Gotha</capital>
    <capital_wikidata>Q6986</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.9494</lat>
    <lon>10.7014</lon>
  </row>
  <row>
    <id>Q310650-5d8285af-4a24-a131-77bb-c2c77919ec08</id>
    <country_name>Schaumburg-Lippe</country_name>
    <country_wikidata>Q310650</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bückeburg</capital>
    <capital_wikidata>Q157035</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.2608</lat>
    <lon>9.0492</lon>
  </row>
  <row>
    <id>Q420759-80FEF60C-73E7-4D15-A2AD-66EAC1C9D041</id>
    <country_name>Second Bulgarian Empire</country_name>
    <country_wikidata>Q420759</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Veliko Tarnovo</capital>
    <capital_wikidata>Q173474</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>43.0787</lat>
    <lon>25.6283</lon>
  </row>
  <row>
    <id>Q15921577-4810d122-4543-012b-0066-5a8c556bc1f7</id>
    <country_name>Second Chui Volost</country_name>
    <country_wikidata>Q15921577</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kosh-Agach</capital>
    <capital_wikidata>Q912723</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>49.9927</lat>
    <lon>88.676</lon>
  </row>
  <row>
    <id>Q15921577-7c3cb1ac-4fb5-2ea3-c068-aeae9066a8c1</id>
    <country_name>Second Chui Volost</country_name>
    <country_wikidata>Q15921577</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kuray</capital>
    <capital_wikidata>Q4247720</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>50.233</lat>
    <lon>87.9278</lon>
  </row>
  <row>
    <id>Q2010024-2c84e49c-462c-4caa-0d91-eac05f1ce0d5</id>
    <country_name>Second Czechoslovak Republic</country_name>
    <country_wikidata>Q2010024</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Prague</capital>
    <capital_wikidata>Q1085</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.0875</lat>
    <lon>14.4214</lon>
  </row>
  <row>
    <id>Q10988528-45B64D7B-B52D-4041-ADFD-C6D8AAABBFE0</id>
    <country_name>Second East Turkestan Republic</country_name>
    <country_wikidata>Q10988528</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Yining</capital>
    <capital_wikidata>Q866021</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>43.9167</lat>
    <lon>81.3167</lon>
  </row>
  <row>
    <id>Q2979717-7d1336ac-4f75-52d6-055a-613d18122050</id>
    <country_name>Second Empire of Haiti</country_name>
    <country_wikidata>Q2979717</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Port-au-Prince</capital>
    <capital_wikidata>Q34261</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>18.5469</lat>
    <lon>-72.3403</lon>
  </row>
  <row>
    <id>Q7443295-34d6af32-406d-79a1-d732-9c3c36bfeab6</id>
    <country_name>Second Federal Republic of Mexico</country_name>
    <country_wikidata>Q7443295</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mexico City</capital>
    <capital_wikidata>Q1489</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>19.3538</lat>
    <lon>-99.1359</lon>
  </row>
  <row>
    <id>Q71092-23A40A3C-BF71-49F4-9D5F-D4A1F99481A0</id>
    <country_name>Second French Empire</country_name>
    <country_wikidata>Q71092</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Paris</capital>
    <capital_wikidata>Q90</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.8567</lat>
    <lon>2.3522</lon>
  </row>
  <row>
    <id>Q265824-e98cb72b-4798-5b91-13c5-2154a30a0817</id>
    <country_name>Second Hellenic Republic</country_name>
    <country_wikidata>Q265824</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Athens</capital>
    <capital_wikidata>Q1524</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.9842</lat>
    <lon>23.7281</lon>
  </row>
  <row>
    <id>Q940741-2c2f8332-449b-37d2-fb3e-9d574c52cd7f</id>
    <country_name>Second Hungarian Republic</country_name>
    <country_wikidata>Q940741</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Budapest</capital>
    <capital_wikidata>Q1781</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>47.4983</lat>
    <lon>19.0408</lon>
  </row>
  <row>
    <id>Q371334-767ea2bf-4c55-9a0b-2964-c31c24b4c1e7</id>
    <country_name>Second Mexican Empire</country_name>
    <country_wikidata>Q371334</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mexico City</capital>
    <capital_wikidata>Q1489</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>19.3538</lat>
    <lon>-99.1359</lon>
  </row>
  <row>
    <id>Q3509510-45b5a97f-48dc-43ed-af10-051f42ca05af</id>
    <country_name>Second Nigerian Republic</country_name>
    <country_wikidata>Q3509510</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Abuja</capital>
    <capital_wikidata>Q3787</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>9.0556</lat>
    <lon>7.4914</lon>
  </row>
  <row>
    <id>Q2027229-3F1D0358-291D-406C-B648-9B47D8E79CA1</id>
    <country_name>Second Philippine Republic</country_name>
    <country_wikidata>Q2027229</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Manila</capital>
    <capital_wikidata>Q1461</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>14.5958</lat>
    <lon>120.9772</lon>
  </row>
  <row>
    <id>Q2027229-c38d3157-4354-ea5a-7965-584a48b794f7</id>
    <country_name>Second Philippine Republic</country_name>
    <country_wikidata>Q2027229</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Baguio</capital>
    <capital_wikidata>Q1822</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>16.4119</lat>
    <lon>120.5933</lon>
  </row>
  <row>
    <id>Q207272-A90D141F-F4CF-43B7-8204-9D72507BA5E6</id>
    <country_name>Second Polish Republic</country_name>
    <country_wikidata>Q207272</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Warsaw</capital>
    <capital_wikidata>Q270</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.23</lat>
    <lon>21.0111</lon>
  </row>
  <row>
    <id>Q6123742-659204E1-E283-4FC5-BC7E-BD542A578E2E</id>
    <country_name>Second Republic</country_name>
    <country_wikidata>Q6123742</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Santo Domingo</capital>
    <capital_wikidata>Q34820</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>18.4625</lat>
    <lon>-69.9361</lon>
  </row>
  <row>
    <id>Q233263-57d2069c-408b-c7d7-42e0-84e522a9b157</id>
    <country_name>Second Republic of South Korea</country_name>
    <country_wikidata>Q233263</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Seoul</capital>
    <capital_wikidata>Q8684</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.56</lat>
    <lon>126.99</lon>
  </row>
  <row>
    <id>Q8950-e7cd860b-4e38-ed4a-a284-013aebd2b3c4</id>
    <country_name>Second Republic of Venezuela</country_name>
    <country_wikidata>Q8950</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Caracas</capital>
    <capital_wikidata>Q1533</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>10.5061</lat>
    <lon>-66.9144</lon>
  </row>
  <row>
    <id>Q146862-d92778ab-41fa-2192-d268-c2be6e9ed449</id>
    <country_name>Second Saudi State</country_name>
    <country_wikidata>Q146862</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Riyadh</capital>
    <capital_wikidata>Q3692</capital_wikidata>
    <from>1819</from>
    <from_year>1819</from_year>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>24.6383</lat>
    <lon>46.715</lon>
  </row>
  <row>
    <id>Q178038-85B72EE9-27CA-496D-8156-73AB01791556</id>
    <country_name>Second Spanish Republic</country_name>
    <country_wikidata>Q178038</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Madrid</capital>
    <capital_wikidata>Q2807</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>40.4169</lat>
    <lon>-3.7033</lon>
  </row>
  <row>
    <id>Q178038-8E540E37-ADD2-4355-8E16-ECAA7B868A76</id>
    <country_name>Second Spanish Republic</country_name>
    <country_wikidata>Q178038</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Barcelona</capital>
    <capital_wikidata>Q1492</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>41.3825</lat>
    <lon>2.1769</lon>
  </row>
  <row>
    <id>Q146885-456e8a36-4e53-1c2b-3b49-30247ed96849</id>
    <country_name>Second Syrian Republic</country_name>
    <country_wikidata>Q146885</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Damascus</capital>
    <capital_wikidata>Q3766</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>33.5131</lat>
    <lon>36.2919</lon>
  </row>
  <row>
    <id>Q93180-54832f0a-4528-919c-78d4-17588b376e6d</id>
    <country_name>Seleucid Empire</country_name>
    <country_wikidata>Q93180</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Babylon</capital>
    <capital_wikidata>Q5684</capital_wikidata>
    <from>-312</from>
    <until>-305</until>
    <from_year>-312</from_year>
    <until_year>-305</until_year>
    <years_as_capital>7</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>32.5425</lat>
    <lon>44.4211</lon>
  </row>
  <row>
    <id>Q93180-02DDEA63-0438-4ED2-B317-43F73B553D2F</id>
    <country_name>Seleucid Empire</country_name>
    <country_wikidata>Q93180</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Seleucia</capital>
    <capital_wikidata>Q1136681</capital_wikidata>
    <from>-305</from>
    <until>-240</until>
    <from_year>-305</from_year>
    <until_year>-240</until_year>
    <years_as_capital>65</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>33.1</lat>
    <lon>44.52</lon>
  </row>
  <row>
    <id>Q93180-277d55c8-4aac-6525-03f2-c2abf59beaf8</id>
    <country_name>Seleucid Empire</country_name>
    <country_wikidata>Q93180</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Antioch</capital>
    <capital_wikidata>Q200441</capital_wikidata>
    <from>-240</from>
    <until>-64</until>
    <from_year>-240</from_year>
    <until_year>-64</until_year>
    <years_as_capital>176</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>36.2047</lat>
    <lon>36.1817</lon>
  </row>
  <row>
    <id>Q93180-07f83a5f-4574-f850-0da3-1551b8354620</id>
    <country_name>Seleucid Empire</country_name>
    <country_wikidata>Q93180</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lysimachia</capital>
    <capital_wikidata>Q517690</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>40.58</lat>
    <lon>26.88</lon>
  </row>
  <row>
    <id>Q3708094-78403a3a-4543-cfd2-4bbd-b462daf61cc7</id>
    <country_name>Seljuk Empire</country_name>
    <country_wikidata>Q3708094</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Merv</capital>
    <capital_wikidata>Q193325</capital_wikidata>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>37.6628</lat>
    <lon>62.1925</lon>
  </row>
  <row>
    <id>Q3708094-7ca93d95-407b-a347-6667-34683c9ac4a3</id>
    <country_name>Seljuk Empire</country_name>
    <country_wikidata>Q3708094</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nishapur</capital>
    <capital_wikidata>Q131350</capital_wikidata>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>36.2133</lat>
    <lon>58.7958</lon>
  </row>
  <row>
    <id>Q3708094-85d97f58-4ffc-f2b3-be98-5a9756f0d641</id>
    <country_name>Seljuk Empire</country_name>
    <country_wikidata>Q3708094</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Isfahan</capital>
    <capital_wikidata>Q42053</capital_wikidata>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>32.6525</lat>
    <lon>51.6747</lon>
  </row>
  <row>
    <id>Q3708094-C364A2AE-4020-46D1-9DA7-42F6BED93D14</id>
    <country_name>Seljuk Empire</country_name>
    <country_wikidata>Q3708094</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nishapur</capital>
    <capital_wikidata>Q131350</capital_wikidata>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>36.2133</lat>
    <lon>58.7958</lon>
  </row>
  <row>
    <id>Q3708094-c58b74c2-43e1-bf8c-858e-68ec8ce8ab47</id>
    <country_name>Seljuk Empire</country_name>
    <country_wikidata>Q3708094</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Hamadan</capital>
    <capital_wikidata>Q28587</capital_wikidata>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>34.8</lat>
    <lon>48.5167</lon>
  </row>
  <row>
    <id>Q3708094-c6ff45c0-48fa-390b-326f-2f1e286f344a</id>
    <country_name>Seljuk Empire</country_name>
    <country_wikidata>Q3708094</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ray</capital>
    <capital_wikidata>Q636188</capital_wikidata>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>35.5975</lat>
    <lon>51.4344</lon>
  </row>
  <row>
    <id>q1041-3AAD1DDA-7166-43DD-95DE-BB3DCCEE4359</id>
    <country_name>Senegal</country_name>
    <country_wikidata>Q1041</country_wikidata>
    <country>SEN</country>
    <state_status>sovereign state</state_status>
    <capital>Dakar</capital>
    <capital_wikidata>Q3718</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>14.6726</lat>
    <lon>-17.432</lon>
  </row>
  <row>
    <id>Q828443-63cb4939-482e-f3a8-1aa0-77547628fdf0</id>
    <country_name>Senegambia Confederation</country_name>
    <country_wikidata>Q828443</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Dakar</capital>
    <capital_wikidata>Q3718</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>14.6726</lat>
    <lon>-17.432</lon>
  </row>
  <row>
    <id>Q640998-c6128106-4eee-823d-5182-d5ef9039d3bb</id>
    <country_name>Senior jüz</country_name>
    <country_wikidata>Q640998</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tashkent</capital>
    <capital_wikidata>Q269</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.3111</lat>
    <lon>69.2797</lon>
  </row>
  <row>
    <id>Q1077630-20D89437-64B4-4916-AD9B-EAC906A2E198</id>
    <country_name>Septinsular Republic</country_name>
    <country_wikidata>Q1077630</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Corfu</capital>
    <capital_wikidata>Q205832</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>39.6239</lat>
    <lon>19.9214</lon>
  </row>
  <row>
    <id>q403-6A9D98F3-8BCB-4F52-929D-BE27E73B38FB</id>
    <country_name>Serbia</country_name>
    <country_wikidata>Q403</country_wikidata>
    <country>SRB</country>
    <state_status>sovereign state</state_status>
    <capital>Belgrade</capital>
    <capital_wikidata>Q3711</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>44.8178</lat>
    <lon>20.4569</lon>
  </row>
  <row>
    <id>Q37024-878ec80a-4334-1afb-ea95-594bf162801d</id>
    <country_name>Serbia and Montenegro</country_name>
    <country_wikidata>Q37024</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Belgrade</capital>
    <capital_wikidata>Q3711</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>44.8178</lat>
    <lon>20.4569</lon>
  </row>
  <row>
    <id>Q878319-0E2A65A1-3875-4E8C-A89B-ADF0ACAF6E53</id>
    <country_name>Serbian Despotate</country_name>
    <country_wikidata>Q878319</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Belgrade</capital>
    <capital_wikidata>Q3711</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>44.8178</lat>
    <lon>20.4569</lon>
  </row>
  <row>
    <id>Q1406298-1b319d2e-4048-4187-43b2-72fcc4856ac7</id>
    <country_name>Serbian Empire</country_name>
    <country_wikidata>Q1406298</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Prizren</capital>
    <capital_wikidata>Q200061</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>42.23</lat>
    <lon>20.74</lon>
  </row>
  <row>
    <id>Q1406298-5A79E085-3DBC-4827-9248-7695CDB2F74A</id>
    <country_name>Serbian Empire</country_name>
    <country_wikidata>Q1406298</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Skopje</capital>
    <capital_wikidata>Q384</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>41.9961</lat>
    <lon>21.4317</lon>
  </row>
  <row>
    <id>Q156506-3CF497B0-85EA-48ED-8F07-FAA0CF8DC0E4</id>
    <country_name>Serbian-Hungarian Baranya-Baja Republic</country_name>
    <country_wikidata>Q156506</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Pécs</capital>
    <capital_wikidata>Q45779</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>46.0708</lat>
    <lon>18.2331</lon>
  </row>
  <row>
    <id>Q330533-BB6E00A3-E7B9-4682-A89A-1AF9655B7719</id>
    <country_name>Seventeen Provinces</country_name>
    <country_wikidata>Q330533</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Brussels</capital>
    <capital_wikidata>Q239</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.8467</lat>
    <lon>4.3517</lon>
  </row>
  <row>
    <id>q1042-BE8CB932-A01B-43BF-A65A-7C9B4FAA8C20</id>
    <country_name>Seychelles</country_name>
    <country_wikidata>Q1042</country_wikidata>
    <country>SYC</country>
    <state_status>sovereign state</state_status>
    <capital>Victoria</capital>
    <capital_wikidata>Q3940</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>-4.6236</lat>
    <lon>55.4544</lon>
  </row>
  <row>
    <id>Q1146786-5e9a330c-442a-10c4-0c50-388ecb4bb1a8</id>
    <country_name>Señorío of Cuzcatlán</country_name>
    <country_wikidata>Q1146786</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Antiguo Cuscatlán</capital>
    <capital_wikidata>Q575756</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>13.6733</lat>
    <lon>-89.2416</lon>
  </row>
  <row>
    <id>Q11057724-d82a81c0-4731-939b-9985-5e467aa2ef9a</id>
    <country_name>Shah Mir dynasty</country_name>
    <country_wikidata>Q11057724</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Srinagar</capital>
    <capital_wikidata>Q170115</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>34.0911</lat>
    <lon>74.8061</lon>
  </row>
  <row>
    <id>Q2276431-1c02d75d-4d94-abf4-1402-976962378d48</id>
    <country_name>Shahpura State</country_name>
    <country_wikidata>Q2276431</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Shahpura, Bhilwara</capital>
    <capital_wikidata>Q3959004</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>25.63</lat>
    <lon>74.93</lon>
  </row>
  <row>
    <id>Q1703449-902139F7-4B39-4824-8A39-48018C127781</id>
    <country_name>Shaki Khanate</country_name>
    <country_wikidata>Q1703449</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Shaki</capital>
    <capital_wikidata>Q234783</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.1919</lat>
    <lon>47.1706</lon>
  </row>
  <row>
    <id>Q2043564-408150a9-469c-9ae5-c0e9-8118b9eafe7c</id>
    <country_name>Shamkhalate of Tarki</country_name>
    <country_wikidata>Q2043564</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tarki</capital>
    <capital_wikidata>Q1385112</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>42.95</lat>
    <lon>47.5</lon>
  </row>
  <row>
    <id>Q4121369-3e742429-404c-21cf-b609-9153c63709a9</id>
    <country_name>Sharifate of Mecca</country_name>
    <country_wikidata>Q4121369</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mecca</capital>
    <capital_wikidata>Q5806</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>21.4225</lat>
    <lon>39.8261</lon>
  </row>
  <row>
    <id>Q20021764-4dc0d11d-4875-356b-c2e6-0cc4d58c565b</id>
    <country_name>Shaybanid state</country_name>
    <country_wikidata>Q20021764</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Samarkand</capital>
    <capital_wikidata>Q5753</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>39.6547</lat>
    <lon>66.9758</lon>
  </row>
  <row>
    <id>Q20021764-90551d1e-4a29-20f7-96f6-d8e9e64a608a</id>
    <country_name>Shaybanid state</country_name>
    <country_wikidata>Q20021764</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bukhara</capital>
    <capital_wikidata>Q5764</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>39.7747</lat>
    <lon>64.4286</lon>
  </row>
  <row>
    <id>Q216068-8f302bc8-433a-cddd-33b2-f2cb91dffb62</id>
    <country_name>Sheba</country_name>
    <country_wikidata>Q216068</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Marib</capital>
    <capital_wikidata>Q335478</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>15.4625</lat>
    <lon>45.3258</lon>
  </row>
  <row>
    <id>Q216068-a5cc0cbf-41fa-18b2-df37-361c6a0cd969</id>
    <country_name>Sheba</country_name>
    <country_wikidata>Q216068</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sirwah</capital>
    <capital_wikidata>Q130254</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>15.4518</lat>
    <lon>45.0181</lon>
  </row>
  <row>
    <id>Q216068-c66f5c30-4046-0b2a-450a-064f3bd2e0fb</id>
    <country_name>Sheba</country_name>
    <country_wikidata>Q216068</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sanaa</capital>
    <capital_wikidata>Q2471</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>15.35</lat>
    <lon>44.2</lon>
  </row>
  <row>
    <id>Q3480281-f3a307e6-43a5-999b-2567-f13ca7e5fc46</id>
    <country_name>Sheikhdom of Kuwait</country_name>
    <country_wikidata>Q3480281</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kuwait City</capital>
    <capital_wikidata>Q35178</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>29.375</lat>
    <lon>47.98</lon>
  </row>
  <row>
    <id>Q3482103-67b5ef27-47af-f64e-e2d7-345a64164658</id>
    <country_name>Shilluk Kingdom</country_name>
    <country_wikidata>Q3482103</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kodok</capital>
    <capital_wikidata>Q1888763</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>9.8875</lat>
    <lon>32.1103</lon>
  </row>
  <row>
    <id>Q2370784-6DD76165-83CE-4B00-96CF-A3CC5E6E2B19</id>
    <country_name>Shun dynasty</country_name>
    <country_wikidata>Q2370784</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Xi'an</capital>
    <capital_wikidata>Q5826</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>34.2611</lat>
    <lon>108.9422</lon>
  </row>
  <row>
    <id>Q651377-D47112A7-778B-48D0-B4CC-ED707C5E9C17</id>
    <country_name>Shunga Empire</country_name>
    <country_wikidata>Q651377</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Pataliputra</capital>
    <capital_wikidata>Q389755</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>25.611</lat>
    <lon>85.144</lon>
  </row>
  <row>
    <id>Q1081620-d5dfd6df-4250-2f57-e58f-0712e2214498</id>
    <country_name>Siam</country_name>
    <country_wikidata>Q1081620</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Phra Nakhon Si Ayutthaya</capital>
    <capital_wikidata>Q203370</capital_wikidata>
    <from>1351</from>
    <until>1463</until>
    <from_year>1351</from_year>
    <until_year>1463</until_year>
    <years_as_capital>112</years_as_capital>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>14.3594</lat>
    <lon>100.5762</lon>
  </row>
  <row>
    <id>Q1081620-11e4119f-48e3-a468-b41c-c7ff6a63641f</id>
    <country_name>Siam</country_name>
    <country_wikidata>Q1081620</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Phitsanulok</capital>
    <capital_wikidata>Q867579</capital_wikidata>
    <from>1463</from>
    <until>1488</until>
    <from_year>1463</from_year>
    <until_year>1488</until_year>
    <years_as_capital>25</years_as_capital>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>16.8158</lat>
    <lon>100.2636</lon>
  </row>
  <row>
    <id>Q1081620-468202bc-4dbb-889a-b8d8-d05e3cc2845a</id>
    <country_name>Siam</country_name>
    <country_wikidata>Q1081620</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Phra Nakhon Si Ayutthaya</capital>
    <capital_wikidata>Q476222</capital_wikidata>
    <from>1488</from>
    <until>1767</until>
    <from_year>1488</from_year>
    <until_year>1767</until_year>
    <years_as_capital>279</years_as_capital>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>14.3494</lat>
    <lon>100.5594</lon>
  </row>
  <row>
    <id>Q1081620-597f7965-4050-f23c-4fb1-a80de0e1ded5</id>
    <country_name>Siam</country_name>
    <country_wikidata>Q1081620</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Thon Buri</capital>
    <capital_wikidata>Q2305621</capital_wikidata>
    <from>1767</from>
    <until>1782</until>
    <from_year>1767</from_year>
    <until_year>1782</until_year>
    <years_as_capital>15</years_as_capital>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>13.725</lat>
    <lon>100.4858</lon>
  </row>
  <row>
    <id>Q1081620-d250f28c-49c5-9443-f015-d1fc1acc9282</id>
    <country_name>Siam</country_name>
    <country_wikidata>Q1081620</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bangkok</capital>
    <capital_wikidata>Q1861</capital_wikidata>
    <from>1782</from>
    <until>1939</until>
    <from_year>1782</from_year>
    <until_year>1939</until_year>
    <years_as_capital>157</years_as_capital>
    <current>false</current>
    <capitals_count>5</capitals_count>
    <lat>13.75</lat>
    <lon>100.5167</lon>
  </row>
  <row>
    <id>Q190513-62ef21b7-4560-2022-36d3-693a66695cd4</id>
    <country_name>Siberian Khanate</country_name>
    <country_wikidata>Q190513</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Isker</capital>
    <capital_wikidata>Q1815305</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>58.1494</lat>
    <lon>68.5205</lon>
  </row>
  <row>
    <id>Q190513-bffb55f7-4100-6ad5-ea0b-97e5ebc614eb</id>
    <country_name>Siberian Khanate</country_name>
    <country_wikidata>Q190513</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Chimgi-Tura</capital>
    <capital_wikidata>Q1074347</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>57.1533</lat>
    <lon>65.5156</lon>
  </row>
  <row>
    <id>Q1606043-08d81a60-4a53-ea53-c670-3b08e37c89ae</id>
    <country_name>Siberian Republic</country_name>
    <country_wikidata>Q1606043</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Omsk</capital>
    <capital_wikidata>Q898</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>54.9667</lat>
    <lon>73.3833</lon>
  </row>
  <row>
    <id>Q1606043-dbb94d06-4742-73a7-4d50-1e09033f31ec</id>
    <country_name>Siberian Republic</country_name>
    <country_wikidata>Q1606043</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tomsk</capital>
    <capital_wikidata>Q976</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>56.4886</lat>
    <lon>84.9522</lon>
  </row>
  <row>
    <id>Q175801-05d12a63-406f-d049-43dc-07a842bba570</id>
    <country_name>Sican culture</country_name>
    <country_wikidata>Q175801</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Batán Grande</capital>
    <capital_wikidata>Q13189531</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>-6.47</lat>
    <lon>-79.796</lon>
  </row>
  <row>
    <id>Q175801-ffe0ff0f-40dc-fb61-cf8f-41c5b82f22a6</id>
    <country_name>Sican culture</country_name>
    <country_wikidata>Q175801</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Túcume</capital>
    <capital_wikidata>Q1677131</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>-6.5158</lat>
    <lon>-79.8442</lon>
  </row>
  <row>
    <id>q1044-3A4735B8-788A-4843-A8D2-96FE5570E920</id>
    <country_name>Sierra Leone</country_name>
    <country_wikidata>Q1044</country_wikidata>
    <country>SLE</country>
    <state_status>sovereign state</state_status>
    <capital>Freetown</capital>
    <capital_wikidata>Q3780</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>8.4872</lat>
    <lon>-13.2356</lon>
  </row>
  <row>
    <id>Q3393334-ab844657-463b-6ab1-b58c-6ef4b7be1e3d</id>
    <country_name>Signoria of Florence</country_name>
    <country_wikidata>Q3393334</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Florence</capital>
    <capital_wikidata>Q2044</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>43.7714</lat>
    <lon>11.2542</lon>
  </row>
  <row>
    <id>Q15890801-372dc7db-45d5-e172-6617-cf5723b44e1c</id>
    <country_name>Signoria of Milan</country_name>
    <country_wikidata>Q15890801</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Milan</capital>
    <capital_wikidata>Q490</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>45.4669</lat>
    <lon>9.19</lon>
  </row>
  <row>
    <id>Q2578028-F5110B86-6D63-4705-85DB-0A39A465A534</id>
    <country_name>Sikh Confederacy</country_name>
    <country_wikidata>Q2578028</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Amritsar</capital>
    <capital_wikidata>Q48403</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>31.6269</lat>
    <lon>74.877</lon>
  </row>
  <row>
    <id>Q28456-B0682E44-003B-4A4D-848F-13DA6148A0CA</id>
    <country_name>Silla</country_name>
    <country_wikidata>Q28456</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Gyeongju</capital>
    <capital_wikidata>Q42097</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>35.85</lat>
    <lon>129.2167</lon>
  </row>
  <row>
    <id>q334-52FBDD66-15FA-4610-BB15-9BAFE7F38360</id>
    <country_name>Singapore</country_name>
    <country_wikidata>Q334</country_wikidata>
    <country>SGP</country>
    <state_status>sovereign state</state_status>
    <capital>Singapore</capital>
    <capital_wikidata>Q334</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>1.3</lat>
    <lon>103.8</lon>
  </row>
  <row>
    <id>Q2060657-9176CF9A-A6EA-4BBB-97B4-FA9334A23300</id>
    <country_name>Singhasari Kingdom</country_name>
    <country_wikidata>Q2060657</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Malang</capital>
    <capital_wikidata>Q11445</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-7.9689</lat>
    <lon>112.6327</lon>
  </row>
  <row>
    <id>Q1541353-5a7cfe7b-4e3b-944f-834c-8dd0f4e4a342</id>
    <country_name>Sirmoor State</country_name>
    <country_wikidata>Q1541353</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nahan</capital>
    <capital_wikidata>Q781615</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>30.56</lat>
    <lon>77.2933</lon>
  </row>
  <row>
    <id>Q2290502-fd0f4b7f-4072-7cc2-3d5f-7d2e6d2da00d</id>
    <country_name>Sitamau State</country_name>
    <country_wikidata>Q2290502</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sitamau</capital>
    <capital_wikidata>Q1815885</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>24.02</lat>
    <lon>75.35</lon>
  </row>
  <row>
    <id>Q4347782-9f08a0e6-45ea-cf0f-ab41-00c57fcc8449</id>
    <country_name>Skewbald Horde</country_name>
    <country_wikidata>Q4347782</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Parabel'</capital>
    <capital_wikidata>Q4344781</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>58.6978</lat>
    <lon>81.4825</lon>
  </row>
  <row>
    <id>Q12054859-14eb6b6e-4010-c4f2-87a4-fe99c5a6b4a2</id>
    <country_name>Slovak People's Republic</country_name>
    <country_wikidata>Q12054859</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Košice</capital>
    <capital_wikidata>Q25409</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.7167</lat>
    <lon>21.25</lon>
  </row>
  <row>
    <id>Q154401-b5dec6b3-44fb-ce92-e364-1321dafcbedd</id>
    <country_name>Slovak Republic</country_name>
    <country_wikidata>Q154401</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bratislava</capital>
    <capital_wikidata>Q1780</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.1517</lat>
    <lon>17.1093</lon>
  </row>
  <row>
    <id>Q1751495-27813b4a-4b1a-4186-7e02-9679e0468cbb</id>
    <country_name>Slovak Socialist Republic</country_name>
    <country_wikidata>Q1751495</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bratislava</capital>
    <capital_wikidata>Q1780</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.1517</lat>
    <lon>17.1093</lon>
  </row>
  <row>
    <id>Q200896-8b156e3e-4f18-a116-9f83-3eb50f2701ea</id>
    <country_name>Slovak Soviet Republic</country_name>
    <country_wikidata>Q200896</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Prešov</capital>
    <capital_wikidata>Q26119</capital_wikidata>
    <from>1919-06-16</from>
    <until>1919-07-07</until>
    <from_year>1919</from_year>
    <until_year>1919</until_year>
    <years_as_capital>0</years_as_capital>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>49</lat>
    <lon>21.2333</lon>
  </row>
  <row>
    <id>q214-38C3C689-4016-435B-9D9A-489FD3222A3F</id>
    <country_name>Slovakia</country_name>
    <country_wikidata>Q214</country_wikidata>
    <country>SVK</country>
    <state_status>sovereign state</state_status>
    <capital>Bratislava</capital>
    <capital_wikidata>Q1780</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>48.1517</lat>
    <lon>17.1093</lon>
  </row>
  <row>
    <id>q215-574447C5-B38A-48E4-93E8-A2AC97AD8ABC</id>
    <country_name>Slovenia</country_name>
    <country_wikidata>Q215</country_wikidata>
    <country>SVN</country>
    <state_status>sovereign state</state_status>
    <capital>Ljubljana</capital>
    <capital_wikidata>Q437</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>46.0514</lat>
    <lon>14.5061</lon>
  </row>
  <row>
    <id>Q83286-0e3aff34-49e6-33fe-5167-13d7d11815c8</id>
    <country_name>Socialist Federal Republic of Yugoslavia</country_name>
    <country_wikidata>Q83286</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Belgrade</capital>
    <capital_wikidata>Q3711</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>44.8178</lat>
    <lon>20.4569</lon>
  </row>
  <row>
    <id>Q2022804-97bf7335-48a0-512b-9f31-68f4180446ab</id>
    <country_name>Socialist Republic of Chile</country_name>
    <country_wikidata>Q2022804</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Santiago</capital>
    <capital_wikidata>Q2887</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-33.4375</lat>
    <lon>-70.65</lon>
  </row>
  <row>
    <id>Q838291-230fa696-4a4d-74ca-bb53-d1074fdf2f51</id>
    <country_name>Socialist Republic of Montenegro</country_name>
    <country_wikidata>Q838291</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Podgorica</capital>
    <capital_wikidata>Q23564</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>42.4414</lat>
    <lon>19.2628</lon>
  </row>
  <row>
    <id>Q842794-1121a87f-4951-9cc5-df84-9c6626b8f223</id>
    <country_name>Socialist Republic of Romania</country_name>
    <country_wikidata>Q842794</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bucharest</capital>
    <capital_wikidata>Q19660</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>44.4134</lat>
    <lon>26.0978</lon>
  </row>
  <row>
    <id>Q211092-23f63b32-40f2-fa07-4302-36d80c794763</id>
    <country_name>Socialist Republic of Slovenia</country_name>
    <country_wikidata>Q211092</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ljubljana</capital>
    <capital_wikidata>Q437</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>46.0514</lat>
    <lon>14.5061</lon>
  </row>
  <row>
    <id>Q13072974-f6db6090-45b3-2472-8d5b-e685c5544e4f</id>
    <country_name>Socialist Republic of the Union of Burma</country_name>
    <country_wikidata>Q13072974</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Yangon</capital>
    <capital_wikidata>Q37995</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>16.8053</lat>
    <lon>96.1561</lon>
  </row>
  <row>
    <id>Q68678-20A27AD4-CF51-4409-8FAD-57EA2631126B</id>
    <country_name>Socialist Soviet Republic of Byelorussia</country_name>
    <country_wikidata>Q68678</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Smolensk</capital>
    <capital_wikidata>Q2337</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>54.7828</lat>
    <lon>32.0453</lon>
  </row>
  <row>
    <id>Q68678-9a3b2f09-462a-6d64-08dd-1bb449097f00</id>
    <country_name>Socialist Soviet Republic of Byelorussia</country_name>
    <country_wikidata>Q68678</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Minsk</capital>
    <capital_wikidata>Q2280</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>53.9023</lat>
    <lon>27.5618</lon>
  </row>
  <row>
    <id>q685-1ba65eec-4fd9-aaea-758c-182ddcdadc97</id>
    <country_name>Solomon Islands</country_name>
    <country_wikidata>Q685</country_wikidata>
    <country>SLB</country>
    <state_status>sovereign state</state_status>
    <capital>Honiara</capital>
    <capital_wikidata>Q40921</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>-9.4333</lat>
    <lon>159.95</lon>
  </row>
  <row>
    <id>Q1477220-d9817c9c-4a1a-9fc5-4af5-93f0a4172b4b</id>
    <country_name>Somali Democratic Republic</country_name>
    <country_wikidata>Q1477220</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mogadishu</capital>
    <capital_wikidata>Q2449</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>2.0392</lat>
    <lon>45.3419</lon>
  </row>
  <row>
    <id>Q7559152-31987194-4e2e-6a33-e4b0-fe29f6c5d462</id>
    <country_name>Somali Republic</country_name>
    <country_wikidata>Q7559152</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mogadishu</capital>
    <capital_wikidata>Q2449</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>2.0392</lat>
    <lon>45.3419</lon>
  </row>
  <row>
    <id>q1045-087FC40D-E947-46C7-BFD1-DCCA3346DF5E</id>
    <country_name>Somalia</country_name>
    <country_wikidata>Q1045</country_wikidata>
    <country>SOM</country>
    <state_status>sovereign state</state_status>
    <capital>Mogadishu</capital>
    <capital_wikidata>Q2449</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>2.0392</lat>
    <lon>45.3419</lon>
  </row>
  <row>
    <id>Q1065073-F4CD404F-14D5-4DBB-92EA-8841C3B1603E</id>
    <country_name>Song</country_name>
    <country_wikidata>Q1065073</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Suiyang District</capital>
    <capital_wikidata>Q1198957</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>34.3835</lat>
    <lon>115.6136</lon>
  </row>
  <row>
    <id>Q202687-AFB185D2-633D-4B18-BB19-8F2B951794E7</id>
    <country_name>Songhai Empire</country_name>
    <country_wikidata>Q202687</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Gao</capital>
    <capital_wikidata>Q188904</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>16.2667</lat>
    <lon>-0.05</lon>
  </row>
  <row>
    <id>Q13099593-9afbf2de-42d7-0a20-7ebe-81efde41a257</id>
    <country_name>Soso Empire</country_name>
    <country_wikidata>Q13099593</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Koulikoro</capital>
    <capital_wikidata>Q740974</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>12.8667</lat>
    <lon>-7.5667</lon>
  </row>
  <row>
    <id>Q258-27941c24-4459-00e6-3aba-0c42f18dfcdd</id>
    <country_name>South Africa</country_name>
    <country_wikidata>Q258</country_wikidata>
    <country>ZAF</country>
    <state_status>sovereign state</state_status>
    <capital>Cape Town</capital>
    <capital_wikidata>Q5465</capital_wikidata>
    <current>true</current>
    <role>legislature</role>
    <capitals_count>3</capitals_count>
    <lat>-33.9253</lat>
    <lon>18.4239</lon>
  </row>
  <row>
    <id>q258-45FA18AF-AD77-46AF-8C4F-80E0B0B66797</id>
    <country_name>South Africa</country_name>
    <country_wikidata>Q258</country_wikidata>
    <country>ZAF</country>
    <state_status>sovereign state</state_status>
    <capital>Pretoria</capital>
    <capital_wikidata>Q3926</capital_wikidata>
    <current>true</current>
    <role>executive branch</role>
    <capitals_count>3</capitals_count>
    <lat>-25.7464</lat>
    <lon>28.1881</lon>
  </row>
  <row>
    <id>Q258-6cfdfa49-4730-bbcc-5c63-5f34469f270a</id>
    <country_name>South Africa</country_name>
    <country_wikidata>Q258</country_wikidata>
    <country>ZAF</country>
    <state_status>sovereign state</state_status>
    <capital>Bloemfontein</capital>
    <capital_wikidata>Q37701</capital_wikidata>
    <current>true</current>
    <role>judiciary</role>
    <capitals_count>3</capitals_count>
    <lat>-29.1</lat>
    <lon>26.2167</lon>
  </row>
  <row>
    <id>Q550374-773115a9-485e-bb2a-d57b-a0a4cb3ba106</id>
    <country_name>South African Republic</country_name>
    <country_wikidata>Q550374</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Pretoria</capital>
    <capital_wikidata>Q3926</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-25.7464</lat>
    <lon>28.1881</lon>
  </row>
  <row>
    <id>Q10955123-2cbd1f28-4dfc-b5de-d3ad-91b9f48b09f6</id>
    <country_name>South Chahar Autonomous Government</country_name>
    <country_wikidata>Q10955123</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Zhangjiakou</capital>
    <capital_wikidata>Q58650</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>40.8108</lat>
    <lon>114.8811</lon>
  </row>
  <row>
    <id>Q639073-d48f19fc-4be0-03c2-d2ba-fe5ec662baea</id>
    <country_name>South Kasai</country_name>
    <country_wikidata>Q639073</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mbuji-Mayi</capital>
    <capital_wikidata>Q319660</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-6.1261</lat>
    <lon>23.5997</lon>
  </row>
  <row>
    <id>q884-ACA44C84-E9D5-4350-8B15-47DB5BFC72AB</id>
    <country_name>South Korea</country_name>
    <country_wikidata>Q884</country_wikidata>
    <country>KOR</country>
    <state_status>sovereign state</state_status>
    <capital>Seoul</capital>
    <capital_wikidata>Q8684</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>37.56</lat>
    <lon>126.99</lon>
  </row>
  <row>
    <id>Q2145402-5ac230e0-4b2b-a59f-ae75-2d3f9d9ba31a</id>
    <country_name>South Peru</country_name>
    <country_wikidata>Q2145402</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tacna</capital>
    <capital_wikidata>Q272795</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-18.0556</lat>
    <lon>-70.2483</lon>
  </row>
  <row>
    <id>Q718763-e95fdf69-462d-28c4-140b-9611b6b05d54</id>
    <country_name>South Seas Mandate</country_name>
    <country_wikidata>Q718763</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Koror</capital>
    <capital_wikidata>Q527748</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>7.3433</lat>
    <lon>134.4804</lon>
  </row>
  <row>
    <id>q958-531C0BA9-9192-4EB5-A4A7-6C39EC02F823</id>
    <country_name>South Sudan</country_name>
    <country_wikidata>Q958</country_wikidata>
    <country>SSD</country>
    <state_status>sovereign state</state_status>
    <capital>Juba</capital>
    <capital_wikidata>Q1947</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>4.8539</lat>
    <lon>31.5825</lon>
  </row>
  <row>
    <id>Q180573-7744816d-4621-c231-a295-777d5da4027d</id>
    <country_name>South Vietnam</country_name>
    <country_wikidata>Q180573</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Saigon</capital>
    <capital_wikidata>Q105076326</capital_wikidata>
    <from>1955</from>
    <until>1975</until>
    <from_year>1955</from_year>
    <until_year>1975</until_year>
    <years_as_capital>20</years_as_capital>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>10.8022</lat>
    <lon>106.6969</lon>
  </row>
  <row>
    <id>Q199841-99e9eadc-4dd8-a171-34eb-90ee811cecf6</id>
    <country_name>South Yemen</country_name>
    <country_wikidata>Q199841</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Aden</capital>
    <capital_wikidata>Q131694</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>12.8</lat>
    <lon>45.0333</lon>
  </row>
  <row>
    <id>Q953068-76042f4f-48bc-13fe-d300-7448cc96a91f</id>
    <country_name>South-West Africa</country_name>
    <country_wikidata>Q953068</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Windhoek</capital>
    <capital_wikidata>Q3935</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-22.57</lat>
    <lon>17.0836</lon>
  </row>
  <row>
    <id>Q3324546-f85e757d-4ee0-249e-3161-c7c1a883713e</id>
    <country_name>Sovereign Council of Asturias and León</country_name>
    <country_wikidata>Q3324546</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Gijón</capital>
    <capital_wikidata>Q12273</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>43.5293</lat>
    <lon>-5.6773</lon>
  </row>
  <row>
    <id>Q774783-1929c9a0-463c-f9b0-1259-cb37f37d9761</id>
    <country_name>Sovereign Principality of the United Netherlands</country_name>
    <country_wikidata>Q774783</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Amsterdam</capital>
    <capital_wikidata>Q727</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.3667</lat>
    <lon>4.8833</lon>
  </row>
  <row>
    <id>Q15242873-fa16c48f-4c58-5eac-d4c6-d93737fe2926</id>
    <country_name>Soviet Civil Administration</country_name>
    <country_wikidata>Q15242873</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Pyongyang</capital>
    <capital_wikidata>Q18808</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>39.0167</lat>
    <lon>125.7475</lon>
  </row>
  <row>
    <id>Q15180-f361522a-42b2-82e7-4e98-ec1f5afd3ba3</id>
    <country_name>Soviet Union</country_name>
    <country_wikidata>Q15180</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Moscow</capital>
    <capital_wikidata>Q649</capital_wikidata>
    <from>1922-12-30</from>
    <until>1991-12-26</until>
    <from_year>1922</from_year>
    <until_year>1991</until_year>
    <years_as_capital>69</years_as_capital>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>55.7506</lat>
    <lon>37.6175</lon>
  </row>
  <row>
    <id>Q29-4e49ad78-4f44-4216-5ab5-b997fd855871</id>
    <country_name>Spain</country_name>
    <country_wikidata>Q29</country_wikidata>
    <country>ESP</country>
    <state_status>sovereign state</state_status>
    <capital>Toledo city</capital>
    <capital_wikidata>Q31844059</capital_wikidata>
    <from>1519</from>
    <until>1561</until>
    <from_year>1519</from_year>
    <until_year>1561</until_year>
    <years_as_capital>42</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>39.8581</lat>
    <lon>-4.0226</lon>
  </row>
  <row>
    <id>Q29-c733c8b8-45d9-36dc-6b69-6fd5ab887846</id>
    <country_name>Spain</country_name>
    <country_wikidata>Q29</country_wikidata>
    <country>ESP</country>
    <state_status>sovereign state</state_status>
    <capital>Madrid city</capital>
    <capital_wikidata>Q116170766</capital_wikidata>
    <from>1561</from>
    <until>1601</until>
    <from_year>1561</from_year>
    <until_year>1601</until_year>
    <years_as_capital>40</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>40.4084</lat>
    <lon>-3.6876</lon>
  </row>
  <row>
    <id>Q29-2f93423d-4269-f69d-4321-b895e2be0c34</id>
    <country_name>Spain</country_name>
    <country_wikidata>Q29</country_wikidata>
    <country>ESP</country>
    <state_status>sovereign state</state_status>
    <capital>Valladolid city</capital>
    <capital_wikidata>Q31925679</capital_wikidata>
    <from>1601</from>
    <until>1606</until>
    <from_year>1601</from_year>
    <until_year>1606</until_year>
    <years_as_capital>5</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>41.6523</lat>
    <lon>-4.7285</lon>
  </row>
  <row>
    <id>q29-946C671C-6198-4B49-B8E5-A9E616E125BF</id>
    <country_name>Spain</country_name>
    <country_wikidata>Q29</country_wikidata>
    <country>ESP</country>
    <state_status>sovereign state</state_status>
    <capital>Madrid</capital>
    <capital_wikidata>Q2807</capital_wikidata>
    <current>true</current>
    <capitals_count>4</capitals_count>
    <lat>40.4169</lat>
    <lon>-3.7033</lon>
  </row>
  <row>
    <id>Q1044536-C12DC19C-6590-405F-956F-5CE01B7ACFCC</id>
    <country_name>Spain under the Restoration</country_name>
    <country_wikidata>Q1044536</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Madrid</capital>
    <capital_wikidata>Q2807</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>40.4169</lat>
    <lon>-3.7033</lon>
  </row>
  <row>
    <id>Q80702-d48af57f-409d-e267-0420-aa7cee42ff7e</id>
    <country_name>Spanish Empire</country_name>
    <country_wikidata>Q80702</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Madrid city</capital>
    <capital_wikidata>Q116170766</capital_wikidata>
    <from>1606</from>
    <from_year>1606</from_year>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>40.4084</lat>
    <lon>-3.6876</lon>
  </row>
  <row>
    <id>Q80702-3bd4516f-4ce3-4ea5-9128-dcdd0bc8061d</id>
    <country_name>Spanish Empire</country_name>
    <country_wikidata>Q80702</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Toledo city</capital>
    <capital_wikidata>Q31844059</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>39.8581</lat>
    <lon>-4.0226</lon>
  </row>
  <row>
    <id>Q80702-4dde4dac-41b6-c0bd-707c-9af5960e1b80</id>
    <country_name>Spanish Empire</country_name>
    <country_wikidata>Q80702</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Valladolid city</capital>
    <capital_wikidata>Q31925679</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>41.6523</lat>
    <lon>-4.7285</lon>
  </row>
  <row>
    <id>Q689837-80fa54b7-40bd-0b3a-dd5f-4797c96734fe</id>
    <country_name>Spanish Sahara</country_name>
    <country_wikidata>Q689837</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Laayoune</capital>
    <capital_wikidata>Q47837</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>27.15</lat>
    <lon>-13.2</lon>
  </row>
  <row>
    <id>Q854-0e57747a-409c-e232-3513-ffaa308768fd</id>
    <country_name>Sri Lanka</country_name>
    <country_wikidata>Q854</country_wikidata>
    <country>LKA</country>
    <state_status>sovereign state</state_status>
    <capital>Sri Jayawardenepura Kotte</capital>
    <capital_wikidata>Q41963</capital_wikidata>
    <current>true</current>
    <role>legislature</role>
    <capitals_count>2</capitals_count>
    <lat>6.9</lat>
    <lon>79.9164</lon>
  </row>
  <row>
    <id>Q854-d23dbbdc-43a8-e460-66db-150dd54cd273</id>
    <country_name>Sri Lanka</country_name>
    <country_wikidata>Q854</country_wikidata>
    <country>LKA</country>
    <state_status>sovereign state</state_status>
    <capital>Colombo</capital>
    <capital_wikidata>Q35381</capital_wikidata>
    <current>true</current>
    <role>executive branch</role>
    <capitals_count>2</capitals_count>
    <lat>6.9267</lat>
    <lon>79.8606</lon>
  </row>
  <row>
    <id>Q234197-5C94DC12-E3E1-418E-B517-FD9601B2F2E7</id>
    <country_name>Srivijaya</country_name>
    <country_wikidata>Q234197</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Palembang</capital>
    <capital_wikidata>Q8131</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-2.9833</lat>
    <lon>104.7644</lon>
  </row>
  <row>
    <id>Q2039165-0c7bd0a3-4274-d2d4-1a50-8c6b15ed1c9e</id>
    <country_name>Stad en Lande</country_name>
    <country_wikidata>Q2039165</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Groningen</capital>
    <capital_wikidata>Q749</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>53.2189</lat>
    <lon>6.5675</lon>
  </row>
  <row>
    <id>Q16701789-f31f8e88-4e79-03cc-603d-3d6a0258b85f</id>
    <country_name>Starodub Principality</country_name>
    <country_wikidata>Q16701789</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Starodub</capital>
    <capital_wikidata>Q196483</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.5833</lat>
    <lon>32.7667</lon>
  </row>
  <row>
    <id>Q146872-4d6037bd-418d-87a0-ae92-42cc844dbbaa</id>
    <country_name>State of Aleppo</country_name>
    <country_wikidata>Q146872</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Aleppo</capital>
    <capital_wikidata>Q41183</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>36.2</lat>
    <lon>37.16</lon>
  </row>
  <row>
    <id>Q11876909-59dc1b45-4913-30ed-6d49-b54d2ba57f12</id>
    <country_name>State of Brazil</country_name>
    <country_wikidata>Q11876909</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Salvador</capital>
    <capital_wikidata>Q36947</capital_wikidata>
    <from>1645</from>
    <until>1763</until>
    <from_year>1645</from_year>
    <until_year>1763</until_year>
    <years_as_capital>118</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>-12.9831</lat>
    <lon>-38.4928</lon>
  </row>
  <row>
    <id>Q11876909-393f595d-4b73-a83d-dd31-95796f854e12</id>
    <country_name>State of Brazil</country_name>
    <country_wikidata>Q11876909</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Rio de Janeiro</capital>
    <capital_wikidata>Q8678</capital_wikidata>
    <from>1763</from>
    <until>1815</until>
    <from_year>1763</from_year>
    <until_year>1815</until_year>
    <years_as_capital>52</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>-22.9111</lat>
    <lon>-43.2056</lon>
  </row>
  <row>
    <id>Q6553448-bad31077-4186-c530-dbd3-d18f9bae0aa3</id>
    <country_name>State of Buenos Aires</country_name>
    <country_wikidata>Q6553448</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Buenos Aires</capital>
    <capital_wikidata>Q1486</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-34.5997</lat>
    <lon>-58.3819</lon>
  </row>
  <row>
    <id>Q704358-35699B9F-9429-45D5-B9E4-3E6CB640E101</id>
    <country_name>State of Burma</country_name>
    <country_wikidata>Q704358</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Yangon</capital>
    <capital_wikidata>Q37995</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>16.8053</lat>
    <lon>96.1561</lon>
  </row>
  <row>
    <id>Q4147012-b9c35903-46da-1e10-8390-ed5f9d04694a</id>
    <country_name>State of Buryat-Mongolia</country_name>
    <country_wikidata>Q4147012</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Chita</capital>
    <capital_wikidata>Q53139</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.0334</lat>
    <lon>113.5009</lon>
  </row>
  <row>
    <id>Q146562-33271059-4476-0bd0-8932-9e8c2271cea4</id>
    <country_name>State of Damascus</country_name>
    <country_wikidata>Q146562</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Damascus</capital>
    <capital_wikidata>Q3766</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>33.5131</lat>
    <lon>36.2919</lon>
  </row>
  <row>
    <id>Q2625496-9e7241b7-4ae9-f38e-dcac-a82ffbb401af</id>
    <country_name>State of East Indonesia</country_name>
    <country_wikidata>Q2625496</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Singaraja</capital>
    <capital_wikidata>Q1013537</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>-8.1167</lat>
    <lon>115.0833</lon>
  </row>
  <row>
    <id>Q2625496-bd523415-4a26-048d-3688-afa583f7ce4b</id>
    <country_name>State of East Indonesia</country_name>
    <country_wikidata>Q2625496</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Makassar</capital>
    <capital_wikidata>Q14634</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>-5.1331</lat>
    <lon>119.4136</lon>
  </row>
  <row>
    <id>Q1192437-F91FE407-5243-4591-BD0D-C4CF22583989</id>
    <country_name>State of East Sumatra</country_name>
    <country_wikidata>Q1192437</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Medan</capital>
    <capital_wikidata>Q5972</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>3.5894</lat>
    <lon>98.6739</lon>
  </row>
  <row>
    <id>Q616965-1CAC00E8-A7F7-45CE-9A09-B46DB92DAF23</id>
    <country_name>State of Grão-Pará and Maranhão</country_name>
    <country_wikidata>Q616965</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Belém</capital>
    <capital_wikidata>Q12829733</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-1.4558</lat>
    <lon>-48.5039</lon>
  </row>
  <row>
    <id>Q2150951-d057e104-4c04-3616-6774-3b66ed2f32bf</id>
    <country_name>State of Haiti</country_name>
    <country_wikidata>Q2150951</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Milot</capital>
    <capital_wikidata>Q1257589</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>19.6047</lat>
    <lon>-72.2186</lon>
  </row>
  <row>
    <id>Q107380-35b62b60-4fad-e4ce-639d-5c46a53ee188</id>
    <country_name>State of Lippe</country_name>
    <country_wikidata>Q107380</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Detmold</capital>
    <capital_wikidata>Q3922</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.9378</lat>
    <lon>8.8833</lon>
  </row>
  <row>
    <id>Q738264-DE48DF0C-7401-413E-98CC-42735BD84B73</id>
    <country_name>State of Los Altos</country_name>
    <country_wikidata>Q738264</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Quetzaltenango</capital>
    <capital_wikidata>Q334577</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>14.8333</lat>
    <lon>-91.5167</lon>
  </row>
  <row>
    <id>Q7603765-ddbce228-48d7-6108-e371-713b29056180</id>
    <country_name>State of Malta</country_name>
    <country_wikidata>Q7603765</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Valletta</capital>
    <capital_wikidata>Q23800</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>35.8978</lat>
    <lon>14.5125</lon>
  </row>
  <row>
    <id>Q502009-A2331207-1E61-4848-AEF9-DF7B42E44DAD</id>
    <country_name>State of Maranhão</country_name>
    <country_wikidata>Q502009</country_wikidata>
    <state_status>historical state</state_status>
    <capital>São Luís</capital>
    <capital_wikidata>Q28441</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-2.53</lat>
    <lon>-44.3028</lon>
  </row>
  <row>
    <id>Q1106857-78d584c3-40df-432a-37c2-ffc68122cd95</id>
    <country_name>State of Somaliland</country_name>
    <country_wikidata>Q1106857</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Hargeisa</capital>
    <capital_wikidata>Q168652</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>9.5656</lat>
    <lon>44.0606</lon>
  </row>
  <row>
    <id>Q146880-31e61e23-47d3-d4f7-99e9-e1acde4bfae9</id>
    <country_name>State of Syria</country_name>
    <country_wikidata>Q146880</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Damascus</capital>
    <capital_wikidata>Q3766</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>33.5131</lat>
    <lon>36.2919</lon>
  </row>
  <row>
    <id>Q39501433-1ff3ffef-46eb-586f-21e1-e1835a4392a9</id>
    <country_name>State of Venezuela</country_name>
    <country_wikidata>Q39501433</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Caracas</capital>
    <capital_wikidata>Q1533</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>10.5061</lat>
    <lon>-66.9144</lon>
  </row>
  <row>
    <id>Q16685842-68FE2E0D-2756-467F-9CA1-87E76E1EBAF6</id>
    <country_name>State of the Comoros</country_name>
    <country_wikidata>Q16685842</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Moroni</capital>
    <capital_wikidata>Q3901</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-11.7036</lat>
    <lon>43.2536</lon>
  </row>
  <row>
    <id>Q156020-e41f6981-4159-2fb6-473e-0c1d754d208d</id>
    <country_name>State of the Teutonic Order</country_name>
    <country_wikidata>Q156020</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Malbork</capital>
    <capital_wikidata>Q146820</capital_wikidata>
    <from>1308</from>
    <until>1454</until>
    <from_year>1308</from_year>
    <until_year>1454</until_year>
    <years_as_capital>146</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>54.0285</lat>
    <lon>19.0444</lon>
  </row>
  <row>
    <id>Q156020-11bea166-405d-6ae4-1fd2-88bcc3802f23</id>
    <country_name>State of the Teutonic Order</country_name>
    <country_wikidata>Q156020</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Königsberg</capital>
    <capital_wikidata>Q4120832</capital_wikidata>
    <from>1454</from>
    <until>1525</until>
    <from_year>1454</from_year>
    <until_year>1525</until_year>
    <years_as_capital>71</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>54.7115</lat>
    <lon>20.5093</lon>
  </row>
  <row>
    <id>Q156020-098A6060-EC2A-4A41-9ABF-963A4FD74674</id>
    <country_name>State of the Teutonic Order</country_name>
    <country_wikidata>Q156020</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Malbork Castle</capital>
    <capital_wikidata>Q71279</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>54.0397</lat>
    <lon>19.0278</lon>
  </row>
  <row>
    <id>Q1351979-1c7d0b57-4d1b-3616-51f0-d3cd941d1947</id>
    <country_name>Stavropol Soviet Republic</country_name>
    <country_wikidata>Q1351979</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Stavropol</capital>
    <capital_wikidata>Q5206</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>45.05</lat>
    <lon>41.9833</lon>
  </row>
  <row>
    <id>Q1269234-932184F3-9367-4D2F-83BB-7CB4FCE14214</id>
    <country_name>Stellaland</country_name>
    <country_wikidata>Q1269234</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vryburg</capital>
    <capital_wikidata>Q1027291</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-26.9586</lat>
    <lon>24.7322</lon>
  </row>
  <row>
    <id>Q2353476-d9518f96-427c-c153-f951-d989bbbbd840</id>
    <country_name>Strandzha Commune</country_name>
    <country_wikidata>Q2353476</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Malko Tarnovo</capital>
    <capital_wikidata>Q406488</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.9806</lat>
    <lon>27.5243</lon>
  </row>
  <row>
    <id>q1049-0BD0A115-37DD-4D86-AC0C-8DE221C8F09D</id>
    <country_name>Sudan</country_name>
    <country_wikidata>Q1049</country_wikidata>
    <country>SDN</country>
    <state_status>sovereign state</state_status>
    <capital>Khartoum</capital>
    <capital_wikidata>Q1963</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>15.6031</lat>
    <lon>32.5265</lon>
  </row>
  <row>
    <id>Q3456487-99fbb33e-4c22-cb04-3888-a0613b5630a7</id>
    <country_name>Sudanese Republic</country_name>
    <country_wikidata>Q3456487</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bamako</capital>
    <capital_wikidata>Q3703</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>12.6458</lat>
    <lon>-7.9922</lon>
  </row>
  <row>
    <id>Q863279-317ead97-43a9-6a56-dc04-fa4679169206</id>
    <country_name>Sukhothai Kingdom</country_name>
    <country_wikidata>Q863279</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Phitsanulok</capital>
    <capital_wikidata>Q867579</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>16.8158</lat>
    <lon>100.2636</lon>
  </row>
  <row>
    <id>Q863279-C067A2C2-C5B9-49C2-A05B-0D6ECE888FF6</id>
    <country_name>Sukhothai Kingdom</country_name>
    <country_wikidata>Q863279</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sukhothai Historical Park</capital>
    <capital_wikidata>Q423654</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>17.0211</lat>
    <lon>99.7036</lon>
  </row>
  <row>
    <id>Q4199254-9AA59495-0A5C-4D93-A8BD-48C0B6F125B0</id>
    <country_name>Sultanate Taranchinsky</country_name>
    <country_wikidata>Q4199254</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Yining</capital>
    <capital_wikidata>Q866021</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>43.9167</lat>
    <lon>81.3167</lon>
  </row>
  <row>
    <id>Q1502813-6f4840b4-4fc4-d1ae-63ea-ee9db4e123e9</id>
    <country_name>Sultanate of Agadez</country_name>
    <country_wikidata>Q1502813</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Agadez</capital>
    <capital_wikidata>Q320049</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>16.9742</lat>
    <lon>7.9865</lon>
  </row>
  <row>
    <id>Q1660566-0257bb63-4c7d-257b-fa0f-4212d8ccf382</id>
    <country_name>Sultanate of Banjar</country_name>
    <country_wikidata>Q1660566</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Banjarmasin</capital>
    <capital_wikidata>Q14182</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>-3.3144</lat>
    <lon>114.5923</lon>
  </row>
  <row>
    <id>Q1660566-21b4832d-40a9-f4c1-3172-901d201bd713</id>
    <country_name>Sultanate of Banjar</country_name>
    <country_wikidata>Q1660566</country_wikidata>
    <state_status>historical state</state_status>
    <capital>North Kuin</capital>
    <capital_wikidata>Q4262427</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>-3.2931</lat>
    <lon>114.5724</lon>
  </row>
  <row>
    <id>Q1660566-5b45e445-4729-b7a8-445e-4228f99775ce</id>
    <country_name>Sultanate of Banjar</country_name>
    <country_wikidata>Q1660566</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Martapura</capital>
    <capital_wikidata>Q2358819</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>-3.4167</lat>
    <lon>114.85</lon>
  </row>
  <row>
    <id>Q1660566-e0ee058e-4001-f58d-d422-3751239a9c0b</id>
    <country_name>Sultanate of Banjar</country_name>
    <country_wikidata>Q1660566</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Pemakuan</capital>
    <capital_wikidata>Q4257150</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>-3.31</lat>
    <lon>114.6904</lon>
  </row>
  <row>
    <id>Q3503548-491E70A7-2AB5-44B0-9E18-334890844386</id>
    <country_name>Sultanate of Bulungan</country_name>
    <country_wikidata>Q3503548</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bulungan</capital>
    <capital_wikidata>Q14404</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>3</lat>
    <lon>117.1667</lon>
  </row>
  <row>
    <id>Q2077648-eb0ace96-426c-0968-a7c0-3e96a483aa64</id>
    <country_name>Sultanate of Cirebon</country_name>
    <country_wikidata>Q2077648</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Cirebon</capital>
    <capital_wikidata>Q10395</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-6.7397</lat>
    <lon>108.553</lon>
  </row>
  <row>
    <id>Q4154364-3671b559-4092-8c7d-cf19-3c2349b14af8</id>
    <country_name>Sultanate of Damagaram</country_name>
    <country_wikidata>Q4154364</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Zinder</capital>
    <capital_wikidata>Q204365</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>13.8017</lat>
    <lon>8.9854</lon>
  </row>
  <row>
    <id>Q1474791-165e4dbe-467d-7ef4-18bd-ddd88b14c396</id>
    <country_name>Sultanate of Darfur</country_name>
    <country_wikidata>Q1474791</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Al-Fashir</capital>
    <capital_wikidata>Q311204</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>13.627</lat>
    <lon>25.3496</lon>
  </row>
  <row>
    <id>Q2030015-dee791ec-4778-29d3-491b-70b55a0e7296</id>
    <country_name>Sultanate of Deli</country_name>
    <country_wikidata>Q2030015</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Medan</capital>
    <capital_wikidata>Q5972</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>3.5894</lat>
    <lon>98.6739</lon>
  </row>
  <row>
    <id>Q370173-286696ba-4325-27c7-4702-88f900385eac</id>
    <country_name>Sultanate of Egypt</country_name>
    <country_wikidata>Q370173</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Cairo</capital>
    <capital_wikidata>Q85</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>30.0444</lat>
    <lon>31.2358</lon>
  </row>
  <row>
    <id>Q1408641-215D2DBF-A3FA-461A-BE4A-C60EAD9E39B0</id>
    <country_name>Sultanate of Gowa</country_name>
    <country_wikidata>Q1408641</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sungguminasa</capital>
    <capital_wikidata>Q12518016</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-5.2003</lat>
    <lon>119.4515</lon>
  </row>
  <row>
    <id>Q862404-8a2e52f5-4948-7ebe-86ce-ca25a50a78ed</id>
    <country_name>Sultanate of Hobyo</country_name>
    <country_wikidata>Q862404</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Hobyow</capital>
    <capital_wikidata>Q1016908</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>5.3514</lat>
    <lon>48.5256</lon>
  </row>
  <row>
    <id>Q404774-0bc2d6aa-496e-9956-d301-2d5bcaa45221</id>
    <country_name>Sultanate of Lahej</country_name>
    <country_wikidata>Q404774</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lahij</capital>
    <capital_wikidata>Q249175</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>13.05</lat>
    <lon>44.8833</lon>
  </row>
  <row>
    <id>Q248572-8FF1ADBA-BB59-4698-B471-EBF95B509735</id>
    <country_name>Sultanate of Maguindanao</country_name>
    <country_wikidata>Q248572</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Cotabato City</capital>
    <capital_wikidata>Q726993</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>7.2167</lat>
    <lon>124.25</lon>
  </row>
  <row>
    <id>Q861784-eb0e94cf-42b7-cb88-7921-a85f0d699811</id>
    <country_name>Sultanate of Mogadishu</country_name>
    <country_wikidata>Q861784</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mogadishu</capital>
    <capital_wikidata>Q2449</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>2.0392</lat>
    <lon>45.3419</lon>
  </row>
  <row>
    <id>Q16881283-7691a1c9-4afe-67f1-a54a-bbb593901ea6</id>
    <country_name>Sultanate of Muscat</country_name>
    <country_wikidata>Q16881283</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Muscat</capital>
    <capital_wikidata>Q3826</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>23.6139</lat>
    <lon>58.5922</lon>
  </row>
  <row>
    <id>Q975405-0a741f1e-4f38-a87b-c451-33fd5ebeef13</id>
    <country_name>Sultanate of Rum</country_name>
    <country_wikidata>Q975405</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nicaea</capital>
    <capital_wikidata>Q739037</capital_wikidata>
    <from>1077</from>
    <until>1098</until>
    <from_year>1077</from_year>
    <until_year>1098</until_year>
    <years_as_capital>21</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>40.429</lat>
    <lon>29.7195</lon>
  </row>
  <row>
    <id>Q975405-e2abe7a9-417d-f50b-465e-1f662f32263d</id>
    <country_name>Sultanate of Rum</country_name>
    <country_wikidata>Q975405</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Konya</capital>
    <capital_wikidata>Q79857</capital_wikidata>
    <from>1098</from>
    <until>1307</until>
    <from_year>1098</from_year>
    <until_year>1307</until_year>
    <years_as_capital>209</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>37.8728</lat>
    <lon>32.4921</lon>
  </row>
  <row>
    <id>Q2988765-33ed55dd-4db9-77d8-382f-40432e4c5681</id>
    <country_name>Sultanate of Siak Sri Indrapura</country_name>
    <country_wikidata>Q2988765</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Pekanbaru</capital>
    <capital_wikidata>Q7786</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>0.5333</lat>
    <lon>101.45</lon>
  </row>
  <row>
    <id>Q422065-A2F024C3-978D-4B7E-B5CF-8660F5A03805</id>
    <country_name>Sultanate of Sulu</country_name>
    <country_wikidata>Q422065</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Maimbung</capital>
    <capital_wikidata>Q156090</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>5.9333</lat>
    <lon>121.0333</lon>
  </row>
  <row>
    <id>Q4118614-E918E364-C3CB-4FB6-A28A-ACAF246EB2A0</id>
    <country_name>Sultanate of Tidore</country_name>
    <country_wikidata>Q4118614</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tidore Islands</capital>
    <capital_wikidata>Q19153</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>0.6094</lat>
    <lon>127.5697</lon>
  </row>
  <row>
    <id>Q18415401-8126E80B-1B42-4014-9C8C-ED2CC130FE4D</id>
    <country_name>Sultanate of Tuggurt</country_name>
    <country_wikidata>Q18415401</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Touggourt</capital>
    <capital_wikidata>Q852515</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>33.1</lat>
    <lon>6.0667</lon>
  </row>
  <row>
    <id>Q157904-efe6195c-4103-0e67-a3da-c3bc4b853515</id>
    <country_name>Sultanate of Zanzibar</country_name>
    <country_wikidata>Q157904</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Zanzibar City</capital>
    <capital_wikidata>Q2222874</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-6.1667</lat>
    <lon>39.2</lon>
  </row>
  <row>
    <id>Q1469742-30589923-43f0-4d9a-20aa-5a6fbd82a70b</id>
    <country_name>Sunda Kingdom</country_name>
    <country_wikidata>Q1469742</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Pakuan Pajajaran</capital>
    <capital_wikidata>Q3177676</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
  </row>
  <row>
    <id>Q1469742-c1ac13bb-41d7-08e3-d330-005e9b7f048b</id>
    <country_name>Sunda Kingdom</country_name>
    <country_wikidata>Q1469742</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kawali</capital>
    <capital_wikidata>Q12489930</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
  </row>
  <row>
    <id>Q373650-1F5C84F3-211A-446A-9722-9FB96EA7E8D0</id>
    <country_name>Sur Empire</country_name>
    <country_wikidata>Q373650</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Delhi</capital>
    <capital_wikidata>Q1353</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>28.6667</lat>
    <lon>77.2167</lon>
  </row>
  <row>
    <id>Q2122499-fd6204da-4891-c094-1c1c-f7dde351a825</id>
    <country_name>Surakarta Sunanate</country_name>
    <country_wikidata>Q2122499</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Surakarta</capital>
    <capital_wikidata>Q4803</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-7.5667</lat>
    <lon>110.8167</lon>
  </row>
  <row>
    <id>Q1330149-5D71D78D-F781-4B1A-9C53-03412F544FBA</id>
    <country_name>Surasena</country_name>
    <country_wikidata>Q1330149</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mathura</capital>
    <capital_wikidata>Q200311</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>27.4924</lat>
    <lon>77.6737</lon>
  </row>
  <row>
    <id>q730-CBCB32DB-AB31-454A-AC18-50569484448E</id>
    <country_name>Suriname</country_name>
    <country_wikidata>Q730</country_wikidata>
    <country>SUR</country>
    <state_status>sovereign state</state_status>
    <capital>Paramaribo</capital>
    <capital_wikidata>Q3001</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>5.8667</lat>
    <lon>-55.1667</lon>
  </row>
  <row>
    <id>Q19901436-6cc00c66-407d-92a8-86ff-60acd040a3a6</id>
    <country_name>Suriname</country_name>
    <country_wikidata>Q19901436</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Paramaribo</capital>
    <capital_wikidata>Q3001</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>5.8667</lat>
    <lon>-55.1667</lon>
  </row>
  <row>
    <id>Q34-29dffe8a-4325-956d-eb86-87b763bfb638</id>
    <country_name>Sweden</country_name>
    <country_wikidata>Q34</country_wikidata>
    <country>SWE</country>
    <state_status>sovereign state</state_status>
    <capital>Stockholm</capital>
    <capital_wikidata>Q1754</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>59.3294</lat>
    <lon>18.0686</lon>
  </row>
  <row>
    <id>Q215443-c6760582-4d90-7c1c-ede8-8a03ac33db04</id>
    <country_name>Swedish Empire</country_name>
    <country_wikidata>Q215443</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Stockholm</capital>
    <capital_wikidata>Q1754</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>59.3294</lat>
    <lon>18.0686</lon>
  </row>
  <row>
    <id>Q682318-7436085E-E332-4622-BB0D-DD12050DAB92</id>
    <country_name>Swedish Pomerania</country_name>
    <country_wikidata>Q682318</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Szczecin</capital>
    <capital_wikidata>Q393</capital_wikidata>
    <from>1648</from>
    <until>1720</until>
    <from_year>1648</from_year>
    <until_year>1720</until_year>
    <years_as_capital>72</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>53.4247</lat>
    <lon>14.5553</lon>
  </row>
  <row>
    <id>Q682318-0e208c0c-4e55-c384-59d9-8959ad9dd19a</id>
    <country_name>Swedish Pomerania</country_name>
    <country_wikidata>Q682318</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Stralsund</capital>
    <capital_wikidata>Q4065</capital_wikidata>
    <from>1720</from>
    <until>1815</until>
    <from_year>1720</from_year>
    <until_year>1815</until_year>
    <years_as_capital>95</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>54.3092</lat>
    <lon>13.0819</lon>
  </row>
  <row>
    <id>q39-ab4176f0-495a-275d-82ca-8bd7a4dbe889</id>
    <country_name>Switzerland</country_name>
    <country_wikidata>Q39</country_wikidata>
    <country>CHE</country>
    <state_status>sovereign state</state_status>
    <capital>Bern</capital>
    <capital_wikidata>Q70</capital_wikidata>
    <from>1848-11-28</from>
    <from_year>1848</from_year>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>46.948</lat>
    <lon>7.4474</lon>
  </row>
  <row>
    <id>q858-417351A2-D165-459C-85E3-F2EA227320DC</id>
    <country_name>Syria</country_name>
    <country_wikidata>Q858</country_wikidata>
    <country>SYR</country>
    <state_status>sovereign state</state_status>
    <capital>Damascus</capital>
    <capital_wikidata>Q3766</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>33.5131</lat>
    <lon>36.2919</lon>
  </row>
  <row>
    <id>Q12183911-e9d07cb4-4337-1a33-3264-60013915b425</id>
    <country_name>Syrian Federation</country_name>
    <country_wikidata>Q12183911</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Aleppo</capital>
    <capital_wikidata>Q41183</capital_wikidata>
    <from>1922</from>
    <until>1923</until>
    <from_year>1922</from_year>
    <until_year>1923</until_year>
    <years_as_capital>1</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>36.2</lat>
    <lon>37.16</lon>
  </row>
  <row>
    <id>Q12183911-e1bcb4da-4ff1-35df-376b-e3316191b4dc</id>
    <country_name>Syrian Federation</country_name>
    <country_wikidata>Q12183911</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Damascus</capital>
    <capital_wikidata>Q3766</capital_wikidata>
    <from>1923</from>
    <until>1925-01-01</until>
    <from_year>1923</from_year>
    <until_year>1925</until_year>
    <years_as_capital>2</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>33.5131</lat>
    <lon>36.2919</lon>
  </row>
  <row>
    <id>q1039-4061653E-4B8A-4FE7-BF4C-E60CEDD46FA2</id>
    <country_name>São Tomé and Príncipe</country_name>
    <country_wikidata>Q1039</country_wikidata>
    <country>STP</country>
    <state_status>sovereign state</state_status>
    <capital>São Tomé</capital>
    <capital_wikidata>Q3932</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>0.3375</lat>
    <lon>6.7283</lon>
  </row>
  <row>
    <id>Q110442770-ee5ac4a6-4eb1-540b-1979-5919cd99de54</id>
    <country_name>Taank Kingdom</country_name>
    <country_wikidata>Q110442770</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sagala</capital>
    <capital_wikidata>Q1069204</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>32.5053</lat>
    <lon>74.5342</lon>
  </row>
  <row>
    <id>Q699871-4FD55A86-F9B9-423A-960E-552408D1FE0C</id>
    <country_name>Taebong</country_name>
    <country_wikidata>Q699871</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kaesong</capital>
    <capital_wikidata>Q109079</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.9717</lat>
    <lon>126.5528</lon>
  </row>
  <row>
    <id>Q2060937-754A1576-B48C-4914-B3E7-F3A600F60351</id>
    <country_name>Taifa of Albarracín</country_name>
    <country_wikidata>Q2060937</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Albarracín</capital>
    <capital_wikidata>Q695488</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>40.4053</lat>
    <lon>-1.444</lon>
  </row>
  <row>
    <id>Q1183407-A74A0623-3D72-4F1F-BB78-4B961A61CC44</id>
    <country_name>Taifa of Algeciras</country_name>
    <country_wikidata>Q1183407</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Algeciras</capital>
    <capital_wikidata>Q484552</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>36.1275</lat>
    <lon>-5.4539</lon>
  </row>
  <row>
    <id>Q2580032-EABC9BFC-FD16-4000-89F4-72659B3437CA</id>
    <country_name>Taifa of Almería</country_name>
    <country_wikidata>Q2580032</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Almería</capital>
    <capital_wikidata>Q10400</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>36.8417</lat>
    <lon>-2.4639</lon>
  </row>
  <row>
    <id>Q2670895-c576c224-4e3f-62f1-6bcb-7d5b2e870d0b</id>
    <country_name>Taifa of Alpuente</country_name>
    <country_wikidata>Q2670895</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Alpuente</capital>
    <capital_wikidata>Q23988889</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>39.8758</lat>
    <lon>-1.0139</lon>
  </row>
  <row>
    <id>Q2390604-b8ed8c8f-462b-1a87-d31a-6e907d2eade9</id>
    <country_name>Taifa of Arcos</country_name>
    <country_wikidata>Q2390604</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Arcos de la Frontera</capital>
    <capital_wikidata>Q637863</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>36.7483</lat>
    <lon>-5.8063</lon>
  </row>
  <row>
    <id>Q11704201-445133eb-40f0-a3d1-6c42-0793144ef1f8</id>
    <country_name>Taifa of Arjona</country_name>
    <country_wikidata>Q11704201</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Arjona</capital>
    <capital_wikidata>Q1354411</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.935</lat>
    <lon>-4.0569</lon>
  </row>
  <row>
    <id>Q276841-e0290a6a-4201-8a67-bd5d-215cb1cbfdee</id>
    <country_name>Taifa of Badajoz</country_name>
    <country_wikidata>Q276841</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Badajoz</capital>
    <capital_wikidata>Q15679</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>38.8779</lat>
    <lon>-6.9706</lon>
  </row>
  <row>
    <id>Q2684394-0a75198f-458d-1ca1-3c83-6a5f5b6357ee</id>
    <country_name>Taifa of Baeza</country_name>
    <country_wikidata>Q2684394</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bayyasa</capital>
    <capital_wikidata>Q136405205</capital_wikidata>
    <current>false</current>
    <role>Baeza</role>
    <capitals_count>1</capitals_count>
    <lat>37.9945</lat>
    <lon>-3.4708</lon>
  </row>
  <row>
    <id>Q2671329-3c188c59-4abc-09b1-46d7-331a904323c1</id>
    <country_name>Taifa of Calatayud</country_name>
    <country_wikidata>Q2671329</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Calatayud</capital>
    <capital_wikidata>Q496424</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.35</lat>
    <lon>-1.6333</lon>
  </row>
  <row>
    <id>Q2668584-2384365a-4810-3742-16fd-10df815920f9</id>
    <country_name>Taifa of Carmona</country_name>
    <country_wikidata>Q2668584</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Carmona</capital>
    <capital_wikidata>Q63092</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.4711</lat>
    <lon>-5.6422</lon>
  </row>
  <row>
    <id>Q5947557-bfacbb33-43bf-c14d-2659-ae5f3c14eed3</id>
    <country_name>Taifa of Ceuta (1061-1084)</country_name>
    <country_wikidata>Q5947557</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ceuta under Muslim rule</capital>
    <capital_wikidata>Q106428150</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>35.8898</lat>
    <lon>-5.3064</lon>
  </row>
  <row>
    <id>Q2463081-5d9223e9-461c-315a-d78a-7c8c36827162</id>
    <country_name>Taifa of Constantina and Hornachuelos</country_name>
    <country_wikidata>Q2463081</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Constantina</capital>
    <capital_wikidata>Q949381</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.8776</lat>
    <lon>-5.6218</lon>
  </row>
  <row>
    <id>Q2285679-c7f7ed0e-4d81-d212-9aae-cda3defed5d0</id>
    <country_name>Taifa of Córdoba</country_name>
    <country_wikidata>Q2285679</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Córdoba</capital>
    <capital_wikidata>Q5818</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.89</lat>
    <lon>-4.78</lon>
  </row>
  <row>
    <id>Q252323-bf959034-4fb9-a3a2-9488-935b1532db1a</id>
    <country_name>Taifa of Dénia</country_name>
    <country_wikidata>Q252323</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Dénia</capital>
    <capital_wikidata>Q646725</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>38.8403</lat>
    <lon>0.1086</lon>
  </row>
  <row>
    <id>Q205708-cac597e5-4999-bdd2-1370-064a19358d02</id>
    <country_name>Taifa of Granada</country_name>
    <country_wikidata>Q205708</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Granada</capital>
    <capital_wikidata>Q8810</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.175</lat>
    <lon>-3.6</lon>
  </row>
  <row>
    <id>Q2327139-0a375850-4a39-25ff-d618-1d42725ab540</id>
    <country_name>Taifa of Guadix and Baza</country_name>
    <country_wikidata>Q2327139</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Guadix</capital>
    <capital_wikidata>Q244324</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.3006</lat>
    <lon>-3.135</lon>
  </row>
  <row>
    <id>Q2548724-f1305313-4239-b8aa-e9df-f973eddfbebc</id>
    <country_name>Taifa of Jaén</country_name>
    <country_wikidata>Q2548724</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Jaén</capital>
    <capital_wikidata>Q24013256</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.7692</lat>
    <lon>-3.7903</lon>
  </row>
  <row>
    <id>Q2478615-50c7414c-4224-d6bf-a738-cc013e5e0f39</id>
    <country_name>Taifa of Jerez</country_name>
    <country_wikidata>Q2478615</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Jerez de la Frontera</capital>
    <capital_wikidata>Q12303</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>36.7</lat>
    <lon>-6.1167</lon>
  </row>
  <row>
    <id>Q2191428-8968679d-46af-2abc-be29-8ece224aa320</id>
    <country_name>Taifa of Jérica</country_name>
    <country_wikidata>Q2191428</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Jérica</capital>
    <capital_wikidata>Q1645723</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>39.9117</lat>
    <lon>-0.5719</lon>
  </row>
  <row>
    <id>Q2620565-BFE55C1D-528B-4976-8856-AEF90AC87E46</id>
    <country_name>Taifa of Lisbon</country_name>
    <country_wikidata>Q2620565</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lisbon</capital>
    <capital_wikidata>Q597</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>38.708</lat>
    <lon>-9.139</lon>
  </row>
  <row>
    <id>Q1949209-7d7ad13f-44e0-6a77-e31b-1908f63dd4ae</id>
    <country_name>Taifa of Lorca</country_name>
    <country_wikidata>Q1949209</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lorca</capital>
    <capital_wikidata>Q47571</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.6833</lat>
    <lon>-1.7</lon>
  </row>
  <row>
    <id>Q2166417-594437be-4007-cade-9aa3-7aa38928d007</id>
    <country_name>Taifa of Lérida</country_name>
    <country_wikidata>Q2166417</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lleida</capital>
    <capital_wikidata>Q15090</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.6167</lat>
    <lon>0.6333</lon>
  </row>
  <row>
    <id>Q3315525-388FCA6A-F551-4529-BC8B-38A5809D1450</id>
    <country_name>Taifa of Majorca</country_name>
    <country_wikidata>Q3315525</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Palma</capital>
    <capital_wikidata>Q8826</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>39.5667</lat>
    <lon>2.6497</lon>
  </row>
  <row>
    <id>Q2232777-b7e2a58f-4e6b-9579-0e7e-51acd6fedf6d</id>
    <country_name>Taifa of Molina</country_name>
    <country_wikidata>Q2232777</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Molina de Aragón</capital>
    <capital_wikidata>Q24011146</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>40.8419</lat>
    <lon>-1.8847</lon>
  </row>
  <row>
    <id>Q2666791-a268f1d6-4e79-a52e-a14e-1301ee040a24</id>
    <country_name>Taifa of Morón</country_name>
    <country_wikidata>Q2666791</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Morón de la Frontera</capital>
    <capital_wikidata>Q609094</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.1222</lat>
    <lon>-5.4517</lon>
  </row>
  <row>
    <id>Q921067-E0FCF5BA-762B-4172-B66E-F3E39BC5F470</id>
    <country_name>Taifa of Murcia</country_name>
    <country_wikidata>Q921067</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Murcia</capital>
    <capital_wikidata>Q12225</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.9833</lat>
    <lon>-1.1303</lon>
  </row>
  <row>
    <id>Q2398434-fde09690-428c-1e9d-9c7c-d5d16fcef7e1</id>
    <country_name>Taifa of Murviedro and Sagunto</country_name>
    <country_wikidata>Q2398434</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sagunto</capital>
    <capital_wikidata>Q47483</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>39.68</lat>
    <lon>-0.2783</lon>
  </row>
  <row>
    <id>Q267484-ed87d7ff-4677-c3ec-94d8-d1add4a1f09e</id>
    <country_name>Taifa of Málaga</country_name>
    <country_wikidata>Q267484</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Málaga</capital>
    <capital_wikidata>Q8851</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>36.7167</lat>
    <lon>-4.4167</lon>
  </row>
  <row>
    <id>Q2436604-92957fc1-49f0-0be0-b988-5e72698e9aac</id>
    <country_name>Taifa of Mértola</country_name>
    <country_wikidata>Q2436604</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mértola</capital>
    <capital_wikidata>Q551056</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.6333</lat>
    <lon>-7.65</lon>
  </row>
  <row>
    <id>Q2668600-f4a9e3db-4ac7-8922-c326-b492fa75a3ec</id>
    <country_name>Taifa of Niebla</country_name>
    <country_wikidata>Q2668600</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Niebla</capital>
    <capital_wikidata>Q828723</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.3614</lat>
    <lon>-6.6779</lon>
  </row>
  <row>
    <id>Q764697-b1445b46-49dc-70e4-d650-1f538d8c6caa</id>
    <country_name>Taifa of Orihuela</country_name>
    <country_wikidata>Q764697</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Orihuela</capital>
    <capital_wikidata>Q487786</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>38.0856</lat>
    <lon>-0.9469</lon>
  </row>
  <row>
    <id>Q3032694-094B766F-7A89-4834-98CC-A79065BEFEDF</id>
    <country_name>Taifa of Purchena</country_name>
    <country_wikidata>Q3032694</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Purchena</capital>
    <capital_wikidata>Q1445232</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.3481</lat>
    <lon>-2.3606</lon>
  </row>
  <row>
    <id>Q2524715-754dc8d6-4c5c-822e-386d-0425540107a5</id>
    <country_name>Taifa of Ronda</country_name>
    <country_wikidata>Q2524715</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ronda</capital>
    <capital_wikidata>Q13153</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>36.7372</lat>
    <lon>-5.1647</lon>
  </row>
  <row>
    <id>Q2081763-64430a0f-4988-0a36-a09e-eb7273c5c728</id>
    <country_name>Taifa of Saltés and Huelva</country_name>
    <country_wikidata>Q2081763</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Huelva</capital>
    <capital_wikidata>Q12246</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.25</lat>
    <lon>-6.95</lon>
  </row>
  <row>
    <id>Q2077765-92f78a16-43d4-1805-5edc-c083d0e20da1</id>
    <country_name>Taifa of Santa Maria do Algarve</country_name>
    <country_wikidata>Q2077765</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Faro</capital>
    <capital_wikidata>Q159457</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.0161</lat>
    <lon>-7.935</lon>
  </row>
  <row>
    <id>Q2643374-D4CF7136-C6C0-46F0-89CD-9C7455336DB4</id>
    <country_name>Taifa of Santarém</country_name>
    <country_wikidata>Q2643374</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Santarém</capital>
    <capital_wikidata>Q273877</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>39.2392</lat>
    <lon>-8.6869</lon>
  </row>
  <row>
    <id>Q2153653-C12E6819-0A62-4FE7-8EA4-CDF2D6EA27EA</id>
    <country_name>Taifa of Segorbe</country_name>
    <country_wikidata>Q2153653</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Segorbe</capital>
    <capital_wikidata>Q750968</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>39.8519</lat>
    <lon>-0.4895</lon>
  </row>
  <row>
    <id>Q2328476-c38bdc1c-495f-ad8c-58aa-45ecb2b2ab06</id>
    <country_name>Taifa of Segura</country_name>
    <country_wikidata>Q2328476</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Guardamar del Segura</capital>
    <capital_wikidata>Q927965</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>38.0897</lat>
    <lon>-0.655</lon>
  </row>
  <row>
    <id>Q276951-d014e63d-4aa0-7422-82bb-ff622fd02c3f</id>
    <country_name>Taifa of Seville</country_name>
    <country_wikidata>Q276951</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Seville</capital>
    <capital_wikidata>Q8717</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>37.3886</lat>
    <lon>-5.995</lon>
  </row>
  <row>
    <id>Q276951-da83123b-41db-2534-f14c-7fd3f629960c</id>
    <country_name>Taifa of Seville</country_name>
    <country_wikidata>Q276951</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ishbiliya</capital>
    <capital_wikidata>Q116158888</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>37.3861</lat>
    <lon>-5.9924</lon>
  </row>
  <row>
    <id>Q1994569-dc85b79b-4705-9a25-d156-5600d116ab31</id>
    <country_name>Taifa of Silves</country_name>
    <country_wikidata>Q1994569</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Silves</capital>
    <capital_wikidata>Q749180</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.1833</lat>
    <lon>-8.4333</lon>
  </row>
  <row>
    <id>Q2250546-1B4AA7BA-0258-4A63-9A81-B74EAD314363</id>
    <country_name>Taifa of Tavira</country_name>
    <country_wikidata>Q2250546</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tavira</capital>
    <capital_wikidata>Q372840</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.1309</lat>
    <lon>-7.6506</lon>
  </row>
  <row>
    <id>Q2522604-664AB2DA-0286-4B30-897F-2201D39A81E1</id>
    <country_name>Taifa of Tejada</country_name>
    <country_wikidata>Q2522604</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Paterna del Campo</capital>
    <capital_wikidata>Q1615103</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.4188</lat>
    <lon>-6.4025</lon>
  </row>
  <row>
    <id>Q13534654-1e69bd1f-4ca9-cc0b-737e-46cacd2a688b</id>
    <country_name>Taifa of Toledo</country_name>
    <country_wikidata>Q13534654</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Toledo</capital>
    <capital_wikidata>Q5836</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>39.8667</lat>
    <lon>-4.0333</lon>
  </row>
  <row>
    <id>Q605930-07c65771-4644-8dc7-83f2-1fed3d95d0b4</id>
    <country_name>Taifa of Tortosa</country_name>
    <country_wikidata>Q605930</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tortosa</capital>
    <capital_wikidata>Q12812</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>40.8125</lat>
    <lon>0.5211</lon>
  </row>
  <row>
    <id>Q676811-14416eb6-4399-1e95-83e9-4ccbcafeffb3</id>
    <country_name>Taifa of Valencia</country_name>
    <country_wikidata>Q676811</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Balansiya</capital>
    <capital_wikidata>Q11907651</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>39.4667</lat>
    <lon>-0.375</lon>
  </row>
  <row>
    <id>Q33061-bdfc36d1-4ec6-f6b8-98ce-c798c9800c57</id>
    <country_name>Taifa of Zaragoza</country_name>
    <country_wikidata>Q33061</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sarakusta</capital>
    <capital_wikidata>Q11947752</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.6544</lat>
    <lon>-0.8776</lon>
  </row>
  <row>
    <id>Q3486676-1146064e-4b49-5fda-74f0-6146c1dfd7cd</id>
    <country_name>Taiping Heavenly Kingdom</country_name>
    <country_wikidata>Q3486676</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nanjing</capital>
    <capital_wikidata>Q16666</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>32.0608</lat>
    <lon>118.7789</lon>
  </row>
  <row>
    <id>Q865-74d68a77-47a4-d32e-cd0c-4462d9333f51</id>
    <country_name>Taiwan</country_name>
    <country_wikidata>Q865</country_wikidata>
    <country>TWN</country>
    <state_status>sovereign state</state_status>
    <capital>Nanjing Fu</capital>
    <capital_wikidata>Q24841127</capital_wikidata>
    <from>1912-01-01</from>
    <until>1912-04-02</until>
    <from_year>1912</from_year>
    <until_year>1912</until_year>
    <years_as_capital>0</years_as_capital>
    <current>false</current>
    <capitals_count>8</capitals_count>
  </row>
  <row>
    <id>Q865-b6e623c2-4eea-9371-05c3-69f51634211c</id>
    <country_name>Taiwan</country_name>
    <country_wikidata>Q865</country_wikidata>
    <country>TWN</country>
    <state_status>sovereign state</state_status>
    <capital>Shuntian Fu</capital>
    <capital_wikidata>Q7334692</capital_wikidata>
    <from>1912-04-02</from>
    <until>1914-10-04</until>
    <from_year>1912</from_year>
    <until_year>1914</until_year>
    <years_as_capital>2</years_as_capital>
    <current>false</current>
    <capitals_count>8</capitals_count>
    <lat>39.905</lat>
    <lon>116.3914</lon>
  </row>
  <row>
    <id>q865-6a2318ad-4604-57af-0e68-e8f13aa6d169</id>
    <country_name>Taiwan</country_name>
    <country_wikidata>Q865</country_wikidata>
    <country>TWN</country>
    <state_status>sovereign state</state_status>
    <capital>Jingzhao</capital>
    <capital_wikidata>Q4164068</capital_wikidata>
    <from>1914-10-04</from>
    <until>1928-06</until>
    <from_year>1914</from_year>
    <until_year>1928</until_year>
    <years_as_capital>14</years_as_capital>
    <current>false</current>
    <capitals_count>8</capitals_count>
    <lat>39.905</lat>
    <lon>116.3914</lon>
  </row>
  <row>
    <id>q865-B496DB9D-39F6-48A5-B3C6-01E03A5F2D1B</id>
    <country_name>Taiwan</country_name>
    <country_wikidata>Q865</country_wikidata>
    <country>TWN</country>
    <state_status>sovereign state</state_status>
    <capital>Nan-ching</capital>
    <capital_wikidata>Q10906766</capital_wikidata>
    <from>1928</from>
    <until>1937-11-21</until>
    <from_year>1928</from_year>
    <until_year>1937</until_year>
    <years_as_capital>9</years_as_capital>
    <current>false</current>
    <capitals_count>8</capitals_count>
    <lat>32.0432</lat>
    <lon>118.7786</lon>
  </row>
  <row>
    <id>Q865-eae364d1-49c5-8ed5-7715-e72a187c91ac</id>
    <country_name>Taiwan</country_name>
    <country_wikidata>Q865</country_wikidata>
    <country>TWN</country>
    <state_status>sovereign state</state_status>
    <capital>Nan-ching</capital>
    <capital_wikidata>Q10906766</capital_wikidata>
    <from>1946-05-05</from>
    <until>1949-01-16</until>
    <from_year>1946</from_year>
    <until_year>1949</until_year>
    <years_as_capital>3</years_as_capital>
    <current>false</current>
    <capitals_count>8</capitals_count>
    <lat>32.0432</lat>
    <lon>118.7786</lon>
  </row>
  <row>
    <id>q865-03d961b2-4238-2c44-e763-a990732df0d1</id>
    <country_name>Taiwan</country_name>
    <country_wikidata>Q865</country_wikidata>
    <country>TWN</country>
    <state_status>sovereign state</state_status>
    <capital>Ch'ung-ch'ing</capital>
    <capital_wikidata>Q46451169</capital_wikidata>
    <from>1949-10-15</from>
    <until>1949-11-29</until>
    <from_year>1949</from_year>
    <until_year>1949</until_year>
    <years_as_capital>0</years_as_capital>
    <current>false</current>
    <capitals_count>8</capitals_count>
    <lat>29.55</lat>
    <lon>106.55</lon>
  </row>
  <row>
    <id>Q865-40113b0e-4b1c-a8b9-f206-5600afca19ad</id>
    <country_name>Taiwan</country_name>
    <country_wikidata>Q865</country_wikidata>
    <country>TWN</country>
    <state_status>sovereign state</state_status>
    <capital>Ch'ung-ch'ing</capital>
    <capital_wikidata>Q46451169</capital_wikidata>
    <from>1949-10-13</from>
    <until>1949-11-29</until>
    <from_year>1949</from_year>
    <until_year>1949</until_year>
    <years_as_capital>0</years_as_capital>
    <current>false</current>
    <capitals_count>8</capitals_count>
    <lat>29.55</lat>
    <lon>106.55</lon>
  </row>
  <row>
    <id>Q865-4ef83133-46ee-f202-cd17-ad4e9dbe1c13</id>
    <country_name>Taiwan</country_name>
    <country_wikidata>Q865</country_wikidata>
    <country>TWN</country>
    <state_status>sovereign state</state_status>
    <capital>Chengdu</capital>
    <capital_wikidata>Q30002</capital_wikidata>
    <from>1949-11-29</from>
    <until>1949-12-07</until>
    <from_year>1949</from_year>
    <until_year>1949</until_year>
    <years_as_capital>0</years_as_capital>
    <current>false</current>
    <capitals_count>8</capitals_count>
    <lat>30.66</lat>
    <lon>104.0633</lon>
  </row>
  <row>
    <id>Q865-7a931399-4270-e225-0dc6-25b4886f06d9</id>
    <country_name>Taiwan</country_name>
    <country_wikidata>Q865</country_wikidata>
    <country>TWN</country>
    <state_status>sovereign state</state_status>
    <capital>Kuang-chou</capital>
    <capital_wikidata>Q46452338</capital_wikidata>
    <from>1949-02-06</from>
    <until>1949-10-13</until>
    <from_year>1949</from_year>
    <until_year>1949</until_year>
    <years_as_capital>0</years_as_capital>
    <current>false</current>
    <capitals_count>8</capitals_count>
    <lat>23.1288</lat>
    <lon>113.259</lon>
  </row>
  <row>
    <id>q865-A1971244-0B16-4E01-ADE8-A0C013E34D01</id>
    <country_name>Taiwan</country_name>
    <country_wikidata>Q865</country_wikidata>
    <country>TWN</country>
    <state_status>sovereign state</state_status>
    <capital>Taipei</capital>
    <capital_wikidata>Q1867</capital_wikidata>
    <from>1949-12-09</from>
    <from_year>1949</from_year>
    <current>true</current>
    <capitals_count>8</capitals_count>
    <lat>25.0375</lat>
    <lon>121.5625</lon>
  </row>
  <row>
    <id>Q391189-b3df8130-4667-2429-9ade-01e5e8dbdf4c</id>
    <country_name>Taiwan under Qing dynasty rule</country_name>
    <country_wikidata>Q391189</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Taiwan Fu</capital>
    <capital_wikidata>Q6726430</capital_wikidata>
    <from>1683</from>
    <until>1885</until>
    <from_year>1683</from_year>
    <until_year>1885</until_year>
    <years_as_capital>202</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
  </row>
  <row>
    <id>Q391189-1ad29884-47ae-8999-a2e9-bd074dccf9a0</id>
    <country_name>Taiwan under Qing dynasty rule</country_name>
    <country_wikidata>Q391189</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Taipei</capital>
    <capital_wikidata>Q1867</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>25.0375</lat>
    <lon>121.5625</lon>
  </row>
  <row>
    <id>q863-668982C8-96A2-4010-B6F1-9C48B7C16E9B</id>
    <country_name>Tajikistan</country_name>
    <country_wikidata>Q863</country_wikidata>
    <country>TJK</country>
    <state_status>sovereign state</state_status>
    <capital>Dushanbe</capital>
    <capital_wikidata>Q9365</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>38.5731</lat>
    <lon>68.7864</lon>
  </row>
  <row>
    <id>Q2272880-3033A143-15DA-4B15-89C8-0F293F039BB0</id>
    <country_name>Takrur</country_name>
    <country_wikidata>Q2272880</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Morfil</capital>
    <capital_wikidata>Q1456534</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>16.5836</lat>
    <lon>-14.5838</lon>
  </row>
  <row>
    <id>Q28057-f5e2172a-402c-826f-68eb-d38d2b17e94c</id>
    <country_name>Tamna</country_name>
    <country_wikidata>Q28057</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Jeju</capital>
    <capital_wikidata>Q42142</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>33.5097</lat>
    <lon>126.5219</lon>
  </row>
  <row>
    <id>Q431731-3e3a684f-46a2-581a-3fec-128a4c477518</id>
    <country_name>Tanganyika</country_name>
    <country_wikidata>Q431731</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Dar es Salaam</capital>
    <capital_wikidata>Q1960</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-6.8161</lat>
    <lon>39.2803</lon>
  </row>
  <row>
    <id>q924-4754E221-1E9A-4541-B1D1-C97DA1408A92</id>
    <country_name>Tanzania</country_name>
    <country_wikidata>Q924</country_wikidata>
    <country>TZA</country>
    <state_status>sovereign state</state_status>
    <capital>Dodoma</capital>
    <capital_wikidata>Q3866</capital_wikidata>
    <from>1996-02</from>
    <from_year>1996</from_year>
    <current>true</current>
    <capitals_count>2</capitals_count>
    <lat>-6.1835</lat>
    <lon>35.746</lon>
  </row>
  <row>
    <id>Q924-4b5a64e0-445e-2246-447d-b579c1415a02</id>
    <country_name>Tanzania</country_name>
    <country_wikidata>Q924</country_wikidata>
    <country>TZA</country>
    <state_status>sovereign state</state_status>
    <capital>Dar es Salaam</capital>
    <capital_wikidata>Q1960</capital_wikidata>
    <until>1996-02</until>
    <until_year>1996</until_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>-6.8161</lat>
    <lon>39.2803</lon>
  </row>
  <row>
    <id>Q2605410-D76A3A0C-CBD7-4A2D-A43E-5F93CA9987FD</id>
    <country_name>Tarascan State</country_name>
    <country_wikidata>Q2605410</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tzintzuntzan</capital>
    <capital_wikidata>Q1574289</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>19.6283</lat>
    <lon>-101.5789</lon>
  </row>
  <row>
    <id>Q4453003-ab6a792d-494d-6fa1-1c81-b3012253385c</id>
    <country_name>Tashkent State</country_name>
    <country_wikidata>Q4453003</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tashkent</capital>
    <capital_wikidata>Q269</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.3111</lat>
    <lon>69.2797</lon>
  </row>
  <row>
    <id>Q519718-feba7503-4f2c-8812-f3a2-4ca4e426871c</id>
    <country_name>Taungoo dynasty</country_name>
    <country_wikidata>Q519718</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Taungoo</capital>
    <capital_wikidata>Q1193412</capital_wikidata>
    <from>1510</from>
    <until>1539</until>
    <from_year>1510</from_year>
    <until_year>1539</until_year>
    <years_as_capital>29</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>18.9333</lat>
    <lon>96.4333</lon>
  </row>
  <row>
    <id>Q519718-dd7c9f7d-4efd-1de5-ac12-deb1811fd534</id>
    <country_name>Taungoo dynasty</country_name>
    <country_wikidata>Q519718</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bago</capital>
    <capital_wikidata>Q800122</capital_wikidata>
    <from>1539</from>
    <until>1599</until>
    <from_year>1539</from_year>
    <until_year>1599</until_year>
    <years_as_capital>60</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>17.3433</lat>
    <lon>96.4981</lon>
  </row>
  <row>
    <id>Q519718-54274c93-4772-2bd8-796a-c876cd7f136a</id>
    <country_name>Taungoo dynasty</country_name>
    <country_wikidata>Q519718</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Inwa</capital>
    <capital_wikidata>Q2199759</capital_wikidata>
    <from>1599</from>
    <until>1613</until>
    <from_year>1599</from_year>
    <until_year>1613</until_year>
    <years_as_capital>14</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>21.8578</lat>
    <lon>95.985</lon>
  </row>
  <row>
    <id>Q519718-b84f3b64-422c-c9a4-fa74-5c9537a1347f</id>
    <country_name>Taungoo dynasty</country_name>
    <country_wikidata>Q519718</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bago</capital>
    <capital_wikidata>Q800122</capital_wikidata>
    <from>1613</from>
    <until>1635</until>
    <from_year>1613</from_year>
    <until_year>1635</until_year>
    <years_as_capital>22</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>17.3433</lat>
    <lon>96.4981</lon>
  </row>
  <row>
    <id>Q519718-3677927b-4922-9eaa-fa93-e436ede79ed8</id>
    <country_name>Taungoo dynasty</country_name>
    <country_wikidata>Q519718</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Inwa</capital>
    <capital_wikidata>Q2199759</capital_wikidata>
    <from>1635</from>
    <until>1752</until>
    <from_year>1635</from_year>
    <until_year>1752</until_year>
    <years_as_capital>117</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>21.8578</lat>
    <lon>95.985</lon>
  </row>
  <row>
    <id>Q2293827-24f09c84-494a-4b9b-21b9-ce9659898b4d</id>
    <country_name>Terek Soviet Republic</country_name>
    <country_wikidata>Q2293827</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Pyatigorsk</capital>
    <capital_wikidata>Q41970</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>44.0333</lat>
    <lon>43.05</lon>
  </row>
  <row>
    <id>Q2293827-a05fd362-4818-5367-c9a5-97b607332642</id>
    <country_name>Terek Soviet Republic</country_name>
    <country_wikidata>Q2293827</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vladikavkaz</capital>
    <capital_wikidata>Q5239</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>43.04</lat>
    <lon>44.6775</lon>
  </row>
  <row>
    <id>Q2029522-8893F101-4B5A-4E4B-98B1-05B4933CD25F</id>
    <country_name>Ternate Sultanate</country_name>
    <country_wikidata>Q2029522</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ternate</capital>
    <capital_wikidata>Q19151</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>0.7833</lat>
    <lon>127.3667</lon>
  </row>
  <row>
    <id>Q2458532-D0B08ED1-2853-491C-ADD3-FA8CA791B9E0</id>
    <country_name>Terra Mariana</country_name>
    <country_wikidata>Q2458532</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Riga</capital>
    <capital_wikidata>Q1773</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>56.9475</lat>
    <lon>24.1069</lon>
  </row>
  <row>
    <id>Q701914-991246CA-06C6-4609-A82A-C2B76A1CFE1A</id>
    <country_name>Territory of the Military Commander in Serbia</country_name>
    <country_wikidata>Q701914</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Belgrade</capital>
    <capital_wikidata>Q3711</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>44.8178</lat>
    <lon>20.4569</lon>
  </row>
  <row>
    <id>q869-AABBF66D-C714-43E0-8C37-C36F24CFA208</id>
    <country_name>Thailand</country_name>
    <country_wikidata>Q869</country_wikidata>
    <country>THA</country>
    <state_status>sovereign state</state_status>
    <capital>Bangkok</capital>
    <capital_wikidata>Q1861</capital_wikidata>
    <from>1767</from>
    <from_year>1767</from_year>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>13.75</lat>
    <lon>100.5167</lon>
  </row>
  <row>
    <id>Q3530610-8302c26b-45c7-0281-981f-375fadedce14</id>
    <country_name>Thanjavur Maratha kingdom</country_name>
    <country_wikidata>Q3530610</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Thanjavur</capital>
    <capital_wikidata>Q41496</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>10.787</lat>
    <lon>79.1378</lon>
  </row>
  <row>
    <id>Q1588434-2430B8C9-876E-4524-B9BA-6C4671CA8963</id>
    <country_name>Thanjavur Nayak kingdom</country_name>
    <country_wikidata>Q1588434</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Thanjavur</capital>
    <capital_wikidata>Q41496</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>10.787</lat>
    <lon>79.1378</lon>
  </row>
  <row>
    <id>Q3456382-32E4FF3E-BAF3-46DE-9494-8004BC936EA9</id>
    <country_name>The Apartheid Regime in South Africa</country_name>
    <country_wikidata>Q3456382</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Cape Town</capital>
    <capital_wikidata>Q5465</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-33.9253</lat>
    <lon>18.4239</lon>
  </row>
  <row>
    <id>q778-52E8E3FE-40BE-4408-855F-8C1284E702B0</id>
    <country_name>The Bahamas</country_name>
    <country_wikidata>Q778</country_wikidata>
    <country>BHS</country>
    <state_status>sovereign state</state_status>
    <capital>Nassau</capital>
    <capital_wikidata>Q2467</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>25.0781</lat>
    <lon>-77.3386</lon>
  </row>
  <row>
    <id>q1005-1446A6E5-3D32-4658-8421-CDD58ED843AA</id>
    <country_name>The Gambia</country_name>
    <country_wikidata>Q1005</country_wikidata>
    <country>GMB</country>
    <state_status>sovereign state</state_status>
    <capital>Banjul</capital>
    <capital_wikidata>Q3726</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>13.4531</lat>
    <lon>-16.5775</lon>
  </row>
  <row>
    <id>Q4224853-0d4aa4ea-4822-ffa4-0f39-f8c391aa3c5a</id>
    <country_name>The Glinsky Principality</country_name>
    <country_wikidata>Q4224853</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Hlynsk</capital>
    <capital_wikidata>Q4139849</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.6194</lat>
    <lon>33.3268</lon>
  </row>
  <row>
    <id>Q2454585-96d31f34-40b7-6c24-f71d-6a1e155b055d</id>
    <country_name>Third Czechoslovak Republic</country_name>
    <country_wikidata>Q2454585</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Prague</capital>
    <capital_wikidata>Q1085</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.0875</lat>
    <lon>14.4214</lon>
  </row>
  <row>
    <id>Q7784940-0C76E9F4-D9D8-4C9F-ABAB-2CB652891CE0</id>
    <country_name>Third Republic of Madagascar</country_name>
    <country_wikidata>Q7784940</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Antananarivo</capital>
    <capital_wikidata>Q3915</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-18.91</lat>
    <lon>47.525</lon>
  </row>
  <row>
    <id>Q487687-24264A67-CA42-4701-9E54-E2CDB317FC65</id>
    <country_name>Third Republic of South Korea</country_name>
    <country_wikidata>Q487687</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Seoul</capital>
    <capital_wikidata>Q8684</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.56</lat>
    <lon>126.99</lon>
  </row>
  <row>
    <id>Q5870215-B99B6326-7B09-401A-9DBB-0AA32FDF62E5</id>
    <country_name>Third Republic of the Philippines</country_name>
    <country_wikidata>Q5870215</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Manila</capital>
    <capital_wikidata>Q1461</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>14.5958</lat>
    <lon>120.9772</lon>
  </row>
  <row>
    <id>Q1115291-DED144E2-F480-43BA-B415-A8C1A932CC16</id>
    <country_name>Thonburi Kingdom</country_name>
    <country_wikidata>Q1115291</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Thonburi Province</capital>
    <capital_wikidata>Q6580711</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>13.725</lat>
    <lon>100.4858</lon>
  </row>
  <row>
    <id>Q2444884-0010f49b-4f0b-82e2-7f8c-ce5a07b82faa</id>
    <country_name>Tibet</country_name>
    <country_wikidata>Q2444884</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lhasa</capital>
    <capital_wikidata>Q5869</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>29.6458</lat>
    <lon>91.1408</lon>
  </row>
  <row>
    <id>Q2431480-08afc7a6-4d0f-5836-5d67-ceb0f15b1dbf</id>
    <country_name>Tibetan Empire</country_name>
    <country_wikidata>Q2431480</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lhasa</capital>
    <capital_wikidata>Q5869</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>29.6458</lat>
    <lon>91.1408</lon>
  </row>
  <row>
    <id>q574-32a2ef00-419c-75ce-9bb6-ddab2b91488c</id>
    <country_name>Timor-Leste</country_name>
    <country_wikidata>Q574</country_wikidata>
    <country>TLS</country>
    <state_status>sovereign state</state_status>
    <capital>Dili</capital>
    <capital_wikidata>Q9310</capital_wikidata>
    <from>1769-10-10</from>
    <from_year>1769</from_year>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>-8.5536</lat>
    <lon>125.5783</lon>
  </row>
  <row>
    <id>Q484195-23271306-4eab-d30c-d26a-19abe9b6f78c</id>
    <country_name>Timurid Empire</country_name>
    <country_wikidata>Q484195</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Herat</capital>
    <capital_wikidata>Q45313</capital_wikidata>
    <from>1405</from>
    <until>1507</until>
    <from_year>1405</from_year>
    <until_year>1507</until_year>
    <years_as_capital>102</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>34.3419</lat>
    <lon>62.2031</lon>
  </row>
  <row>
    <id>Q484195-AAB4C82B-91D9-4383-859F-4EDE90633423</id>
    <country_name>Timurid Empire</country_name>
    <country_wikidata>Q484195</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Samarkand</capital>
    <capital_wikidata>Q5753</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>39.6547</lat>
    <lon>66.9758</lon>
  </row>
  <row>
    <id>Q1307407-36cbc431-42fb-685c-304e-e77669192cf6</id>
    <country_name>Tiwanaku polity</country_name>
    <country_wikidata>Q1307407</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tiwanaku</capital>
    <capital_wikidata>Q61750</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-16.5547</lat>
    <lon>-68.6733</lon>
  </row>
  <row>
    <id>Q614072-36F73689-0316-4930-8A82-8937A9F5C431</id>
    <country_name>Tlaxcala</country_name>
    <country_wikidata>Q614072</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tlaxcala de Xicoténcatl</capital>
    <capital_wikidata>Q689987</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>19.3151</lat>
    <lon>-98.2361</lon>
  </row>
  <row>
    <id>Q2387381-b4e44972-4a06-8460-9939-f35807fb18c8</id>
    <country_name>Tmutarakan Rus</country_name>
    <country_wikidata>Q2387381</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tmutarakan</capital>
    <capital_wikidata>Q910505</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>45.2191</lat>
    <lon>36.7141</lon>
  </row>
  <row>
    <id>q945-F013E34B-E79E-46E6-95F2-AC475F98E7A7</id>
    <country_name>Togo</country_name>
    <country_wikidata>Q945</country_wikidata>
    <country>TGO</country>
    <state_status>sovereign state</state_status>
    <capital>Lomé</capital>
    <capital_wikidata>Q3792</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>6.13</lat>
    <lon>1.2158</lon>
  </row>
  <row>
    <id>Q205662-49E25D0F-F747-41AB-B22D-2DDC750D8B0A</id>
    <country_name>Tokugawa shogunate</country_name>
    <country_wikidata>Q205662</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Edo</capital>
    <capital_wikidata>Q215646</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>35.6839</lat>
    <lon>139.7744</lon>
  </row>
  <row>
    <id>Q1642472-D70F4EBA-ABD8-4F3E-97E0-78404D6153C8</id>
    <country_name>Tondo</country_name>
    <country_wikidata>Q1642472</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tondo</capital>
    <capital_wikidata>Q1287698</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>14.617</lat>
    <lon>120.967</lon>
  </row>
  <row>
    <id>q678-3E4D1475-FD32-4D17-967D-4EBC1BC1D5B8</id>
    <country_name>Tonga</country_name>
    <country_wikidata>Q678</country_wikidata>
    <country>TON</country>
    <state_status>sovereign state</state_status>
    <capital>Nukuʻalofa</capital>
    <capital_wikidata>Q38834</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>-21.1343</lat>
    <lon>-175.2018</lon>
  </row>
  <row>
    <id>Q914031-d7fc4219-468e-2bb5-8159-3b6869537c98</id>
    <country_name>Tonk State</country_name>
    <country_wikidata>Q914031</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tonk</capital>
    <capital_wikidata>Q1000511</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>26.1667</lat>
    <lon>75.7833</lon>
  </row>
  <row>
    <id>Q2534729-41a9abba-441a-0c86-c767-47a385429f3b</id>
    <country_name>Tournaisis</country_name>
    <country_wikidata>Q2534729</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tournai</capital>
    <capital_wikidata>Q173219</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.6056</lat>
    <lon>3.3881</lon>
  </row>
  <row>
    <id>Q11634225-0d6db71c-489e-0aea-5e60-c81d6e851871</id>
    <country_name>Toyotomi government</country_name>
    <country_wikidata>Q11634225</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Fushimi-ku</capital>
    <capital_wikidata>Q1197771</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>34.9356</lat>
    <lon>135.7614</lon>
  </row>
  <row>
    <id>Q11634225-6bbce368-4463-19c1-5ab5-551af1c77976</id>
    <country_name>Toyotomi government</country_name>
    <country_wikidata>Q11634225</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Heian-kyō</capital>
    <capital_wikidata>Q751907</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>35</lat>
    <lon>135.7667</lon>
  </row>
  <row>
    <id>Q11634225-98c2d6ad-40a2-2d1b-b0cb-4f3b91da0e1b</id>
    <country_name>Toyotomi government</country_name>
    <country_wikidata>Q11634225</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Osaka</capital>
    <capital_wikidata>Q35765</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>34.6938</lat>
    <lon>135.5021</lon>
  </row>
  <row>
    <id>Q3111454-A009B463-9A3B-4D64-9781-7089E3DF1F16</id>
    <country_name>Tran dynasty</country_name>
    <country_wikidata>Q3111454</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Hanoi</capital>
    <capital_wikidata>Q1858</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>21.0245</lat>
    <lon>105.8412</lon>
  </row>
  <row>
    <id>Q4184652-93cc3a9b-4469-0d7f-43e8-1a6dfea5b78a</id>
    <country_name>Transcaspian Government</country_name>
    <country_wikidata>Q4184652</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ashgabat</capital>
    <capital_wikidata>Q23438</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.95</lat>
    <lon>58.3833</lon>
  </row>
  <row>
    <id>Q545205-2d5e34c1-4d58-a57e-22ec-823d2b2bd903</id>
    <country_name>Transcaucasian Socialist Federative Soviet Republic</country_name>
    <country_wikidata>Q545205</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tbilisi</capital>
    <capital_wikidata>Q994</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.7225</lat>
    <lon>44.7925</lon>
  </row>
  <row>
    <id>Q4689103-35D17C1A-E31C-4328-9682-956E293D2662</id>
    <country_name>Transitional Islamic State of Afghanistan</country_name>
    <country_wikidata>Q4689103</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kabul</capital>
    <capital_wikidata>Q5838</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>34.5328</lat>
    <lon>69.1658</lon>
  </row>
  <row>
    <id>Q729481-91297031-6B46-4F7C-B2FA-44BE95EE14AD</id>
    <country_name>Transpadane Republic</country_name>
    <country_wikidata>Q729481</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Milan</capital>
    <capital_wikidata>Q490</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>45.4669</lat>
    <lon>9.19</lon>
  </row>
  <row>
    <id>q754-68662422-ED4C-4503-B7EC-9A3B5C002759</id>
    <country_name>Trinidad and Tobago</country_name>
    <country_wikidata>Q754</country_wikidata>
    <country>TTO</country>
    <state_status>sovereign state</state_status>
    <capital>Port of Spain</capital>
    <capital_wikidata>Q39178</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>10.6667</lat>
    <lon>-61.5167</lon>
  </row>
  <row>
    <id>Q965346-5479af4f-4a69-2764-82c7-9eb64c504b21</id>
    <country_name>Tripolitanian Republic</country_name>
    <country_wikidata>Q965346</country_wikidata>
    <state_status>historical state</state_status>
    <capital>‘Aziziya</capital>
    <capital_wikidata>Q312307</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>32.5308</lat>
    <lon>13.0211</lon>
  </row>
  <row>
    <id>q186096-765792A8-027A-4575-A293-2FD3C45CFE88</id>
    <country_name>Tsardom of Russia</country_name>
    <country_wikidata>Q186096</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Moscow</capital>
    <capital_wikidata>Q649</capital_wikidata>
    <from>1547</from>
    <until>1712</until>
    <from_year>1547</from_year>
    <until_year>1712</until_year>
    <years_as_capital>165</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>55.7506</lat>
    <lon>37.6175</lon>
  </row>
  <row>
    <id>q186096-84F0F6C5-7BB7-46B5-8121-F96C1892953C</id>
    <country_name>Tsardom of Russia</country_name>
    <country_wikidata>Q186096</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Saint Petersburg</capital>
    <capital_wikidata>Q656</capital_wikidata>
    <from>1712</from>
    <until>1721</until>
    <from_year>1712</from_year>
    <until_year>1721</until_year>
    <years_as_capital>9</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>59.95</lat>
    <lon>30.3167</lon>
  </row>
  <row>
    <id>Q927154-E5252AC5-23FE-4BAC-A37C-2A369AED68ED</id>
    <country_name>Tsardom of Vidin</country_name>
    <country_wikidata>Q927154</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vidin</capital>
    <capital_wikidata>Q178531</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>43.9887</lat>
    <lon>22.8741</lon>
  </row>
  <row>
    <id>Q4147013-F3943D73-3C28-43F7-A149-FEBD0F62F96E</id>
    <country_name>Tulunid Emirate of Egypt</country_name>
    <country_wikidata>Q4147013</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Al-Qatta'i</capital>
    <capital_wikidata>Q4119512</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>30.0167</lat>
    <lon>31.2333</lon>
  </row>
  <row>
    <id>q948-14975458-6B86-493E-B686-205A31F8EF92</id>
    <country_name>Tunisia</country_name>
    <country_wikidata>Q948</country_wikidata>
    <country>TUN</country>
    <state_status>sovereign state</state_status>
    <capital>Tunis</capital>
    <capital_wikidata>Q3572</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>36.8008</lat>
    <lon>10.18</lon>
  </row>
  <row>
    <id>Q75903-709843C0-4773-4F9B-A677-3B1D957F1C4A</id>
    <country_name>Turkestan Autonomous Soviet Socialist Republic</country_name>
    <country_wikidata>Q75903</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tashkent</capital>
    <capital_wikidata>Q269</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>41.3111</lat>
    <lon>69.2797</lon>
  </row>
  <row>
    <id>Q2872689-81a17f17-43a6-b36e-c2ee-02e6d147b5d1</id>
    <country_name>Turkestan Autonomy</country_name>
    <country_wikidata>Q2872689</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Qoʻqon</capital>
    <capital_wikidata>Q489890</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>40.5286</lat>
    <lon>70.9425</lon>
  </row>
  <row>
    <id>q43-75A03E47-8AAE-4906-BF2E-AA14C100CA7D</id>
    <country_name>Turkey</country_name>
    <country_wikidata>Q43</country_wikidata>
    <country>TUR</country>
    <state_status>sovereign state</state_status>
    <capital>Ankara</capital>
    <capital_wikidata>Q3640</capital_wikidata>
    <from>1923-10-29</from>
    <from_year>1923</from_year>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>39.9358</lat>
    <lon>32.8387</lon>
  </row>
  <row>
    <id>Q2468597-c9bd280d-423d-5973-b16e-e9b45cb6981b</id>
    <country_name>Turkish Republic of Aras</country_name>
    <country_wikidata>Q2468597</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nakhchivan</capital>
    <capital_wikidata>Q230104</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>39.2089</lat>
    <lon>45.4122</lon>
  </row>
  <row>
    <id>Q2468597-e14dd5f3-4ff1-86f8-f40a-89318bed9f41</id>
    <country_name>Turkish Republic of Aras</country_name>
    <country_wikidata>Q2468597</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Iğdır</capital>
    <capital_wikidata>Q483331</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>39.9237</lat>
    <lon>44.045</lon>
  </row>
  <row>
    <id>q874-D6BD4AAE-097D-4435-B850-A691A4087821</id>
    <country_name>Turkmenistan</country_name>
    <country_wikidata>Q874</country_wikidata>
    <country>TKM</country>
    <state_status>sovereign state</state_status>
    <capital>Ashgabat</capital>
    <capital_wikidata>Q23438</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>37.95</lat>
    <lon>58.3833</lon>
  </row>
  <row>
    <id>q672-3c15b92c-40cf-e28c-7a04-15bd9d460221</id>
    <country_name>Tuvalu</country_name>
    <country_wikidata>Q672</country_wikidata>
    <country>TUV</country>
    <state_status>sovereign state</state_status>
    <capital>Funafuti</capital>
    <capital_wikidata>Q34126</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>-8.5048</lat>
    <lon>179.1174</lon>
  </row>
  <row>
    <id>Q816709-610a9d84-41d3-90ef-6f2a-9bd10c8a4cb8</id>
    <country_name>Tuvan People's Republic</country_name>
    <country_wikidata>Q816709</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kyzyl</capital>
    <capital_wikidata>Q6049</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.7167</lat>
    <lon>94.45</lon>
  </row>
  <row>
    <id>Q1196201-f43cb05f-4283-88c1-cf16-82b85729251f</id>
    <country_name>Tuyuhun</country_name>
    <country_wikidata>Q1196201</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Fuqi</capital>
    <capital_wikidata>Q10885263</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.0264</lat>
    <lon>99.5828</lon>
  </row>
  <row>
    <id>Q842390-30c0a49d-4a5d-cdf8-2b36-e9f925fe3fd7</id>
    <country_name>Tuʻi Tonga Empire</country_name>
    <country_wikidata>Q842390</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Muʻa</capital>
    <capital_wikidata>Q2359181</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-21.1792</lat>
    <lon>-175.1167</lon>
  </row>
  <row>
    <id>Q4274522-48259334-B9DB-4D42-9CE2-F1F983FBA6DD</id>
    <country_name>Tyrconnell</country_name>
    <country_wikidata>Q4274522</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Donegal</capital>
    <capital_wikidata>Q855330</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>54.65</lat>
    <lon>-8.117</lon>
  </row>
  <row>
    <id>Q1034173-1295DDD3-AD4B-4DFB-B5BE-0F4C3E6EC93F</id>
    <country_name>Tây Sơn dynasty</country_name>
    <country_wikidata>Q1034173</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Quy Nhon</capital>
    <capital_wikidata>Q36081</capital_wikidata>
    <from>1773</from>
    <until>1789</until>
    <from_year>1773</from_year>
    <until_year>1789</until_year>
    <years_as_capital>16</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>13.7696</lat>
    <lon>109.2314</lon>
  </row>
  <row>
    <id>Q1034173-0380601f-4009-3b40-8e9c-208272efffda</id>
    <country_name>Tây Sơn dynasty</country_name>
    <country_wikidata>Q1034173</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Huế</capital>
    <capital_wikidata>Q36167</capital_wikidata>
    <from>1789</from>
    <until>1802</until>
    <from_year>1789</from_year>
    <until_year>1802</until_year>
    <years_as_capital>13</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>16.4561</lat>
    <lon>107.5764</lon>
  </row>
  <row>
    <id>Q1277895-7e2325c5-4afc-b95f-c625-90ff7da591e7</id>
    <country_name>Türgesh</country_name>
    <country_wikidata>Q1277895</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Suyab</capital>
    <capital_wikidata>Q413452</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>42.8</lat>
    <lon>75.2667</lon>
  </row>
  <row>
    <id>q1036-5CF64F6B-B449-4B2B-A3F2-1E72D9FD4CA4</id>
    <country_name>Uganda</country_name>
    <country_wikidata>Q1036</country_wikidata>
    <country>UGA</country>
    <state_status>sovereign state</state_status>
    <capital>Kampala</capital>
    <capital_wikidata>Q3894</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>0.3136</lat>
    <lon>32.5811</lon>
  </row>
  <row>
    <id>q212-02337F02-4EEB-4C22-A4FC-0B04479D5F3D</id>
    <country_name>Ukraine</country_name>
    <country_wikidata>Q212</country_wikidata>
    <country>UKR</country>
    <state_status>sovereign state</state_status>
    <capital>Kyiv</capital>
    <capital_wikidata>Q1899</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>50.45</lat>
    <lon>30.5236</lon>
  </row>
  <row>
    <id>Q243610-1951dcc4-4ee0-398c-8572-2cd2c3b5fc21</id>
    <country_name>Ukrainian People's Republic</country_name>
    <country_wikidata>Q243610</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kyiv</capital>
    <capital_wikidata>Q1899</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.45</lat>
    <lon>30.5236</lon>
  </row>
  <row>
    <id>Q2381337-06825e89-4cf9-b0aa-75ab-5fb57a859feb</id>
    <country_name>Ukrainian People's Republic of Soviets</country_name>
    <country_wikidata>Q2381337</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kharkiv</capital>
    <capital_wikidata>Q42308</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>49.9925</lat>
    <lon>36.2311</lon>
  </row>
  <row>
    <id>Q2381337-61794576-4d1c-2f89-cf75-d09886599c70</id>
    <country_name>Ukrainian People's Republic of Soviets</country_name>
    <country_wikidata>Q2381337</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kyiv</capital>
    <capital_wikidata>Q1899</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>50.45</lat>
    <lon>30.5236</lon>
  </row>
  <row>
    <id>Q2381337-84668ba9-4a4b-beab-5463-331eeee9b05f</id>
    <country_name>Ukrainian People's Republic of Soviets</country_name>
    <country_wikidata>Q2381337</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Poltava</capital>
    <capital_wikidata>Q156747</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>49.5894</lat>
    <lon>34.5514</lon>
  </row>
  <row>
    <id>q133356-7c9d5f68-416b-ca5f-08c4-87d64a187534</id>
    <country_name>Ukrainian Soviet Socialist Republic</country_name>
    <country_wikidata>Q133356</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kyiv</capital>
    <capital_wikidata>Q1899</capital_wikidata>
    <from>1934-06-24</from>
    <from_year>1934</from_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>50.45</lat>
    <lon>30.5236</lon>
  </row>
  <row>
    <id>q133356-daec5ac3-4ece-0dcf-d32d-9702ece7490a</id>
    <country_name>Ukrainian Soviet Socialist Republic</country_name>
    <country_wikidata>Q133356</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kharkiv</capital>
    <capital_wikidata>Q42308</capital_wikidata>
    <until>1934-06-24</until>
    <until_year>1934</until_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>49.9925</lat>
    <lon>36.2311</lon>
  </row>
  <row>
    <id>Q1508143-7CD11685-F590-4ED0-BF9B-8E5212C052F5</id>
    <country_name>Ukrainian State</country_name>
    <country_wikidata>Q1508143</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kyiv</capital>
    <capital_wikidata>Q1899</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.45</lat>
    <lon>30.5236</lon>
  </row>
  <row>
    <id>Q4470663-86156a4f-46ec-8bd5-8692-d777867be933</id>
    <country_name>Ukrainian national government (1941)</country_name>
    <country_wikidata>Q4470663</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kyiv</capital>
    <capital_wikidata>Q1899</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>50.45</lat>
    <lon>30.5236</lon>
  </row>
  <row>
    <id>Q4470663-ad07351e-4bba-278f-3485-d072b22a0388</id>
    <country_name>Ukrainian national government (1941)</country_name>
    <country_wikidata>Q4470663</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lviv</capital>
    <capital_wikidata>Q36036</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>49.842</lat>
    <lon>24.0316</lon>
  </row>
  <row>
    <id>Q8575586-1ef61afb-492a-e731-7920-830f960dfce4</id>
    <country_name>Umayyad Caliphate</country_name>
    <country_wikidata>Q8575586</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Damascus</capital>
    <capital_wikidata>Q3766</capital_wikidata>
    <from>0661</from>
    <until>0744</until>
    <from_year>661</from_year>
    <until_year>744</until_year>
    <years_as_capital>83</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>33.5131</lat>
    <lon>36.2919</lon>
  </row>
  <row>
    <id>Q8575586-be9dc71b-408e-b561-5af0-f2f0231d9d1a</id>
    <country_name>Umayyad Caliphate</country_name>
    <country_wikidata>Q8575586</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Harran</capital>
    <capital_wikidata>Q199547</capital_wikidata>
    <from>0744</from>
    <until>0750</until>
    <from_year>744</from_year>
    <until_year>750</until_year>
    <years_as_capital>6</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>36.8708</lat>
    <lon>39.025</lon>
  </row>
  <row>
    <id>Q214102-92a7cd65-4350-fb81-c5b0-9c1e62913215</id>
    <country_name>Union</country_name>
    <country_wikidata>Q214102</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Washington, D.C.</capital>
    <capital_wikidata>Q61</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>38.895</lat>
    <lon>-77.0367</lon>
  </row>
  <row>
    <id>Q62589-25EC13B4-B7DA-402B-8705-6DC965567963</id>
    <country_name>Union between Sweden and Norway</country_name>
    <country_wikidata>Q62589</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Stockholm</capital>
    <capital_wikidata>Q1754</capital_wikidata>
    <current>false</current>
    <role>Sweden</role>
    <capitals_count>2</capitals_count>
    <lat>59.3294</lat>
    <lon>18.0686</lon>
  </row>
  <row>
    <id>Q62589-915b73d7-473e-3485-29a9-6af7ec309cb6</id>
    <country_name>Union between Sweden and Norway</country_name>
    <country_wikidata>Q62589</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Christiania</capital>
    <capital_wikidata>Q21711493</capital_wikidata>
    <current>false</current>
    <role>Norway</role>
    <capitals_count>2</capitals_count>
  </row>
  <row>
    <id>Q7233551-823d91de-4bca-eaf1-c471-ba9ddbb9543d</id>
    <country_name>Union of Burma (1948–1962)</country_name>
    <country_wikidata>Q7233551</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Yangon</capital>
    <capital_wikidata>Q37995</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>16.8053</lat>
    <lon>96.1561</lon>
  </row>
  <row>
    <id>Q193619-347C3708-56A7-41BA-B65F-C377EAF6080A</id>
    <country_name>Union of South Africa</country_name>
    <country_wikidata>Q193619</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Cape Town</capital>
    <capital_wikidata>Q5465</capital_wikidata>
    <current>false</current>
    <role>legislature</role>
    <capitals_count>3</capitals_count>
    <lat>-33.9253</lat>
    <lon>18.4239</lon>
  </row>
  <row>
    <id>Q193619-37fff1b5-4652-cb5c-53dc-fc7610362d97</id>
    <country_name>Union of South Africa</country_name>
    <country_wikidata>Q193619</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bloemfontein</capital>
    <capital_wikidata>Q37701</capital_wikidata>
    <current>false</current>
    <role>judiciary</role>
    <capitals_count>3</capitals_count>
    <lat>-29.1</lat>
    <lon>26.2167</lon>
  </row>
  <row>
    <id>Q193619-bb42788f-4719-a57e-cb6b-df802ba862f6</id>
    <country_name>Union of South Africa</country_name>
    <country_wikidata>Q193619</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Pretoria</capital>
    <capital_wikidata>Q3926</capital_wikidata>
    <current>false</current>
    <role>government administration</role>
    <capitals_count>3</capitals_count>
    <lat>-25.7464</lat>
    <lon>28.1881</lon>
  </row>
  <row>
    <id>q878-2574995D-6E01-431B-AC0A-9FA1E266B361</id>
    <country_name>United Arab Emirates</country_name>
    <country_wikidata>Q878</country_wikidata>
    <country>ARE</country>
    <state_status>sovereign state</state_status>
    <capital>Abu Dhabi</capital>
    <capital_wikidata>Q1519</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>24.4511</lat>
    <lon>54.3969</lon>
  </row>
  <row>
    <id>Q170468-67903867-B0EC-4DD7-9667-FAB511CF3D94</id>
    <country_name>United Arab Republic</country_name>
    <country_wikidata>Q170468</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Cairo</capital>
    <capital_wikidata>Q85</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>30.0444</lat>
    <lon>31.2358</lon>
  </row>
  <row>
    <id>Q856843-0E73254A-B132-425C-998A-90F93149161F</id>
    <country_name>United Arab States</country_name>
    <country_wikidata>Q856843</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Cairo</capital>
    <capital_wikidata>Q85</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>30.0444</lat>
    <lon>31.2358</lon>
  </row>
  <row>
    <id>Q692015-5cd0b432-4574-cc23-c932-66a16611a006</id>
    <country_name>United Belgian States</country_name>
    <country_wikidata>Q692015</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Coop of Brussels</capital>
    <capital_wikidata>Q2449703</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.8467</lat>
    <lon>4.3525</lon>
  </row>
  <row>
    <id>Q648046-4d68038c-40f8-a792-dcbf-d0ef3abce1de</id>
    <country_name>United Duchies of Jülich-Cleves-Berg</country_name>
    <country_wikidata>Q648046</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Düsseldorf</capital>
    <capital_wikidata>Q1718</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.2256</lat>
    <lon>6.7767</lon>
  </row>
  <row>
    <id>q145-751E4062-0CF5-447F-9BCD-3BA56917AA98</id>
    <country_name>United Kingdom</country_name>
    <country_wikidata>Q145</country_wikidata>
    <country>GBR</country>
    <state_status>sovereign state</state_status>
    <capital>London</capital>
    <capital_wikidata>Q84</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>51.5072</lat>
    <lon>-0.1275</lon>
  </row>
  <row>
    <id>Q174193-D82AB49F-D291-4251-88EB-7EF94F98FCC6</id>
    <country_name>United Kingdom of Great Britain and Ireland</country_name>
    <country_wikidata>Q174193</country_wikidata>
    <state_status>historical state</state_status>
    <capital>London</capital>
    <capital_wikidata>Q84</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.5072</lat>
    <lon>-0.1275</lon>
  </row>
  <row>
    <id>Q3185305-2AFECD71-1A3A-4EC8-B276-3B56CC9FFE45</id>
    <country_name>United Kingdom of Israel</country_name>
    <country_wikidata>Q3185305</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Jerusalem</capital>
    <capital_wikidata>Q1218</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>31.7767</lat>
    <lon>35.2342</lon>
  </row>
  <row>
    <id>Q3185305-695c1e65-41fb-9298-0fc4-5e2b9bd05416</id>
    <country_name>United Kingdom of Israel</country_name>
    <country_wikidata>Q3185305</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Hebron</capital>
    <capital_wikidata>Q168225</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>31.535</lat>
    <lon>35.0986</lon>
  </row>
  <row>
    <id>Q3185305-EFF5A4E8-9048-4672-95FF-1FB104A4E267</id>
    <country_name>United Kingdom of Israel</country_name>
    <country_wikidata>Q3185305</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Gibeah</capital>
    <capital_wikidata>Q1021662</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
  </row>
  <row>
    <id>Q903779-09f662eb-47fd-b569-b6f8-a08a3264c951</id>
    <country_name>United Kingdom of Portugal, Brazil and the Algarves</country_name>
    <country_wikidata>Q903779</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lisbon</capital>
    <capital_wikidata>Q597</capital_wikidata>
    <from>1821</from>
    <until>1825</until>
    <from_year>1821</from_year>
    <until_year>1825</until_year>
    <years_as_capital>4</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>38.708</lat>
    <lon>-9.139</lon>
  </row>
  <row>
    <id>Q903779-A97E47B9-0DBD-48F7-A2B1-2E5DC7E8F279</id>
    <country_name>United Kingdom of Portugal, Brazil and the Algarves</country_name>
    <country_wikidata>Q903779</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Rio de Janeiro</capital>
    <capital_wikidata>Q8678</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>-22.9111</lat>
    <lon>-43.2056</lon>
  </row>
  <row>
    <id>Q15864-19074b90-4088-de6d-7535-ac4475bcff3f</id>
    <country_name>United Kingdom of the Netherlands</country_name>
    <country_wikidata>Q15864</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Brussels</capital>
    <capital_wikidata>Q239</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>50.8467</lat>
    <lon>4.3517</lon>
  </row>
  <row>
    <id>q15864-6acc1175-4f89-15e1-8b81-64b0a80c8ac9</id>
    <country_name>United Kingdom of the Netherlands</country_name>
    <country_wikidata>Q15864</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Amsterdam</capital>
    <capital_wikidata>Q727</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>52.3667</lat>
    <lon>4.8833</lon>
  </row>
  <row>
    <id>Q15864-c7c03d9d-4f8c-e67e-c102-5be21d60f9bf</id>
    <country_name>United Kingdom of the Netherlands</country_name>
    <country_wikidata>Q15864</country_wikidata>
    <state_status>historical state</state_status>
    <capital>The Hague</capital>
    <capital_wikidata>Q36600</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>52.08</lat>
    <lon>4.31</lon>
  </row>
  <row>
    <id>Q958291-ace14f5e-44ce-e6aa-b62b-88e6acf92568</id>
    <country_name>United Principalities of Moldavia and Wallachia</country_name>
    <country_wikidata>Q958291</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bucharest</capital>
    <capital_wikidata>Q19660</capital_wikidata>
    <from>1859</from>
    <until>1881</until>
    <from_year>1859</from_year>
    <until_year>1881</until_year>
    <years_as_capital>22</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>44.4134</lat>
    <lon>26.0978</lon>
  </row>
  <row>
    <id>Q958291-ae33566d-4540-9b88-6611-bb9648efcfdb</id>
    <country_name>United Principalities of Moldavia and Wallachia</country_name>
    <country_wikidata>Q958291</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Iași</capital>
    <capital_wikidata>Q46852</capital_wikidata>
    <from>1859</from>
    <until>1862</until>
    <from_year>1859</from_year>
    <until_year>1862</until_year>
    <years_as_capital>3</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>47.1622</lat>
    <lon>27.5889</lon>
  </row>
  <row>
    <id>Q738144-AE6CB6A0-B52E-4214-95F9-7D52190D37C0</id>
    <country_name>United Provinces of the Río de la Plata</country_name>
    <country_wikidata>Q738144</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Buenos Aires</capital>
    <capital_wikidata>Q1486</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-34.5997</lat>
    <lon>-58.3819</lon>
  </row>
  <row>
    <id>Q30-6f15b1c2-48be-91e1-5b2c-5d0acf61bb46</id>
    <country_name>United States</country_name>
    <country_wikidata>Q30</country_wikidata>
    <country>USA</country>
    <state_status>sovereign state</state_status>
    <capital>New York City</capital>
    <capital_wikidata>Q60</capital_wikidata>
    <from>1785-01-11</from>
    <until>1790-12-05</until>
    <from_year>1785</from_year>
    <until_year>1790</until_year>
    <years_as_capital>5</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>40.7128</lat>
    <lon>-74.0061</lon>
  </row>
  <row>
    <id>Q30-e3cba869-48c1-dcd7-0f4d-47b7ee8b82d1</id>
    <country_name>United States</country_name>
    <country_wikidata>Q30</country_wikidata>
    <country>USA</country>
    <state_status>sovereign state</state_status>
    <capital>Philadelphia</capital>
    <capital_wikidata>Q1345</capital_wikidata>
    <from>1790-12-06</from>
    <until>1800-05-14</until>
    <from_year>1790</from_year>
    <until_year>1800</until_year>
    <years_as_capital>10</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>39.9528</lat>
    <lon>-75.1636</lon>
  </row>
  <row>
    <id>q30-E0257E2F-A11D-40D9-8C58-6B5A8D3AF952</id>
    <country_name>United States</country_name>
    <country_wikidata>Q30</country_wikidata>
    <country>USA</country>
    <state_status>sovereign state</state_status>
    <capital>Washington, D.C.</capital>
    <capital_wikidata>Q61</capital_wikidata>
    <from>1800-11-17</from>
    <from_year>1800</from_year>
    <current>true</current>
    <capitals_count>3</capitals_count>
    <lat>38.895</lat>
    <lon>-77.0367</lon>
  </row>
  <row>
    <id>Q484104-5ab6e4b1-4969-0434-b790-9ac7eb8442e7</id>
    <country_name>United States Army Military Government in Korea</country_name>
    <country_wikidata>Q484104</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Seoul</capital>
    <capital_wikidata>Q8684</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>37.56</lat>
    <lon>126.99</lon>
  </row>
  <row>
    <id>Q1061488-d644024c-48ef-dd37-74ff-83514d093a5e</id>
    <country_name>United States of Colombia</country_name>
    <country_wikidata>Q1061488</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bogotá</capital>
    <capital_wikidata>Q2841</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>4.6097</lat>
    <lon>-74.0817</lon>
  </row>
  <row>
    <id>Q523435-742780e5-4f8e-a23a-67be-b709694810c2</id>
    <country_name>United States of Indonesia</country_name>
    <country_wikidata>Q523435</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Jakarta</capital>
    <capital_wikidata>Q3630</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-6.1753</lat>
    <lon>106.8269</lon>
  </row>
  <row>
    <id>Q1362278-13017945-299F-4B3E-83F0-A172B6918B9E</id>
    <country_name>United States of Stellaland</country_name>
    <country_wikidata>Q1362278</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vryburg</capital>
    <capital_wikidata>Q1027291</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-26.9586</lat>
    <lon>24.7322</lon>
  </row>
  <row>
    <id>Q5848651-3c416e34-4cb3-7f9d-4130-c968e7500ec3</id>
    <country_name>United States of Venezuela</country_name>
    <country_wikidata>Q5848651</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Caracas</capital>
    <capital_wikidata>Q1533</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>10.5061</lat>
    <lon>-66.9144</lon>
  </row>
  <row>
    <id>Q1063498-cccda1d4-439a-099d-8bbe-e57f7f4d7592</id>
    <country_name>United States of the Ionian Islands</country_name>
    <country_wikidata>Q1063498</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Corfu</capital>
    <capital_wikidata>Q205832</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>39.6239</lat>
    <lon>19.9214</lon>
  </row>
  <row>
    <id>Q150069-777A7E95-963A-4AA7-A754-BA5135926E55</id>
    <country_name>United Suvadive Republic</country_name>
    <country_wikidata>Q150069</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Hithadhoo</capital>
    <capital_wikidata>Q2023266</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-0.6028</lat>
    <lon>73.0889</lon>
  </row>
  <row>
    <id>Q7893618-F6740EF5-51DC-4817-86C8-A4E9B9F9109B</id>
    <country_name>United Tribes of New Zealand</country_name>
    <country_wikidata>Q7893618</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Waitangi</capital>
    <capital_wikidata>Q499111</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-35.2661</lat>
    <lon>174.08</lon>
  </row>
  <row>
    <id>Q8146595-672256CA-FA53-4A58-B5B9-814225446221</id>
    <country_name>Upingtonia</country_name>
    <country_wikidata>Q8146595</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Grootfontein</capital>
    <capital_wikidata>Q986336</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-19.5658</lat>
    <lon>18.1036</lon>
  </row>
  <row>
    <id>Q769269-0053c50a-44db-c2ab-b345-1a9e118d913a</id>
    <country_name>Upper Peru</country_name>
    <country_wikidata>Q769269</country_wikidata>
    <state_status>historical state</state_status>
    <capital>La Paz</capital>
    <capital_wikidata>Q1491</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-16.4958</lat>
    <lon>-68.1333</lon>
  </row>
  <row>
    <id>Q185068-3c5f11b0-48c4-6576-3df5-cf9b1dbf7eac</id>
    <country_name>Urartu</country_name>
    <country_wikidata>Q185068</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Arzashkun</capital>
    <capital_wikidata>Q281932</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>39.2</lat>
    <lon>42</lon>
  </row>
  <row>
    <id>Q185068-90d33772-4e5b-29e4-4e91-2967bb0957ef</id>
    <country_name>Urartu</country_name>
    <country_wikidata>Q185068</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tushpa</capital>
    <capital_wikidata>Q766324</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>38.5</lat>
    <lon>43.3425</lon>
  </row>
  <row>
    <id>q77-C1CC0309-0658-4E5E-A0BA-290A9A09F10A</id>
    <country_name>Uruguay</country_name>
    <country_wikidata>Q77</country_wikidata>
    <country>URY</country>
    <state_status>sovereign state</state_status>
    <capital>Montevideo</capital>
    <capital_wikidata>Q1335</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>-34.9059</lat>
    <lon>-56.1913</lon>
  </row>
  <row>
    <id>Q1617123-d8c05e29-4a30-7e93-2894-7a0f12cd7973</id>
    <country_name>Utpala dynasty</country_name>
    <country_wikidata>Q1617123</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Awantipora</capital>
    <capital_wikidata>Q584971</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>33.9197</lat>
    <lon>75.0153</lon>
  </row>
  <row>
    <id>Q831218-B4EA0B15-D555-4950-A2D5-3A9423A5E1EA</id>
    <country_name>Uyghur Khaganate</country_name>
    <country_wikidata>Q831218</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ordu-Baliq</capital>
    <capital_wikidata>Q2475401</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>47.4311</lat>
    <lon>102.6594</lon>
  </row>
  <row>
    <id>Q12229205-7eef0ee2-4b5a-3c19-72e1-bb3b074628a0</id>
    <country_name>Uyunid Emirate</country_name>
    <country_wikidata>Q12229205</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Al-Ahsa City</capital>
    <capital_wikidata>Q98972377</capital_wikidata>
    <from>1076</from>
    <until>1126</until>
    <from_year>1076</from_year>
    <until_year>1126</until_year>
    <years_as_capital>50</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
  </row>
  <row>
    <id>Q12229205-740fe205-4640-9690-b41e-782583ac9130</id>
    <country_name>Uyunid Emirate</country_name>
    <country_wikidata>Q12229205</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Qatif</capital>
    <capital_wikidata>Q12191403</capital_wikidata>
    <from>1126</from>
    <until>1143</until>
    <from_year>1126</from_year>
    <until_year>1143</until_year>
    <years_as_capital>17</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>26.5752</lat>
    <lon>49.9969</lon>
  </row>
  <row>
    <id>Q12229205-59e8d296-4b89-3188-4112-326be85e55c3</id>
    <country_name>Uyunid Emirate</country_name>
    <country_wikidata>Q12229205</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Al-Ahsa City</capital>
    <capital_wikidata>Q98972377</capital_wikidata>
    <from>1184</from>
    <until>1208</until>
    <from_year>1184</from_year>
    <until_year>1208</until_year>
    <years_as_capital>24</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
  </row>
  <row>
    <id>Q15535871-4C97267C-C944-466F-90C7-3E901C22893A</id>
    <country_name>Uzbek Khanate</country_name>
    <country_wikidata>Q15535871</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Chimgi-Tura</capital>
    <capital_wikidata>Q1074347</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>57.1533</lat>
    <lon>65.5156</lon>
  </row>
  <row>
    <id>Q484578-29e343eb-4b3b-f781-9bd1-2e0bd7c55091</id>
    <country_name>Uzbek Soviet Socialist Republic</country_name>
    <country_wikidata>Q484578</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bukhara</capital>
    <capital_wikidata>Q5764</capital_wikidata>
    <from>1924</from>
    <until>1925</until>
    <from_year>1924</from_year>
    <until_year>1925</until_year>
    <years_as_capital>1</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>39.7747</lat>
    <lon>64.4286</lon>
  </row>
  <row>
    <id>Q484578-752F631E-195B-49A9-98C3-5BEFDC9351D0</id>
    <country_name>Uzbek Soviet Socialist Republic</country_name>
    <country_wikidata>Q484578</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Samarkand</capital>
    <capital_wikidata>Q5753</capital_wikidata>
    <from>1925</from>
    <until>1930</until>
    <from_year>1925</from_year>
    <until_year>1930</until_year>
    <years_as_capital>5</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>39.6547</lat>
    <lon>66.9758</lon>
  </row>
  <row>
    <id>Q484578-2e5865d7-4cb7-4cbf-66bf-fd525beeea24</id>
    <country_name>Uzbek Soviet Socialist Republic</country_name>
    <country_wikidata>Q484578</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tashkent</capital>
    <capital_wikidata>Q269</capital_wikidata>
    <from>1930</from>
    <until>1991</until>
    <from_year>1930</from_year>
    <until_year>1991</until_year>
    <years_as_capital>61</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>41.3111</lat>
    <lon>69.2797</lon>
  </row>
  <row>
    <id>q265-80EB2F36-8598-4BA3-83FC-6489EEA71D4C</id>
    <country_name>Uzbekistan</country_name>
    <country_wikidata>Q265</country_wikidata>
    <country>UZB</country>
    <state_status>sovereign state</state_status>
    <capital>Tashkent</capital>
    <capital_wikidata>Q269</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>41.3111</lat>
    <lon>69.2797</lon>
  </row>
  <row>
    <id>Q605199-2F4189D1-E579-46C4-B2C6-6A483A4EBAFF</id>
    <country_name>Vajji</country_name>
    <country_wikidata>Q605199</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vaishali</capital>
    <capital_wikidata>Q1509463</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>25.9866</lat>
    <lon>85.1256</lon>
  </row>
  <row>
    <id>Q1501306-21F4AC7A-1FC5-4F90-B120-12C3F2E0948F</id>
    <country_name>Vakataka empire</country_name>
    <country_wikidata>Q1501306</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Washim</capital>
    <capital_wikidata>Q2299018</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>20.1</lat>
    <lon>77.15</lon>
  </row>
  <row>
    <id>Q1398212-adce7e35-44c4-039d-b091-d6e350b7fee2</id>
    <country_name>Valais Republic</country_name>
    <country_wikidata>Q1398212</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sion</capital>
    <capital_wikidata>Q68136</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>46.2305</lat>
    <lon>7.3661</lon>
  </row>
  <row>
    <id>Q10416611-dbce1e2f-4c50-9ed6-5249-32e7a1dd1359</id>
    <country_name>Vandal Kingdom</country_name>
    <country_wikidata>Q10416611</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Hippo Regius</capital>
    <capital_wikidata>Q858024</capital_wikidata>
    <from>0435</from>
    <until>0439</until>
    <from_year>435</from_year>
    <until_year>439</until_year>
    <years_as_capital>4</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>36.8825</lat>
    <lon>7.75</lon>
  </row>
  <row>
    <id>Q10416611-d91f1280-4fb1-9ff5-fc44-c6458f9df6dc</id>
    <country_name>Vandal Kingdom</country_name>
    <country_wikidata>Q10416611</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Carthage</capital>
    <capital_wikidata>Q6343</capital_wikidata>
    <from>0439</from>
    <until>0534</until>
    <from_year>439</from_year>
    <until_year>534</until_year>
    <years_as_capital>95</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>36.8526</lat>
    <lon>10.3235</lon>
  </row>
  <row>
    <id>q686-ab667c08-4981-8cf6-ad05-8d87682e173b</id>
    <country_name>Vanuatu</country_name>
    <country_wikidata>Q686</country_wikidata>
    <country>VUT</country>
    <state_status>sovereign state</state_status>
    <capital>Port Vila</capital>
    <capital_wikidata>Q37806</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>-17.7333</lat>
    <lon>168.3167</lon>
  </row>
  <row>
    <id>Q237-603984a4-44da-a134-ff51-cccc638c1895</id>
    <country_name>Vatican City</country_name>
    <country_wikidata>Q237</country_wikidata>
    <country>VAT</country>
    <state_status>sovereign state</state_status>
    <capital>Vatican City</capital>
    <capital_wikidata>Q237</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>41.904</lat>
    <lon>12.453</lon>
  </row>
  <row>
    <id>Q1331184-6B67E752-00FE-475F-9B83-BBEF614EF394</id>
    <country_name>Vatsa</country_name>
    <country_wikidata>Q1331184</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kauśāmbī</capital>
    <capital_wikidata>Q1194868</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>25.339</lat>
    <lon>81.3929</lon>
  </row>
  <row>
    <id>Q3532158-DB5EA722-E24C-412D-A370-ED017B875863</id>
    <country_name>Venad</country_name>
    <country_wikidata>Q3532158</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kollam</capital>
    <capital_wikidata>Q321475</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>8.8853</lat>
    <lon>76.5864</lon>
  </row>
  <row>
    <id>q717-D391B5D4-9E01-4531-B25F-966162A560DD</id>
    <country_name>Venezuela</country_name>
    <country_wikidata>Q717</country_wikidata>
    <country>VEN</country>
    <state_status>sovereign state</state_status>
    <capital>Caracas</capital>
    <capital_wikidata>Q1533</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>10.5061</lat>
    <lon>-66.9144</lon>
  </row>
  <row>
    <id>Q69808-02ae60c7-4ada-5ee1-06a3-c6a6fce14029</id>
    <country_name>Vichy France</country_name>
    <country_wikidata>Q69808</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Paris</capital>
    <capital_wikidata>Q90</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>48.8567</lat>
    <lon>2.3522</lon>
  </row>
  <row>
    <id>Q69808-a0fe2050-4f9a-3b2e-d056-576edca015a5</id>
    <country_name>Vichy France</country_name>
    <country_wikidata>Q69808</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vichy</capital>
    <capital_wikidata>Q93351</capital_wikidata>
    <current>false</current>
    <role>seat of government</role>
    <capitals_count>2</capitals_count>
    <lat>46.1269</lat>
    <lon>3.4258</lon>
  </row>
  <row>
    <id>q881-9E23BA05-3DC9-4378-9B41-63CA8AFF9BC5</id>
    <country_name>Vietnam</country_name>
    <country_wikidata>Q881</country_wikidata>
    <country>VNM</country>
    <state_status>sovereign state</state_status>
    <capital>Hanoi</capital>
    <capital_wikidata>Q1858</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>21.0245</lat>
    <lon>105.8412</lon>
  </row>
  <row>
    <id>Q167639-5DC3257D-3F0A-442A-B9FC-BCFCA802826E</id>
    <country_name>Vijayanagara Empire</country_name>
    <country_wikidata>Q167639</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Chandragiri</capital>
    <capital_wikidata>Q3430006</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>13.5833</lat>
    <lon>79.3167</lon>
  </row>
  <row>
    <id>Q167639-B4B3A00D-6357-43C5-8A32-C8A07D602498</id>
    <country_name>Vijayanagara Empire</country_name>
    <country_wikidata>Q167639</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Penukonda</capital>
    <capital_wikidata>Q2572975</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>14.0847</lat>
    <lon>77.5967</lon>
  </row>
  <row>
    <id>Q167639-C4A508BE-E40C-4AD8-A58A-2092B6E2BFB9</id>
    <country_name>Vijayanagara Empire</country_name>
    <country_wikidata>Q167639</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vellore</capital>
    <capital_wikidata>Q300577</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>12.9333</lat>
    <lon>79.1333</lon>
  </row>
  <row>
    <id>Q167639-ED8B44AC-25B4-4726-BE30-5FBA10803210</id>
    <country_name>Vijayanagara Empire</country_name>
    <country_wikidata>Q167639</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Vijayanagara</capital>
    <capital_wikidata>Q1611788</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>15.325</lat>
    <lon>76.465</lon>
  </row>
  <row>
    <id>Q3765100-24A42EE1-B7F8-4AED-9741-D1D905D8CD37</id>
    <country_name>Vishnukundina</country_name>
    <country_wikidata>Q3765100</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nalgonda</capital>
    <capital_wikidata>Q1949850</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>17.05</lat>
    <lon>79.27</lon>
  </row>
  <row>
    <id>Q126936-24E72387-1EBE-4260-90F4-8286B2E5341A</id>
    <country_name>Visigothic Kingdom</country_name>
    <country_wikidata>Q126936</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Toulouse</capital>
    <capital_wikidata>Q7880</capital_wikidata>
    <from>0418</from>
    <until>0507</until>
    <from_year>418</from_year>
    <until_year>507</until_year>
    <years_as_capital>89</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>43.6044</lat>
    <lon>1.4433</lon>
  </row>
  <row>
    <id>Q126936-e0a7a33e-4022-93c2-74d1-398da81bf078</id>
    <country_name>Visigothic Kingdom</country_name>
    <country_wikidata>Q126936</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Barcelona</capital>
    <capital_wikidata>Q1492</capital_wikidata>
    <from>0507</from>
    <until>0542</until>
    <from_year>507</from_year>
    <until_year>542</until_year>
    <years_as_capital>35</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>41.3825</lat>
    <lon>2.1769</lon>
  </row>
  <row>
    <id>Q126936-8e2c652e-47ca-3e17-e165-bd785103bab4</id>
    <country_name>Visigothic Kingdom</country_name>
    <country_wikidata>Q126936</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Toledo</capital>
    <capital_wikidata>Q5836</capital_wikidata>
    <from>0542</from>
    <until>0711</until>
    <from_year>542</from_year>
    <until_year>711</until_year>
    <years_as_capital>169</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>39.8667</lat>
    <lon>-4.0333</lon>
  </row>
  <row>
    <id>Q3307686-B9B0D743-FF2F-48BC-9BF1-8B2A80AAC0EA</id>
    <country_name>Visigothic Kingdom of Tolosa</country_name>
    <country_wikidata>Q3307686</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Toulouse</capital>
    <capital_wikidata>Q7880</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>43.6044</lat>
    <lon>1.4433</lon>
  </row>
  <row>
    <id>Q3307686-ea804fa3-4771-29b8-e195-3067d7248ccb</id>
    <country_name>Visigothic Kingdom of Tolosa</country_name>
    <country_wikidata>Q3307686</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Tolosa</capital>
    <capital_wikidata>Q60845861</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>43.6044</lat>
    <lon>1.4439</lon>
  </row>
  <row>
    <id>Q185488-499E1FC5-5365-44D4-8051-55E55439D1CB</id>
    <country_name>Volga Bulgaria</country_name>
    <country_wikidata>Q185488</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bilär</capital>
    <capital_wikidata>Q2603563</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>54.972</lat>
    <lon>50.4035</lon>
  </row>
  <row>
    <id>Q185488-afed8977-4973-b0d2-0a75-a9af0bd45594</id>
    <country_name>Volga Bulgaria</country_name>
    <country_wikidata>Q185488</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bolgar</capital>
    <capital_wikidata>Q105284</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>54.9667</lat>
    <lon>49.0333</lon>
  </row>
  <row>
    <id>Q185488-FDD9A3F3-94FB-476F-B2DE-701BB642E1B6</id>
    <country_name>Volga Bulgaria</country_name>
    <country_wikidata>Q185488</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bolghar Gord</capital>
    <capital_wikidata>Q2486263</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>54.9774</lat>
    <lon>49.0543</lon>
  </row>
  <row>
    <id>Q4130471-2bd0f542-451d-6690-2cc1-14131e0c15c7</id>
    <country_name>Vyatka Republic</country_name>
    <country_wikidata>Q4130471</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kirov</capital>
    <capital_wikidata>Q5384</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>58.6</lat>
    <lon>49.65</lon>
  </row>
  <row>
    <id>Q206279-bc4c381c-4917-5016-598f-bd08c609c7aa</id>
    <country_name>Waalo</country_name>
    <country_wikidata>Q206279</country_wikidata>
    <state_status>historical state</state_status>
    <capital>N'Der</capital>
    <capital_wikidata>Q3337461</capital_wikidata>
    <from>1733</from>
    <until>1855</until>
    <from_year>1733</from_year>
    <until_year>1855</until_year>
    <years_as_capital>122</years_as_capital>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>16.2652</lat>
    <lon>-15.8773</lon>
  </row>
  <row>
    <id>Q206279-0F1B8815-C1F6-4300-8B88-0E2D1DF8ACD5</id>
    <country_name>Waalo</country_name>
    <country_wikidata>Q206279</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ndiangué</capital>
    <capital_wikidata>Q141066835</capital_wikidata>
    <until>1733</until>
    <until_year>1733</until_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>16.468</lat>
    <lon>-15.7066</lon>
  </row>
  <row>
    <id>Q13375062-c797e3c2-46e8-c671-8ca2-6938432c7ba4</id>
    <country_name>Wahidi Azzan</country_name>
    <country_wikidata>Q13375062</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Wahidi Azzan</capital>
    <capital_wikidata>Q3436054</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>14.3167</lat>
    <lon>47.45</lon>
  </row>
  <row>
    <id>Q696242-4195DFC4-8054-42A7-A370-CAB8C0E75C4B</id>
    <country_name>Wang Jingwei regime</country_name>
    <country_wikidata>Q696242</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Nanjing</capital>
    <capital_wikidata>Q16666</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>32.0608</lat>
    <lon>118.7789</lon>
  </row>
  <row>
    <id>Q2548416-9fad0e86-474f-6965-14bb-140e985f47ef</id>
    <country_name>Wankaner State</country_name>
    <country_wikidata>Q2548416</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Wankaner</capital>
    <capital_wikidata>Q2006496</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>22.6161</lat>
    <lon>70.9531</lon>
  </row>
  <row>
    <id>Q889374-1754C82E-D4AF-4479-BE68-65303BBAB4C0</id>
    <country_name>Warsangali Sultanate</country_name>
    <country_wikidata>Q889374</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Las Khorey</capital>
    <capital_wikidata>Q1017225</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>11.1833</lat>
    <lon>48.2167</lon>
  </row>
  <row>
    <id>Q970799-f9c0fbbb-4532-d499-bf31-cfe525557c60</id>
    <country_name>Wattasid dynasty</country_name>
    <country_wikidata>Q970799</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Fez</capital>
    <capital_wikidata>Q80985</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>34.0433</lat>
    <lon>-5.0033</lon>
  </row>
  <row>
    <id>Q41304-82540ca5-48e2-4ed4-bbd8-b10124c68d78</id>
    <country_name>Weimar Republic</country_name>
    <country_wikidata>Q41304</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Berlin</capital>
    <capital_wikidata>Q64</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.5167</lat>
    <lon>13.3833</lon>
  </row>
  <row>
    <id>Q46370-8b3dbe2e-4759-c6aa-21e8-99fa7bf2bdb6</id>
    <country_name>West Francia</country_name>
    <country_wikidata>Q46370</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Paris</capital>
    <capital_wikidata>Q90</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>48.8567</lat>
    <lon>2.3522</lon>
  </row>
  <row>
    <id>Q713750-32b8fafc-4044-1379-df32-14c5ae088b24</id>
    <country_name>West Germany</country_name>
    <country_wikidata>Q713750</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bonn</capital>
    <capital_wikidata>Q586</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.7353</lat>
    <lon>7.1022</lon>
  </row>
  <row>
    <id>Q4833464-c66d9045-4be0-197e-9747-84c45cea202d</id>
    <country_name>West Kara-Khanid Khanate</country_name>
    <country_wikidata>Q4833464</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Samarkand</capital>
    <capital_wikidata>Q5753</capital_wikidata>
    <from>1040</from>
    <until>1212</until>
    <from_year>1040</from_year>
    <until_year>1212</until_year>
    <years_as_capital>172</years_as_capital>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>39.6547</lat>
    <lon>66.9758</lon>
  </row>
  <row>
    <id>Q2342822-1b96dadd-4213-9dde-48dc-85d6ba70573e</id>
    <country_name>West Pakistan</country_name>
    <country_wikidata>Q2342822</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Karachi</capital>
    <capital_wikidata>Q8660</capital_wikidata>
    <from>1947</from>
    <until>1959</until>
    <from_year>1947</from_year>
    <until_year>1959</until_year>
    <years_as_capital>12</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>24.86</lat>
    <lon>67.01</lon>
  </row>
  <row>
    <id>Q2342822-9da8e7fe-4ea5-dba5-39f6-7fb990317d6a</id>
    <country_name>West Pakistan</country_name>
    <country_wikidata>Q2342822</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Rawalpindi</capital>
    <capital_wikidata>Q93230</capital_wikidata>
    <from>1959</from>
    <until>1967</until>
    <from_year>1959</from_year>
    <until_year>1967</until_year>
    <years_as_capital>8</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>33.6007</lat>
    <lon>73.0679</lon>
  </row>
  <row>
    <id>Q2342822-6ecf16d4-4adc-54b7-b4cf-6217f49a06ac</id>
    <country_name>West Pakistan</country_name>
    <country_wikidata>Q2342822</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Islamabad</capital>
    <capital_wikidata>Q1362</capital_wikidata>
    <from>1965</from>
    <until>1970</until>
    <from_year>1965</from_year>
    <until_year>1970</until_year>
    <years_as_capital>5</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>33.6989</lat>
    <lon>73.0369</lon>
  </row>
  <row>
    <id>Q457167-e4f15c62-4f98-1a88-6269-1f4ba05471ae</id>
    <country_name>West Ukrainian People's Republic</country_name>
    <country_wikidata>Q457167</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ternopil</capital>
    <capital_wikidata>Q156743</capital_wikidata>
    <from>1918-11-21</from>
    <until>1918-12-31</until>
    <from_year>1918</from_year>
    <until_year>1918</until_year>
    <years_as_capital>0</years_as_capital>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>49.5667</lat>
    <lon>25.6</lon>
  </row>
  <row>
    <id>Q457167-df75528f-4455-ea41-d2b9-29cd64f2b79a</id>
    <country_name>West Ukrainian People's Republic</country_name>
    <country_wikidata>Q457167</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lviv</capital>
    <capital_wikidata>Q36036</capital_wikidata>
    <until>1918-11-21</until>
    <until_year>1918</until_year>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>49.842</lat>
    <lon>24.0316</lon>
  </row>
  <row>
    <id>Q457167-21f41a3d-4835-5526-a6b6-55186a148f32</id>
    <country_name>West Ukrainian People's Republic</country_name>
    <country_wikidata>Q457167</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ivano-Frankivsk</capital>
    <capital_wikidata>Q156726</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>48.9228</lat>
    <lon>24.7106</lon>
  </row>
  <row>
    <id>Q457167-8a454360-40ce-47f2-13f8-059519baf017</id>
    <country_name>West Ukrainian People's Republic</country_name>
    <country_wikidata>Q457167</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Zalishchyky</capital>
    <capital_wikidata>Q213183</capital_wikidata>
    <current>false</current>
    <capitals_count>4</capitals_count>
    <lat>48.6392</lat>
    <lon>25.7374</lon>
  </row>
  <row>
    <id>Q14624218-AAFF5460-AA1E-408D-B84D-CC38B5645F9F</id>
    <country_name>Western Chalukya Empire</country_name>
    <country_wikidata>Q14624218</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Manyakheta</capital>
    <capital_wikidata>Q191771</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>17.195</lat>
    <lon>77.1608</lon>
  </row>
  <row>
    <id>Q42834-C4A2615E-7856-46E0-AF8B-6D2DCCCF40C0</id>
    <country_name>Western Roman Empire</country_name>
    <country_wikidata>Q42834</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mediolanum</capital>
    <capital_wikidata>Q729978</capital_wikidata>
    <from>0395</from>
    <until>0402</until>
    <from_year>395</from_year>
    <until_year>402</until_year>
    <years_as_capital>7</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>45.4629</lat>
    <lon>9.1853</lon>
  </row>
  <row>
    <id>Q42834-d4da2892-4954-b363-4f9c-0e621003b73f</id>
    <country_name>Western Roman Empire</country_name>
    <country_wikidata>Q42834</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ravenna</capital>
    <capital_wikidata>Q115738657</capital_wikidata>
    <from>0402</from>
    <until>0476</until>
    <from_year>402</from_year>
    <until_year>476</until_year>
    <years_as_capital>74</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>44.4161</lat>
    <lon>12.2017</lon>
  </row>
  <row>
    <id>Q42834-3d304e81-436c-17e2-32ce-84d531fbde9f</id>
    <country_name>Western Roman Empire</country_name>
    <country_wikidata>Q42834</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ravenna</capital>
    <capital_wikidata>Q13364</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>44.4161</lat>
    <lon>12.2017</lon>
  </row>
  <row>
    <id>Q2086608-66B55599-F0D6-496F-96C5-E4F61232FDDC</id>
    <country_name>Western Satraps</country_name>
    <country_wikidata>Q2086608</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ujjain</capital>
    <capital_wikidata>Q200119</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>23.1828</lat>
    <lon>75.7772</lon>
  </row>
  <row>
    <id>Q1147897-ee326e24-4c7e-699e-a430-f8f61281dbb1</id>
    <country_name>Wey</country_name>
    <country_wikidata>Q1147897</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Zhaoge</capital>
    <capital_wikidata>Q837807</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>35.6022</lat>
    <lon>114.1942</lon>
  </row>
  <row>
    <id>Q4182327-b7c6df22-4498-88ea-f85b-fd220a26d599</id>
    <country_name>White movement in Transbaikal</country_name>
    <country_wikidata>Q4182327</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Chita</capital>
    <capital_wikidata>Q53139</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>52.0334</lat>
    <lon>113.5009</lon>
  </row>
  <row>
    <id>Q703340-d21911ac-4120-e3d9-528a-5b540eb65ba0</id>
    <country_name>Wiman Chosŏn</country_name>
    <country_wikidata>Q703340</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Wanggeom-seong</capital>
    <capital_wikidata>Q7967865</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
  </row>
  <row>
    <id>Q18634909-02023a7b-4a4d-0a7a-f7bf-d40e93ceebc5</id>
    <country_name>Worker's Socialist Respublic of Amur</country_name>
    <country_wikidata>Q18634909</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Blagoveshchensk</capital>
    <capital_wikidata>Q6934</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.2578</lat>
    <lon>127.5364</lon>
  </row>
  <row>
    <id>Q1178974-5f1a8db9-46e5-0f7b-a1c3-d30a801490cd</id>
    <country_name>Xi dynasty</country_name>
    <country_wikidata>Q1178974</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Chengdu</capital>
    <capital_wikidata>Q30002</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>30.66</lat>
    <lon>104.0633</lon>
  </row>
  <row>
    <id>Q188836-f1e0f1e3-4011-2ed8-9ece-3f2d964745eb</id>
    <country_name>Xiongnu</country_name>
    <country_wikidata>Q188836</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Chanyu Ting</capital>
    <capital_wikidata>Q28409755</capital_wikidata>
    <from>-215</from>
    <until>0091</until>
    <from_year>-215</from_year>
    <until_year>91</until_year>
    <years_as_capital>305</years_as_capital>
    <current>false</current>
    <capitals_count>1</capitals_count>
  </row>
  <row>
    <id>Q2658252-b3da3c0b-46ed-818c-d551-3fbf81fc927b</id>
    <country_name>Yamato Kingship</country_name>
    <country_wikidata>Q2658252</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Yamato Province</capital>
    <capital_wikidata>Q907495</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>34.3278</lat>
    <lon>135.9061</lon>
  </row>
  <row>
    <id>Q617218-4C2C284D-8705-4C61-AF73-1534868FDF22</id>
    <country_name>Yamhad</country_name>
    <country_wikidata>Q617218</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Aleppo</capital>
    <capital_wikidata>Q41183</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>36.2</lat>
    <lon>37.16</lon>
  </row>
  <row>
    <id>Q1188046-c9161aa2-40f3-c0e1-c42f-3b7fbaa01971</id>
    <country_name>Yan</country_name>
    <country_wikidata>Q1188046</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Luoyang</capital>
    <capital_wikidata>Q187136</capital_wikidata>
    <from>0756</from>
    <until>0757</until>
    <from_year>756</from_year>
    <until_year>757</until_year>
    <years_as_capital>1</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>34.6587</lat>
    <lon>112.4245</lon>
  </row>
  <row>
    <id>Q1188046-6ee21d46-4e21-bf73-0688-4b5047064a92</id>
    <country_name>Yan</country_name>
    <country_wikidata>Q1188046</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ye</capital>
    <capital_wikidata>Q1274372</capital_wikidata>
    <from>0757</from>
    <until>0759</until>
    <from_year>757</from_year>
    <until_year>759</until_year>
    <years_as_capital>2</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>36.2748</lat>
    <lon>114.4002</lon>
  </row>
  <row>
    <id>Q1188046-b15081c3-461d-793f-0e4e-37275434d2a9</id>
    <country_name>Yan</country_name>
    <country_wikidata>Q1188046</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Luoyang</capital>
    <capital_wikidata>Q187136</capital_wikidata>
    <from>0759</from>
    <until>0762</until>
    <from_year>759</from_year>
    <until_year>762</until_year>
    <years_as_capital>3</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>34.6587</lat>
    <lon>112.4245</lon>
  </row>
  <row>
    <id>Q1188046-1bf86378-4b3d-b7df-e90f-65678a70f76c</id>
    <country_name>Yan</country_name>
    <country_wikidata>Q1188046</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Yanjing</capital>
    <capital_wikidata>Q845266</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
  </row>
  <row>
    <id>Q1291919-05D08493-5AD6-4949-A12C-C20A2ADBBCDA</id>
    <country_name>Yan</country_name>
    <country_wikidata>Q1291919</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Beijing</capital>
    <capital_wikidata>Q956</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>39.904</lat>
    <lon>116.4075</lon>
  </row>
  <row>
    <id>Q1188459-6430d857-4af4-ea19-eecd-32cee24c4748</id>
    <country_name>Yarkent Khanate</country_name>
    <country_wikidata>Q1188459</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kashgar</capital>
    <capital_wikidata>Q170521</capital_wikidata>
    <from>1596</from>
    <from_year>1596</from_year>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>39.45</lat>
    <lon>75.9833</lon>
  </row>
  <row>
    <id>Q1188459-9FD63024-E06D-4926-8E92-A7B1F92833A6</id>
    <country_name>Yarkent Khanate</country_name>
    <country_wikidata>Q1188459</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Yarkant County</capital>
    <capital_wikidata>Q857618</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>38.4167</lat>
    <lon>77.2406</lon>
  </row>
  <row>
    <id>q805-36D20697-189D-4D12-8F9B-919D975B288B</id>
    <country_name>Yemen</country_name>
    <country_wikidata>Q805</country_wikidata>
    <country>YEM</country>
    <state_status>sovereign state</state_status>
    <capital>Sanaa</capital>
    <capital_wikidata>Q2471</capital_wikidata>
    <from>1990-05-22</from>
    <from_year>1990</from_year>
    <current>true</current>
    <role>de jure</role>
    <capitals_count>2</capitals_count>
    <lat>15.35</lat>
    <lon>44.2</lon>
  </row>
  <row>
    <id>Q805-6258613C-26F6-4EBF-93C8-13C0346EE7AD</id>
    <country_name>Yemen</country_name>
    <country_wikidata>Q805</country_wikidata>
    <country>YEM</country>
    <state_status>sovereign state</state_status>
    <capital>Aden</capital>
    <capital_wikidata>Q131694</capital_wikidata>
    <current>true</current>
    <role>de facto</role>
    <capitals_count>2</capitals_count>
    <lat>12.8</lat>
    <lon>45.0333</lon>
  </row>
  <row>
    <id>Q267584-04b1196c-44fd-3751-f434-c63763035069</id>
    <country_name>Yemen Arab Republic</country_name>
    <country_wikidata>Q267584</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sanaa</capital>
    <capital_wikidata>Q2471</capital_wikidata>
    <from>1962-09-26</from>
    <until>1990-05-22</until>
    <from_year>1962</from_year>
    <until_year>1990</until_year>
    <years_as_capital>28</years_as_capital>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>15.35</lat>
    <lon>44.2</lon>
  </row>
  <row>
    <id>Q1688526-5753ba64-4f7f-44f4-b27a-547826676bb1</id>
    <country_name>Yettishar</country_name>
    <country_wikidata>Q1688526</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kashgar</capital>
    <capital_wikidata>Q170521</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>39.45</lat>
    <lon>75.9833</lon>
  </row>
  <row>
    <id>Q2114397-D9236C54-B805-470B-991A-8071EA6CD680</id>
    <country_name>Yogyakarta Sultanate</country_name>
    <country_wikidata>Q2114397</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Yogyakarta</capital>
    <capital_wikidata>Q7568</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-7.8005</lat>
    <lon>110.3913</lon>
  </row>
  <row>
    <id>Q1137403-FB705F17-883F-42A7-BA3F-9E599DBB7C57</id>
    <country_name>Yue</country_name>
    <country_wikidata>Q1137403</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Shaoxing</capital>
    <capital_wikidata>Q42666</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>30</lat>
    <lon>120.5833</lon>
  </row>
  <row>
    <id>q36704-84639ea1-416a-abdc-c62a-8195af94775c</id>
    <country_name>Yugoslavia</country_name>
    <country_wikidata>Q36704</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Belgrade</capital>
    <capital_wikidata>Q3711</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>44.8178</lat>
    <lon>20.4569</lon>
  </row>
  <row>
    <id>Q140446-8B4F58DE-2AEA-4BDB-975D-10BE2FB798E3</id>
    <country_name>Zagwe dynasty</country_name>
    <country_wikidata>Q140446</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lalibela</capital>
    <capital_wikidata>Q207590</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>12.0356</lat>
    <lon>39.0462</lon>
  </row>
  <row>
    <id>Q6500954-f9aae98b-4967-b98b-ae7b-c9a59b2b4cd6</id>
    <country_name>Zaire</country_name>
    <country_wikidata>Q6500954</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kinshasa</capital>
    <capital_wikidata>Q3838</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>-4.3219</lat>
    <lon>15.3119</lon>
  </row>
  <row>
    <id>q953-5E1C58E3-A0E6-469B-94D0-9DF033412AD2</id>
    <country_name>Zambia</country_name>
    <country_wikidata>Q953</country_wikidata>
    <country>ZMB</country>
    <state_status>sovereign state</state_status>
    <capital>Lusaka</capital>
    <capital_wikidata>Q3881</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>-15.4167</lat>
    <lon>28.2833</lon>
  </row>
  <row>
    <id>Q146597-74E338DF-C7D8-4072-AC57-D968718239A4</id>
    <country_name>Zand Iran</country_name>
    <country_wikidata>Q146597</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Shiraz</capital>
    <capital_wikidata>Q6397066</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>29.6103</lat>
    <lon>52.5311</lon>
  </row>
  <row>
    <id>Q189545-725f3918-41d7-6b5d-d08a-253c835349f0</id>
    <country_name>Zengid dynasty</country_name>
    <country_wikidata>Q189545</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mosul</capital>
    <capital_wikidata>Q83317</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>36.3417</lat>
    <lon>43.1292</lon>
  </row>
  <row>
    <id>Q189545-ba5c6250-4469-566c-7a76-89d7281cfdec</id>
    <country_name>Zengid dynasty</country_name>
    <country_wikidata>Q189545</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Aleppo</capital>
    <capital_wikidata>Q41183</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>36.2</lat>
    <lon>37.16</lon>
  </row>
  <row>
    <id>Q189545-f27942e1-4ccb-81f1-5a42-4eceb63df369</id>
    <country_name>Zengid dynasty</country_name>
    <country_wikidata>Q189545</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Damascus</capital>
    <capital_wikidata>Q3766</capital_wikidata>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>33.5131</lat>
    <lon>36.2919</lon>
  </row>
  <row>
    <id>Q1358851-e541374e-4c99-f911-2b6a-6ce58302eaa4</id>
    <country_name>Zhangzhung</country_name>
    <country_wikidata>Q1358851</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kyunglung</capital>
    <capital_wikidata>Q6452735</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>31.0333</lat>
    <lon>80.5833</lon>
  </row>
  <row>
    <id>Q1057118-5E69A2D6-ED1C-4299-BD84-5D24D68D59DB</id>
    <country_name>Zhenla</country_name>
    <country_wikidata>Q1057118</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Sambor Prei Kuk</capital>
    <capital_wikidata>Q1818746</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>12.8673</lat>
    <lon>105.04</lon>
  </row>
  <row>
    <id>q954-4E5E3F33-3D66-4387-8D66-4FCE3116F8BA</id>
    <country_name>Zimbabwe</country_name>
    <country_wikidata>Q954</country_wikidata>
    <country>ZWE</country>
    <state_status>sovereign state</state_status>
    <capital>Harare</capital>
    <capital_wikidata>Q3921</capital_wikidata>
    <current>true</current>
    <capitals_count>1</capitals_count>
    <lat>-17.8292</lat>
    <lon>31.0522</lon>
  </row>
  <row>
    <id>Q205718-B7FF5D3E-6AF0-46E9-8578-B429487A48C1</id>
    <country_name>Zirid Dynasty</country_name>
    <country_wikidata>Q205718</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Achir</capital>
    <capital_wikidata>Q2401317</capital_wikidata>
    <from>0972</from>
    <until>1014</until>
    <from_year>972</from_year>
    <until_year>1014</until_year>
    <years_as_capital>42</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>35.9375</lat>
    <lon>3.24</lon>
  </row>
  <row>
    <id>Q205718-5cb527c0-496b-c360-d392-a25ab5157f2d</id>
    <country_name>Zirid Dynasty</country_name>
    <country_wikidata>Q205718</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Kairouan</capital>
    <capital_wikidata>Q179570</capital_wikidata>
    <from>1014</from>
    <until>1057</until>
    <from_year>1014</from_year>
    <until_year>1057</until_year>
    <years_as_capital>43</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>35.6833</lat>
    <lon>10.1</lon>
  </row>
  <row>
    <id>Q205718-dd4e5bfe-4b0a-ced8-bc57-f10a8b68cc8a</id>
    <country_name>Zirid Dynasty</country_name>
    <country_wikidata>Q205718</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Mahdia</capital>
    <capital_wikidata>Q466054</capital_wikidata>
    <from>1057</from>
    <until>1148</until>
    <from_year>1057</from_year>
    <until_year>1148</until_year>
    <years_as_capital>91</years_as_capital>
    <current>false</current>
    <capitals_count>3</capitals_count>
    <lat>35.5047</lat>
    <lon>11.0622</lon>
  </row>
  <row>
    <id>Q729768-2fcb5691-4f2d-90d2-5050-a2533d90b135</id>
    <country_name>Zulu Kingdom</country_name>
    <country_wikidata>Q729768</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Ulundi</capital>
    <capital_wikidata>Q1013421</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>-28.335</lat>
    <lon>31.4161</lon>
  </row>
  <row>
    <id>Q729768-750c3dd3-41f2-6160-7c2d-dba3734d4a43</id>
    <country_name>Zulu Kingdom</country_name>
    <country_wikidata>Q729768</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bulawayo</capital>
    <capital_wikidata>Q193250</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>-20.1667</lat>
    <lon>28.5667</lon>
  </row>
  <row>
    <id>Q1967443-312748dd-479d-fe83-29c3-2a254b0fe871</id>
    <country_name>Zuyev Republic</country_name>
    <country_wikidata>Q1967443</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Zaskarki</capital>
    <capital_wikidata>Q20469453</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>55.3833</lat>
    <lon>28.6503</lon>
  </row>
  <row>
    <id>Q143309-f0a374c2-4c24-55c6-97a0-6a066a514632</id>
    <country_name>county of Louvain</country_name>
    <country_wikidata>Q143309</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Leuven</capital>
    <capital_wikidata>Q118958</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>50.8775</lat>
    <lon>4.7044</lon>
  </row>
  <row>
    <id>Q76821846-a563ad52-49ae-ab41-0955-54795b191332</id>
    <country_name>first Islamic state</country_name>
    <country_wikidata>Q76821846</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Medina</capital>
    <capital_wikidata>Q35484</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>24.47</lat>
    <lon>39.61</lon>
  </row>
  <row>
    <id>Q320530-7de464a1-4ee6-161a-7fee-a3861594f164</id>
    <country_name>lordship of Lichtenberg</country_name>
    <country_wikidata>Q320530</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Lichtenberg</capital>
    <capital_wikidata>Q21568</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>48.9208</lat>
    <lon>7.4806</lon>
  </row>
  <row>
    <id>Q320530-f2811af8-44e6-4f03-ea5c-2089e72579ce</id>
    <country_name>lordship of Lichtenberg</country_name>
    <country_wikidata>Q320530</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Bouxwiller</capital>
    <capital_wikidata>Q22740</capital_wikidata>
    <current>false</current>
    <capitals_count>2</capitals_count>
    <lat>48.8253</lat>
    <lon>7.4828</lon>
  </row>
  <row>
    <id>Q3326429-302c07e5-4dd5-f3fb-dbdf-545043cd1059</id>
    <country_name>mutasarrifate of Mount Lebanon</country_name>
    <country_wikidata>Q3326429</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Deyr el-Qamar</capital>
    <capital_wikidata>Q613943</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>33.7</lat>
    <lon>35.5667</lon>
  </row>
  <row>
    <id>Q11750535-c9d0923e-4214-44d6-6b7a-b842f8fc9092</id>
    <country_name>principality of Kholm</country_name>
    <country_wikidata>Q11750535</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Chełm</capital>
    <capital_wikidata>Q234184</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>51.1333</lat>
    <lon>23.4833</lon>
  </row>
  <row>
    <id>Q867227-8e1bb7d3-4099-a7a6-83a0-5dc6affdb07a</id>
    <country_name>Âu Lạc</country_name>
    <country_wikidata>Q867227</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Co Loa Citadel</capital>
    <capital_wikidata>Q798059</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>21.1134</lat>
    <lon>105.8732</lon>
  </row>
  <row>
    <id>Q6138043-5303be2d-43ed-3893-1db2-cfe74ed5988d</id>
    <country_wikidata>Q6138043</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Melilla</capital>
    <capital_wikidata>Q5831</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>35.2825</lat>
    <lon>-2.9475</lon>
  </row>
  <row>
    <id>Q9149385-06e3176c-4fe9-d7de-0a8b-86b13357af5e</id>
    <country_wikidata>Q9149385</country_wikidata>
    <state_status>historical state</state_status>
    <capital_wikidata>Q10825605</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
  </row>
  <row>
    <id>Q61861373-cad0d889-4405-b7b4-b756-040629bd9c6a</id>
    <country_wikidata>Q61861373</country_wikidata>
    <state_status>historical state</state_status>
    <capital>Beja</capital>
    <capital_wikidata>Q213251</capital_wikidata>
    <current>false</current>
    <capitals_count>1</capitals_count>
    <lat>38.0156</lat>
    <lon>-7.8653</lon>
  </row>
</dataset>
