<?xml version="1.0" encoding="UTF-8"?><placename>  <system>China Historical GIS, Harvard University and Fudan University</system>  <license>CC BY-NC 4.0</license>  <uri>https://chgis.hudci.org/tgaz/placename/hvd_80744</uri> <spellings>    <spelling>      <written-form script="traditional Chinese">永昌府</written-form>      <exonym-lang></exonym-lang>      <attested-by></attested-by>      <note></note>    </spelling>    <spelling>      <written-form script="simplified Chinese">永昌府</written-form>      <exonym-lang></exonym-lang>      <attested-by></attested-by>      <note></note>    </spelling>    <spelling>      <transcription system="Pinyin">Yongchang Fu</transcription>      <exonym-lang></exonym-lang>      <attested-by></attested-by>      <note></note>    </spelling>  </spellings>  <feature-type>    <name>府</name>    <alternate-name>府</alternate-name>    <transcription>fu</transcription>    <translation lang="en">superior prefecture</translation>  </feature-type>  <temporal>    <begin>963</begin>    <begin-rule>3</begin-rule>    <end>1256</end>    <end-rule>4</end-rule>  </temporal>  <spatial>    <object-type>POINT</object-type>    <xy-type>point</xy-type>    <latitude-direction>N</latitude-direction>    <degrees-latitude>25.11244</degrees-latitude>    <longitude-direction>E</longitude-direction>    <degrees-longitude>99.16686</degrees-longitude>    <geo-source>FROM_AC</geo-source>    <present-location>    </present-location>  </spatial>  <historical-context>    <part-of-relationships>    </part-of-relationships>    <subordinate-units><br />
<b>Warning</b>:  Undefined array key "child_sys_id" in <b>/var/www/html/tgaz/placename.php</b> on line <b>566</b><br />
<br />
<b>Warning</b>:  Undefined array key "begin_year" in <b>/var/www/html/tgaz/placename.php</b> on line <b>566</b><br />
<br />
<b>Warning</b>:  Undefined array key "end_year" in <b>/var/www/html/tgaz/placename.php</b> on line <b>566</b><br />
      <subordinate-unit sys-id="" from="" to="" ><br />
<b>Warning</b>:  Undefined array key "child_vn" in <b>/var/www/html/tgaz/placename.php</b> on line <b>567</b><br />
        <name></name><br />
<b>Warning</b>:  Undefined array key "child_tr" in <b>/var/www/html/tgaz/placename.php</b> on line <b>568</b><br />
        <transcribed-name></transcribed-name>      </subordinate-unit>    </subordinate-units>  </historical-context>  <data-source>CHGIS</data-source>  <source-note>    <![CDATA[      永昌府（963－1256年）（陆韧编写）

宋乾德年间大理段氏置①，治永昌城，今云南省保山市城区②。领胜乡郡（今永平县）③。1253年地入蒙元④，宪宗七年（1257年）分永昌府置永昌千户和永平千户⑤。

    ①《元史》卷61《地理四?云南诸路行中书省》大理路军民总管府条：“永昌府，唐时蒙氏据其地，历段氏、高氏皆为永昌府。”（中华书局校点本，1976年，第五册，1479页）。顾炎武：《肇域志》云南?永昌军民府记载：“（永昌）开元以后，为南诏蒙氏所据。五代唐、晋时，为郑买嗣、赵善政、杨干贞相继窃据。宋乾德间，段氏乃置永昌府，元丰间，高氏因之。宝祐二年，高氏以其地来附。元丁巳年，于永昌立千户所，隶大理万户府。”（上海古籍出版社，2004年，第四册，2416页）。知永昌府置于宋太祖赵匡胤乾德年间（963－968年），准确的设置时间不详，故以乾德元年（963年）为大理政权永昌府的始置年代。
    ②永昌城自南诏时建城后，南诏为永昌节度驻地，宋大理为永昌府治。（朱惠荣主编《中华人民共和国地名词典?云南省》，商务印书馆，1994年，387页）。
    ③《元史》卷61《地理四?云南诸路行中书省》大理路军民总管府条：“大理金齿等处宣慰司都元帅府。……元宪宗三年收附。”（中华书局校点本，1976年，第五册，1479页）。永昌府为金齿地区。又倪辂集《南诏野史》记载：“宝祐元年二月，元兵至入上关，掳国王段志兴。元得五城八府三十七蛮部，立平云南碑于苍山。四年，善阐降元。”（方国瑜主编：《云南史料丛刊》第四卷，云南大学出版社，1998年，788页）。
    ④《大元混一方舆胜览》卷中《云南等处行中书省?大理金齿等处宣慰司都元帅府》永昌府记：“永平县，汉为博南，蒙氏号胜乡郡。”（《宋元地理丛刊》。郭声波整理，成都，四川大学出版社，2003年，上册，477页）。万历《云南通志》卷二永平县：“唐南诏蒙氏置胜乡郡，宋大理段氏因之，元初废郡立永平千户所。”（1931年重印本）。
    ⑤《元史》卷61《地理四?云南诸路行中书省》大理路军民总管府条：“永昌府，唐时蒙氏据其地，历段氏、高氏皆为永昌府。元宪宗七年，分永昌之永平立千户。”（中华书局校点本，1976年，第五册，1479－1480页）。顾炎武《肇域志》之《云南?永昌军民府》记：“宝佑二年，高氏以其地来附。元丁巳年，于永昌立千户所，隶大理万户府。”“永平县，……唐南诏蒙氏置胜乡郡，宋时，大理因之。元丁巳年，立永平千户所。”（上海古籍出版社，2004年，第四册，2416，2417页）。元宪宗七年即丁巳年，故1257年，蒙元分永昌府立永昌千户所、永平千户所。    ]]>  </source-note>  <source-uri>      </source-uri></placename>