After the historical rebellion broke out, in order to resist the rebel attack, the military town system was extended to the mainland. The most important States set up our military envoys to direct the military affairs of several States; Less important States set up national defense envoys or regimental ambassadors to guard military positions. Therefore, in today's Shaanxi, Shaanxi, Henan, Anhui, Shandong, Jiangsu, Hubei and other places, there are many large and small military towns, such as our troops, national defense envoys and Yingyong. Later, it was extended to the whole country. These are all military posts, but our envoys are often named as observation and disposal ambassadors (renamed from previous interviews), and observation and disposal ambassadors are also named as defense ambassadors or regimental ambassadors. They all become local military and political chiefs and are power institutions at or above the state level. In the late Tang dynasty, the so-called buffer town, also known as the square town, was formed by being frugal and prudent.