text: song dynasty the song dynasty ( chinese : 宋朝 ; pinyin : sòng cháo ; 960 – 1279 ) was an era of chinese history that began in 960 and continued until 1279 . it succeeded the five dynasties and ten kingdoms period , and was followed by the yuan dynasty . it was the first government in world history to issue banknotes or true paper money nationally and the first chinese government to establish a permanent standing navy . this dynasty also saw the first known use of gunpowder , as well as the first discernment of true north using a compass . the song dynasty is divided into two distinct periods , northern and southern . during the northern song ( chinese : ; 960 – 1127 ) , the song capital was in the northern city of bianjing ( now kaifeng ) and the dynasty controlled most of what is now eastern china . the southern song ( chinese : ; 1127 – 1279 ) refers to the period after the song lost control of its northern half to the jurchen jin dynasty in the jin – song wars . during this time , the song court retreated south of the yangtze and established its capital at lin 'an ( now hangzhou ) . although the song dynasty had lost control of the traditional " birthplace of chinese civilization " along the yellow river , the song economy was still strong , as the southern song empire contained a large population and productive agricultural land . the southern song dynasty considerably bolstered its naval strength to defend its waters and land borders and to conduct maritime missions abroad . to repel the jin , and later the mongols , the song developed revolutionary new military technology augmented by the use of gunpowder . in 1234 , the jin dynasty was conquered by the mongols , who took control of northern china , maintaining uneasy relations with the southern song . möngke khan , the fourth great khan of the mongol empire , died in 1259 while besieging the city of chongqing . his younger brother kublai khan was proclaimed the new great khan , though his claim was only partially recognized by the mongols in the west . in 1271 , kublai khan was proclaimed the emperor of china . after two decades of sporadic warfare , kublai khan 's armies conquered the song dynasty in 1279 . the mongol invasion led to a reunification under the yuan dynasty ( 1271 – 1368 ) . the song dynasty restored unity and made song the richest , most skilled , and most populous country on earth . the population doubled in size during the 10th and 11th centuries . this growth was made possible by expanded rice cultivation in central and southern song , the use of early - ripening rice from south - east and southern asia , and the production of widespread food surpluses . the northern song census recorded a population of roughly 50 million , much like the han and tang dynasties . this data is found in the standard histories . however , it is estimated that the northern song had a population of some 100 million people , and 200 million by the time of the ming dynasty . this dramatic increase of population fomented an economic revolution in pre - modern china . the expansion of the population , growth of cities , and the emergence of a national economy led to the gradual withdrawal of the central government from direct involvement in economic affairs . the lower gentry assumed a larger role in grassroots administration and local affairs . appointed officials in county and provincial centers relied upon the scholarly gentry for their services , sponsorship , and local supervision . social life during the song was vibrant . citizens gathered to view and trade precious artworks , the populace intermingled at public festivals and private clubs , and cities had lively entertainment quarters . the spread of literature and knowledge was enhanced by the rapid expansion of woodblock printing and the 11th - century invention of movable - type printing . technology , science , philosophy , mathematics , and engineering flourished over the course of the song . philosophers such as cheng yi and zhu xi reinvigorated confucianism with new commentary , infused with buddhist ideals , and emphasized a new organization of classic texts that brought out the core doctrine of neo - confucianism . although the institution of the civil service examinations had existed since the sui dynasty , it became much more prominent in the song period . the officials who gained power by succeeding in the exams became a leading factor in the shift from a military - aristocratic elite to a bureaucratic elite . history northern song , 959 – 1126 emperor taizu of song ( r . 960 – 976 ) unified the empire by conquering other lands during his reign , ending the upheaval of the five dynasties and ten kingdoms period . in kaifeng , he established a strong central government over the empire . he ensured administrative stability by promoting the civil service examination system of drafting state bureaucrats by skill and merit ( instead of aristocratic or military position ) and promoted projects that ensured efficiency in communication throughout the empire . in one such project , cartographers created detailed maps of each province and city that were then collected in a large atlas . emperor taizu also promoted groundbreaking scientific and technological innovations by supporting such works as the astronomical clock tower designed and built by the engineer zhang sixun . the song court maintained diplomatic relations with chola india , the fatimid caliphate , srivijaya , the kara - khanid khanate of central asia , and other countries that were also trade partners with japan . 316 however , china 's closest neighbouring states most affected its domestic and foreign policy . from its inception under taizu , the song dynasty alternated between warfare and diplomacy with the ethnic khitans of the liao dynasty in the northeast and with the tanguts of the western xia in the northwest . the song dynasty used military force in an attempt to quell the liao dynasty and to recapture the sixteen prefectures , a territory under khitan control that was traditionally considered to be part of china proper . song forces were repulsed by the liao forces , who engaged in aggressive yearly campaigns into northern song territory until 1005 , when the signing of the shanyuan treaty ended these northern border clashes . the song were forced to provide tribute to the khitans , although this did little damage to the song economy since the khitans were economically dependent upon importing massive amounts of goods from the song . more significantly , the song state recognized the liao state as its diplomatic equal . the song dynasty managed to win several military victories over the tanguts in the early 11th century , culminating in a campaign led by the polymath scientist , general , and statesman shen kuo ( 1031 – 1095 ) . however , this campaign was ultimately a failure due to a rival military officer of shen disobeying direct orders , and the territory gained from the western xia was eventually lost . there was also a significant war fought against the lý dynasty of vietnam from 1075 to 1077 over a border dispute and the song 's severing of commercial relations with the đại việt kingdom . after lý forces inflicted heavy damages in a raid on guangxi , the song commander guo kui ( 1022 – 1088 ) penetrated as far as thăng long ( modern hanoi ) . heavy losses on both sides prompted the lý commander thường kiệt ( 1019 – 1105 ) to make peace overtures , allowing both sides to withdraw from the war effort ; captured territories held by both song and lý were mutually exchanged in 1082 , along with prisoners of war . during the 11th century , political rivalries divided members of the court due to the ministers ' differing approaches , opinions , and policies regarding the handling of the song 's complex society and thriving economy . the idealist chancellor , fan zhongyan ( 989 – 1052 ) , was the first to receive a heated political backlash when he attempted to institute the qingli reforms , which included measures such as improving the recruitment system of officials , increasing the salaries for minor officials , and establishing sponsorship programs to allow a wider range of people to be well educated and eligible for state service . after fan was forced to step down from his office , wang anshi ( 1021 – 1086 ) became chancellor of the imperial court . with the backing of emperor shenzong ( 1067 – 1085 ) , wang anshi severely criticized the educational system and state bureaucracy . seeking to resolve what he saw as state corruption and negligence , wang implemented a series of reforms called the new policies . these involved land value tax reform , the establishment of several government monopolies , the support of local militias , and the creation of higher standards for the imperial examination to make it more practical for men skilled in statecraft to pass . the reforms created political factions in the court . wang anshi 's " new policies group " ( xin fa ) , also known as the " reformers " , were opposed by the ministers in the " conservative " faction led by the historian and chancellor sima guang ( 1019 – 1086 ) . as one faction supplanted another in the majority position of the court ministers , it would demote rival officials and exile them to govern remote frontier regions of the empire . one of the prominent victims of the political rivalry , the famous poet and statesman su shi ( 1037 – 1101 ) , was jailed and eventually exiled for criticizing wang 's reforms . while the central song court remained politically divided and focused upon its internal affairs , alarming new events to the north in the liao state finally came to its attention . the jurchen , a subject tribe of the liao , rebelled against them and formed their own state , the jin dynasty ( 1115 – 1234 ) . the song official tong guan ( 1054 – 1126 ) advised emperor huizong ( 1100 – 1125 ) to form an alliance with the jurchens , and the joint military campaign under this alliance conducted at sea toppled and completely conquered the liao dynasty by 1125 . however , the poor performance and military weakness of the song army was observed by the jurchens , who immediately broke the alliance , beginning the jin – song wars of 1125 and 1127 ; during the latter invasion , the jurchens captured not only the capital , but the retired emperor huizong , his successor emperor qinzong , and most of the imperial court . this took place in the year of jingkang ( chinese : ) and it is known as the jingkang incident ( chinese : ) . the remaining song forces regrouped under the self - proclaimed emperor gaozong of song ( 1127 – 1162 ) and withdrew south of the yangtze to establish a new capital at lin 'an ( modern hangzhou ) . the jurchen conquest of north china and shift of capitals from kaifeng to lin 'an was the dividing line between the northern and southern song dynasties . southern song , 1127 – 1279 although weakened and pushed south beyond the huai river , the southern song found new ways to bolster its strong economy and defend itself against the jin dynasty . it had able military officers such as yue fei and han shizhong . the government sponsored massive shipbuilding and harbor improvement projects , and the construction of beacons and seaport warehouses to support maritime trade abroad , including at the major international seaports , such as quanzhou , guangzhou , and xiamen , that were sustaining china 's commerce . to protect and support the multitude of ships sailing for maritime interests into the waters of the east china sea and yellow sea ( to korea and japan ) , southeast asia , the indian ocean , and the red sea , it was necessary to establish an official standing navy . the song dynasty therefore established china 's first permanent navy in 1132 , with a headquarters at dinghai . with a permanent navy , the song were prepared to face the naval forces of the jin on the yangtze river in 1161 , in the battle of tangdao and the battle of caishi . during these battles the song navy employed swift paddle wheel driven naval vessels armed with trebuchet catapults aboard the decks that launched gunpowder bombs . although the jin forces commanded by wanyan liang ( the prince of hailing ) boasted 70 , 000 men on 600 warships , and the song forces only 3 , 000 men on 120 warships , the song dynasty forces were victorious in both battles due to the destructive power of the bombs and the rapid assaults by paddle wheel ships . the strength of the navy was heavily emphasized after that . a century after the navy was founded it had grown in size to 52 , 000 fighting marines . the song government confiscated portions of land owned by the landed gentry in order to raise revenue for these projects , an act which caused dissension and loss of loyalty amongst leading members of song society but did not stop the song 's defensive preparations . financial matters were made worse by the fact that many wealthy , land - owning families — some of which had officials working for the government — used their social connections with those in office in order to obtain tax - exempt status . although the song dynasty was able to hold back the jin , a new foe came to power over the steppe , deserts , and plains north of the jin dynasty . the mongols , led by genghis khan ( r . 1206 – 1227 ) , initially invaded the jin dynasty in 1205 and 1209 , engaging in large raids across its borders , and in 1211 an enormous mongol army was assembled to invade the jin . the jin dynasty was forced to submit and pay tribute to the mongols as vassals ; when the jin suddenly moved their capital city from beijing to kaifeng , the mongols saw this as a revolt . under the leadership of ögedei khan ( – 1241 ) , both the jin dynasty and western xia dynasty were conquered by mongol forces . the mongols also invaded korea , the abbasid caliphate of the middle east , and kievan rus ' . the mongols were at one time allied with the song , but this alliance was broken when the song recaptured the former imperial capitals of kaifeng , luoyang , and chang 'an at the collapse of the jin dynasty . the mongol leader möngke khan led a campaign against the song in 1259 but died on august 11 during the battle of fortress in chongqing . möngke 's death and the ensuing succession crisis prompted hulagu khan to pull the bulk of the mongol forces out of the middle east where they were poised to fight the egyptian mamluks ( who defeated the remaining mongols at ain jalut ) . although hulagu was allied with kublai khan , his forces were unable to help in the assault against the song , due to hulagu 's war with the golden horde . kublai continued the assault against the song , gaining a temporary foothold on the southern banks of the yangtze . kublai made preparations to take ezhou , but a pending civil war with his brother ariq böke — a rival claimant to the mongol khaganate — forced kublai to move back north with the bulk of his forces . in kublai 's absence , the song forces were ordered by chancellor jia sidao to make an opportune assault , and succeeded in pushing the mongol forces back to the northern banks of the yangzi . there were minor border skirmishes until 1265 , when kublai won a significant battle in sichuan . from 1268 to 1273 , kublai blockaded the yangzi river with his navy and besieged xiangyang , the last obstacle in his way to invading the rich yangzi river basin . kublai officially declared the creation of the yuan dynasty in 1271 . in 1275 , a song force of 130 , 000 troops under chancellor jia sidao was defeated by kublai 's newly appointed commander - in - chief , general bayan . by 1276 , most of the song territory had been captured by yuan forces . in the battle of yamen on the pearl river delta in 1279 , the yuan army , led by the general zhang , finally crushed the song resistance . the last remaining ruler , the 8 - year - old emperor emperor of song , committed suicide , along with prime minister lu and 800 members of the royal clan . on kublai 's orders , carried out by his commander bayan , the rest of the former imperial family of song were unharmed ; the deposed emperor gong was demoted , being given the title ' duke of ying ' , but was eventually exiled to tibet where he took up a monastic life . the former emperor would eventually be forced to commit suicide under the orders of kublai 's great - great grandson , khan , out of fear that emperor gong would stage a coup to restore his reign . other members of the song imperial family continued to live in the yuan dynasty , including zhao and zhao yong . society and culture the song dynasty was an era of administrative sophistication and complex social organization . some of the largest cities in the world were found in china during this period ( kaifeng and hangzhou had populations of over a million ) . people enjoyed various social clubs and entertainment in the cities , and there were many schools and temples to provide the people with education and religious services . the song government supported social welfare programs including the establishment of retirement homes , public clinics , and paupers ' graveyards . the song dynasty supported a widespread postal service that was modeled on the earlier han dynasty ( 202 bce – ce 220 ) postal system to provide swift communication throughout the empire . the central government employed thousands of postal workers of various ranks to provide service for post offices and larger postal stations . in rural areas , farming peasants either owned their own plots of land , paid rents as tenant farmers , or were serfs on large estates . although women were on a lower social tier than men ( according to confucian ethics ) , they enjoyed many social and legal privileges and wielded considerable power at home and in their own small businesses . as song society became more and more prosperous and parents on the bride 's side of the family provided larger dowries for her marriage , women naturally gained many new legal rights in ownership of property . under certain circumstances , an unmarried daughter without brothers , or a surviving mother without sons , could inherit one - half of her father 's share of undivided family property . there were many notable and well - educated women , and it was a common practice for women to educate their sons during their earliest youth . the mother of the scientist , general , diplomat , and statesman shen kuo taught him essentials of military strategy . there were also exceptional women writers and poets , such as li qingzhao ( 1084 – 1151 ) , who became famous even in her lifetime . religion in china during this period had a great effect on people 's lives , beliefs , and daily activities , and chinese literature on spirituality was popular . the major deities of daoism and buddhism , ancestral spirits , and the many deities of chinese folk religion were worshipped with sacrificial offerings . tansen sen asserts that more buddhist monks from india travelled to china during the song than in the previous tang dynasty ( 618 – 907 ) . with many ethnic foreigners travelling to china to conduct trade or live permanently , there came many foreign religions ; religious minorities in china included middle eastern muslims , the kaifeng jews , and persian manichaeans . the populace engaged in a vibrant social and domestic life , enjoying such public festivals as the lantern festival and the qingming festival . there were entertainment quarters in the cities providing a constant array of amusements . there were puppeteers , acrobats , theatre actors , sword , snake charmers , storytellers , singers and musicians , prostitutes , and places to relax , including tea houses , restaurants , and organized banquets . people attended social clubs in large numbers ; there were tea clubs , exotic food clubs , antiquarian and art collectors ' clubs , horse - loving clubs , poetry clubs , and music clubs . like regional cooking and cuisines in the song , the era was known for its regional varieties of performing arts styles as well . theatrical drama was very popular amongst the elite and general populace , although classical chinese — not the vernacular language — was spoken by actors on stage . the four largest drama theatres in kaifeng could hold audiences of several thousand each . there were also notable domestic pastimes , as people at home enjoyed activities such as the go and xiangqi board games . civil service examinations and the gentry during this period greater emphasis was laid upon the civil service system of recruiting officials ; this was based upon degrees acquired through competitive examinations , in an effort to select the most capable individuals for governance . selecting men for office through proven merit was an ancient idea in china . the civil service system became institutionalized on a small scale during the sui and tang dynasties , but by the song period it became virtually the only means for drafting officials into the government . the advent of widespread printing helped to widely circulate confucian teachings and to educate more and more eligible candidates for the exams . this can be seen in the number of exam takers for the low - level prefectural exams rising from 30 , 000 annual candidates in the early 11th century to 400 , 000 candidates by the late 13th century . the civil service and examination system allowed for greater meritocracy , social mobility , and equality in competition for those wishing to attain an official seat in government . using statistics gathered by the song state , edward a. , sudō yoshiyuki , and ho ping - ti supported the hypothesis that simply having a father , grandfather , or great - grandfather who had served as an official of state did not guarantee one would obtain the same level of authority . robert hartwell and robert p. hymes criticized this model , stating that it places too much emphasis on the role of the nuclear family and considers only three paternal of exam candidates while ignoring the demographic reality of song china , the significant proportion of males in each generation that had no surviving sons , and the role of the extended family . many felt disenfranchised by what they saw as a bureaucratic system that favored the land - holding class able to afford the best education . one of the greatest literary critics of this was the official and famous poet su shi . yet su was a product of his times , as the identity , habits , and attitudes of the scholar - official had become less aristocratic and more bureaucratic with the transition of the periods from tang to song . at the beginning of the dynasty , government posts were disproportionately held by two elite social groups : a founding elite who had ties with the founding emperor and a semi - hereditary professional elite who used long - held clan status , family connections , and marriage alliances to secure appointments . by the late 11th century , the founding elite became obsolete , while political partisanship and factionalism at court undermined the marriage strategies of the professional elite , which dissolved as a distinguishable social group and was replaced by a multitude of gentry families . due to song 's enormous population growth and the body of its appointed scholar - officials being accepted in limited numbers ( about 20 , 000 active officials during the song period ) , the larger scholarly gentry class would now take over grassroots affairs on the vast local level . excluding the scholar - officials in office , this elite social class consisted of exam candidates , examination degree - holders not yet assigned to an official post , local tutors , and retired officials . these learned men , degree - holders , and local elites supervised local affairs and sponsored necessary facilities of local communities ; any local magistrate appointed to his office by the government relied upon the cooperation of the few or many local gentry in the area . for example , the song government — excluding the educational - reformist government under emperor huizong — spared little amount of state revenue to maintain prefectural and county schools ; instead , the bulk of the funds for schools was drawn from private financing . this limited role of government officials was a departure from the earlier tang dynasty ( 618 – 907 ) , when the government strictly regulated commercial markets and local affairs ; now the government withdrew heavily from regulating commerce and relied upon a mass of local gentry to perform necessary duties in their communities . the gentry distinguished themselves in society through their intellectual and antiquarian pursuits , while the homes of prominent landholders attracted a variety of courtiers , including artisans , artists , educational tutors , and entertainers . despite the disdain for trade , commerce and the merchant class exhibited by the highly cultured and elite exam - drafted scholar - officials , commercialism played a prominent role in song culture and society . a scholar - official would be frowned upon by his peers if he pursued means of profiteering outside of his official salary ; however , this did not stop many scholar - officials from managing business relations through the use of intermediary agents . 68 – 69 law , justice , and forensic science the song judicial system retained most of the legal code of the earlier tang dynasty , the basis of traditional chinese law up until the modern era . roving sheriffs maintained law and order in the municipal jurisdictions and occasionally ventured into the countryside . official magistrates overseeing court cases were not only expected to be well - versed in written law but also to promote morality in society . magistrates such as the famed bao ( 999 – 1062 ) embodied the upright , moral judge who upheld justice and never failed to live up to his principles . song judges specified the guilty person or party in a criminal act and meted out punishments accordingly , often in the form of caning . a guilty individual or parties brought to court for a criminal or civil offense were not viewed as wholly innocent until proven otherwise , while even accusers were viewed with a high level of suspicion by the judge . due to costly court expenses and immediate jailing of those accused of criminal offences , people in the song preferred to settle disputes and quarrels privately , without the court 's interference . shen kuo 's dream pool essays argued against traditional chinese beliefs in anatomy ( such as his argument for two throat valves instead of three ) ; this perhaps spurred the interest in the performance of post - mortem autopsies in china during the 12th century. footnote 27 the physician and judge known as song ci ( 1186 – 1249 ) wrote a pioneering work of forensic science on the examination of corpses in order to determine cause of death ( strangulation , poisoning , drowning , blows , etc . ) and to prove whether death resulted from murder , suicide , or accidental death . song ci stressed the importance of proper coroner 's conduct during autopsies and the accurate recording of the inquest of each autopsy by official clerks . 72 military and methods of warfare the song military was chiefly organized to ensure that the army could not threaten imperial control , often at the expense of effectiveness in war . northern song 's military council operated under a chancellor , who had no control over the imperial army . the imperial army was divided among three marshals , each independently responsible to the emperor . since the emperor rarely led campaigns personally , song forces lacked unity of command . the imperial court often believed that successful generals endangered royal authority , and relieved or even executed them ( notably li gang , yue fei , and han shizhong although the scholar - officials viewed military soldiers as lower members in the hierarchic social order , a person could gain status and prestige in society by becoming a high - ranking military officer with a record of victorious battles . at its height , the song military had one million soldiers divided into platoons of 50 troops , companies made of two platoons , battalions composed of 500 soldiers . crossbowmen were separated from the regular infantry and placed in their own units as they were prized combatants , providing effective missile fire against cavalry charges . the government was eager to sponsor new crossbow designs that could shoot at longer ranges , while crossbowmen were also valuable when employed as long - range snipers . song cavalry employed a slew of different weapons , including halberds , swords , bows , spears , and ' fire lances ' that discharged a gunpowder blast of flame and shrapnel . military strategy and military training were treated as science that could be studied and perfected ; soldiers were tested in their skills of using weaponry and in their athletic ability . the troops were trained to follow signal standards to advance at the waving of banners and to halt at the sound of bells and drums . the song navy was of great importance during the consolidation of the empire in the 10th century ; during the war against the southern tang state the song navy employed tactics such as defending large floating pontoon bridges across the yangzi river in order to secure movements of troops and supplies . there were large naval ships in the song that could carry 1 , 000 soldiers aboard their decks , while the swift - moving paddle - wheel craft were viewed as essential fighting ships in any successful naval battle . in a battle on january 23 , 971 , massive arrow fire from song dynasty crossbowmen decimated the war elephant corps of the southern han army . this defeat not only marked the eventual submission of the southern han to the song dynasty , but also the last instance where a war elephant corps was employed as a regular division within a chinese army . there was a total of 347 military treatises written during the song period , as listed by the history text of the song shi ( compiled in 1345 ) . however , only a handful of these military treatises have survived , which includes the wujing zongyao written in 1044 . it was the first known book to have listed formulas for gunpowder ; it gave appropriate formulas for use in several different kinds of gunpowder bombs . it also provided detailed descriptions and illustrations of double - piston pump flamethrowers , as well as instructions for the maintenance and repair of the components and equipment used in the device . arts , literature , and philosophy the visual arts during the song dynasty were heightened by new developments such as advances in landscape and portrait painting . the gentry elite engaged in the arts as accepted pastimes of the cultured scholar - official , including painting , composing poetry , and writing calligraphy . the poet and statesman su shi and his associate mi fu ( 1051 – 1107 ) enjoyed antiquarian affairs , often borrowing or buying art pieces to study and copy . poetry and literature profited from the rising popularity and development of the ci poetry form . enormous encyclopedic volumes were compiled , such as works of historiography and dozens of treatises on technical subjects . this included the universal history text of the zizhi tongjian , compiled into 1000 volumes of 9 . 4 million written chinese characters . the genre of chinese travel literature also became popular with the writings of the geographer fan ( 1126 – 1193 ) and su shi , the latter of whom wrote the ' essay ' known as record of stone bell mountain that used persuasive writing to argue for a philosophical point . although an early form of the local geographic gazetteer existed in china since the 1st century , the matured form known as " treatise on a place " , or fangzhi , replaced the old " map guide " , or tujing , during the song dynasty . the imperial courts of the emperor 's palace were filled with his entourage of court painters , calligraphers , poets , and storytellers . emperor huizong was a renowned artist as well as a patron of the arts . a prime example of a highly venerated court painter was zhang zeduan ( 1085 – 1145 ) who painted an enormous panoramic painting , along the river during the qingming festival . emperor gaozong of song initiated a massive art project during his reign , known as the eighteen songs of a nomad flute from the life story of cai wenji ( b . 177 ) . this art project was a diplomatic gesture to the jin dynasty while he negotiated for the release of his mother from jurchen captivity in the north . in philosophy , chinese buddhism had waned in influence but it retained its hold on the arts and on the charities of monasteries . buddhism had a profound influence upon the budding movement of neo - confucianism , led by cheng yi ( 1033 – 1107 ) and zhu xi ( 1130 – 1200 ) . mahayana buddhism influenced fan zhongyan and wang anshi through its concept of ethical universalism , while buddhist metaphysics deeply affected the pre – neo - confucian doctrine of cheng yi . the philosophical work of cheng yi in turn influenced zhu xi . although his writings were not accepted by his contemporary peers , zhu 's commentary and emphasis upon the confucian classics of the four books as an introductory corpus to confucian learning formed the basis of the neo - confucian doctrine . by the year 1241 , under the sponsorship of emperor lizong , zhu xi 's four books and his commentary on them became standard requirements of study for students attempting to pass the civil service examinations . the east asian countries of japan and korea also adopted zhu xi 's teaching , known as the ( , school of zhu xi ) of japan , and in korea the ( ) . buddhism 's continuing influence can be seen in painted artwork such as lin 's laundering . however , the ideology was highly criticized and even scorned by some . the statesman and historian ouyang xiu ( 1007 – 1072 ) called the religion a " curse " that could only be remedied by uprooting it from chinese culture and replacing it with confucian discourse . a true revival of buddhism in chinese society would not occur until the mongol rule of the yuan dynasty , with kublai khan 's sponsorship of tibetan buddhism and drogön chögyal phagpa as the leading lama . the christian sect of nestorianism , which had entered china in the tang era , would also be revived in china under mongol rule . cuisine and apparel laws regulated the food that one consumed and the clothes that one wore according to status and social class . clothing was made of hemp or cotton cloths , restricted to a colour standard of black and white . trousers were the acceptable attire for peasants , soldiers , artisans , and merchants , although wealthy merchants might choose to wear more ornate clothing and male blouses that came down below the waist . acceptable apparel for scholar - officials was rigidly defined by social ranking system . however , as time went on this rule of rank - graded apparel for officials was not as strictly enforced . each official was able to display his awarded status by wearing different - coloured traditional silken robes that hung to the ground around his feet , specific types of headgear , and even specific styles of girdles that displayed his graded - rank of officialdom . women wore long dresses , blouses that came down to the knee , skirts and jackets with long or short sleeves , while women from wealthy families could wear purple scarves around their shoulders . the main difference in women 's apparel from that of men was that it was fastened on the left , not on the right . the main food staples in the diet of the lower classes remained rice , pork , and salted fish . song restaurant and tavern menus are recorded which list entrées for feasts , banquets , festivals , and carnivals . they reveal a diverse and lavish diet for those of the upper class . they could choose from a wide variety of meats and seafood , including shrimp , geese , duck , mussel , shellfish , fallow deer , hare , partridge , pheasant , francolin , quail , fox , badger , clam , crab , and many others . dairy products were rare in chinese cuisine at this time . beef was rarely consumed since the bull was a valuable draft animal , and dog meat was absent from the diet of the wealthy , although the poor could choose to eat dog meat if necessary ( yet it was not part of their regular diet ) . people also consumed dates , raisins , jujubes , pears , plums , apricots , pear juice , lychee - fruit juice , honey and ginger drinks , pawpaw juice , spices and seasonings of sichuan pepper , ginger , soy sauce , oil , sesame oil , salt , and vinegar . daily life in the southern song during the era of the southern song there was a vast imbalance of population between city and country . the small group of elite had all very uniform customs , and tried to control others , especially country people , to take their way of life . urban commoners at this time the main concentration of wealth was in cities . in contrast poverty spanned the countryside . this resulted in many people to moving to the city to seek their fortune . the result of this mass immigration of people was a surplus of manpower . this caused labor to be cheap and wages meager . guilds formed to help people find jobs , and employers find workers , as there was almost always a middle - man involved in hiring people . since the wealthy mainly lived in cities there was a large job market for positions such as servants , gardeners , and cooks . some of the richest families even had their own artisans and private militia . this led to the majority of people in the city to work for the wealthy . the rest had to work such jobs as heavy laborers , peddlers , shop keepers , actors , storytellers , puppeteers , and other various entertainment positions . “ shadow [ puppet ] plays originated in the old capital … the stories of the shadow plays are pretty much the same as used by the storytellers ; generally speaking they are a mixture of truth and fiction . the loyal and righteous were given a handsome appearance , whereas the wicked and treacherous are depicted monstrously a kind of implicit criticism that is easily understood by the people in the streets ” another job with a vast market was prostitution . while their mongol counterparts in the north forced prostitutes to live outside the city the song in the south allowed prostitutes free roam of the city . country residents another result of the mass immigration of people to cities was that the country lacked enough producers such as farmers and fishermen to adequately sustain urban life . many of the wealthy city dwellers also possessed vast tracts of land which they rented out to tenant farmers . were poor which brought debt , and interest on loans were high . many of them lived their lives as virtual slaves because of this . even with all the hardships people in the country kept their spirits up with annual festivals . children cared for the animals , collected wood , fetched water , and of course if there was time played . economy , industry , and trade the song dynasty had one of the most prosperous and advanced economies in the medieval world . song chinese invested their funds in joint stock companies and in multiple sailing vessels at a time when monetary gain was assured from the vigorous overseas trade and domestic trade along the grand canal and yangzi river . prominent merchant families and private businesses were allowed to occupy industries that were not already government - operated monopolies . both private and government - controlled industries met the needs of a growing chinese population in the song . artisans and merchants formed guilds that the state had to deal with when assessing taxes , requisitioning goods , and setting standard worker 's wages and prices on goods . 94 the iron industry was pursued by both private entrepreneurs who owned their own smelters as well as government - supervised smelting facilities . 181 – 183 the song economy was stable enough to produce over a hundred million kilograms ( over two hundred million pounds ) of iron product a year . large - scale deforestation in china would have continued if not for the 11th - century innovation of the use of coal instead of charcoal in blast furnaces for smelting cast iron . much of this iron was reserved for military use in crafting weapons and armouring troops , but some was used to fashion the many iron products needed to fill the demands of the growing domestic market . the iron trade within china was advanced by the construction of new canals , facilitating the flow of iron products from production centres to the large market in the capital city . the annual output of minted copper currency in 1085 reached roughly six billion coins . the most notable advancement in the song economy was the establishment of the world 's first government issued paper - printed money , known as jiaozi ( see also huizi ) . for the printing of paper money , the song court established several government - run factories in the cities of huizhou , chengdu , hangzhou , and anqi . the size of the workforce employed in paper money factories was large ; it was recorded in 1175 that the factory at hangzhou employed more than a thousand workers a day . the economic power of song china heavily influenced foreign economies abroad . the moroccan geographer al - idrisi wrote in 1154 of the prowess of chinese merchant ships in the indian ocean and of their annual voyages that brought iron , swords , silk , velvet , porcelain , and various textiles to places such as aden ( yemen ) , the indus river , and the euphrates in modern - day iraq . foreigners , in turn , affected the chinese economy . for example , many west asian and central asian muslims went to china to trade , becoming a preeminent force in the import and export industry , while some were even appointed as officers supervising economic affairs . sea trade with the south - east pacific , the hindu world , the islamic world , and east africa brought merchants great fortune and spurred an enormous growth in the shipbuilding industry of song - era fujian province . however , there was risk involved in such long overseas ventures . in order to reduce the risk of losing money on maritime trade missions abroad , wrote historians ebrey , walthall , and palais : [ song era ] investors usually divided their investment among many ships , and each ship had many investors behind it . one observer thought eagerness to invest in overseas trade was leading to an outflow of copper cash . he wrote , ' people along the coast are on intimate terms with the merchants who engage in overseas trade , either because they are fellow - countrymen or personal acquaintances .... [ they give the merchants ] money to take with them on their ships for purchase and return conveyance of foreign goods . they invest from ten to a hundred strings of cash , and regularly make profits of several hundred percent ' . technology , science , and engineering gunpowder warfare advancements in weapons technology enhanced by gunpowder , including the evolution of the early flamethrower , explosive grenade , firearm , cannon , and land mine , enabled the song chinese to ward off their militant enemies until the song 's ultimate collapse in the late 13th century . the wujing zongyao manuscript of 1044 was the first book in history to provide formulas for gunpowder and their specified use in different types of bombs . while engaged in a war with the mongols , in 1259 the official li zengbo wrote in his , that the city of qingzhou was manufacturing one to two thousand strong iron - cased bomb shells a month , dispatching to xiangyang and yingzhou about ten to twenty thousand such bombs at a time . in turn , the invading mongols employed northern chinese soldiers and used these same types of gunpowder weapons against the song . by the 14th century the firearm and cannon could also be found in europe , india , and the islamic middle east , during the early age of gunpowder warfare . measuring distance and mechanical navigation as early as the han dynasty , when the state needed to effectively measure distances traveled throughout the empire , the chinese relied on the mechanical odometer device . the chinese odometer came in the form of a wheeled - carriage , its inner gears functioning off the rotated motion of the wheels , and specific units of distance — the chinese li — marked by the mechanical striking of a drum or bell for auditory alarm . the specifications for the 11th century odometer were written by chief chamberlain lu daolong , who is quoted extensively in the historical text of the song shi ( compiled by 1345 ) . in the song period , the odometer vehicle was also combined with another old complex mechanical device known as the south - pointing chariot . this device , originally crafted by ma jun in the 3rd century , incorporated a differential gear that allowed a figure mounted on the vehicle to always point in the southern direction , no matter how the vehicle 's wheels ' turned about . the device concept of the differential gear for this navigational vehicle is now found in modern automobiles in order to apply the equal amount of torque to wheels rotating at different speeds . polymaths , inventions , and astronomy polymath figures such as the statesmen shen kuo and su song ( 1020 – 1101 ) embodied advancements in all fields of study , including biology , botany , zoology , geology , mineralogy , mechanics , horology , astronomy , pharmaceutical medicine , archeology , mathematics , cartography , optics , art criticism , and more . shen kuo was the first to discern magnetic declination of true north while experimenting with a compass . shen theorized that geographical climates gradually shifted over time . he created a theory of land formation involving concepts accepted in modern geomorphology . he performed optical experiments with camera obscura just decades after ibn al - haytham was the first to do so . he also improved the designs of astronomical instruments such as the widened astronomical sighting tube , which allowed shen kuo to fix the position of the pole star ( which had shifted over centuries of time ) . shen kuo was also known for hydraulic clockworks , as he invented a new overflow - tank clepsydra which had more efficient higher - order interpolation instead of linear interpolation in calibrating the measure of time . su song was best known for his horology treatise written in 1092 , which described and illustrated in great detail his hydraulic - powered , 12 metres ( 39 ft ) tall astronomical clock tower built in kaifeng . the clock tower featured large astronomical instruments of the armillary sphere and celestial globe , both driven by an early intermittently working escapement mechanism ( similarly to the western verge escapement of true mechanical clocks appeared in medieval clockworks , derived from ancient clockworks of classical times ) . su 's tower featured a rotating gear wheel with 133 clock jack mannequins who were timed to rotate past shuttered windows while ringing gongs and bells , banging drums , and presenting announcement plaques . 445 in his printed book , su published a celestial atlas of five star charts . these star charts feature a cylindrical projection similar to mercator projection , the latter being a cartographic innovation of gerardus mercator in 1569 . mathematics and cartography there were many notable improvements to chinese mathematics during the song era . mathematician yang hui 's 1261 book provided the earliest chinese illustration of pascal 's triangle , although it had earlier been described by jia xian in around 1100 . yang hui also provided rules for constructing combinatorial arrangements in magic squares , provided theoretical proof for euclid 's forty - third proposition about parallelograms , and was the first to use negative coefficients of ' x ' in quadratic equations . 59 – 60 , 104 yang 's contemporary qin ( c . 1202 – 1261 ) was the first to introduce the zero symbol into chinese mathematics ; before this blank spaces were used instead of zeroes in the system of counting rods . he is also known for working with the chinese remainder theorem , heron 's formula , and astronomical data used in determining the winter solstice . qin 's major work was the mathematical treatise in nine sections published in 1247 . geometry was essential to surveying and cartography . the earliest extant chinese maps date to the 4th century bce , yet it was not until the time of pei xiu ( 224 – 271 ) that topographical elevation , a formal rectangular grid system , and use of a standard graduated scale of distances was applied to terrain maps . following a long tradition , shen kuo created a raised - relief map , while his other maps featured a uniform graduated scale of 1 : 900 , 000 . a 3 ft ( 0 . 91 m ) squared map of 1137 — carved into a stone block — followed a uniform grid scale of 100 li for each gridded square , and accurately mapped the outline of the coasts and river systems of china , extending all the way to india . plate lxxxi furthermore , the world 's oldest known terrain map in printed form comes from the edited encyclopedia of yang jia in 1155 , which displayed western china without the formal grid system that was characteristic of more professionally made chinese maps . plate although gazetteers had existed since 52 ce during the han dynasty and gazetteers accompanied by illustrative maps ( chinese : tujing ) since the sui dynasty , the illustrated gazetteer became much more common in the song dynasty , when the foremost concern was for illustrative gazetteers to serve political , administrative , and military purposes . 409 – 412 movable type printing [ [ file : su song star map | alt a rectangular ink on paper diagram with several hundred dots , several of which are organized into constellations , such as a drawn bow ( bottom center ) and a tree ( top left ) . | thumb | left | one of the star charts from su song 's xin yi xiang fa yao published in 1092 , featuring cylindrical projection similar to mercator projection and the corrected position of the pole star thanks to shen kuo 's astronomical observations . su song 's celestial atlas of five star maps is actually the oldest in printed form . the innovation of movable type printing was made by the artisan bi sheng ( 990 – 1051 ) , first described by the scientist and statesman shen kuo in his dream pool essays of 1088 . the collection of bi sheng 's original clay - fired typeface was passed on to one of shen kuo 's nephews , and was carefully preserved . movable type enhanced the already widespread use of woodblock methods of printing thousands of documents and volumes of written literature , consumed eagerly by an increasingly literate public . the advancement of printing deeply affected education and the scholar - official class , since more books could be made faster while mass - produced , printed books were cheaper in comparison to laborious handwritten copies . the enhancement of widespread printing and print culture in the song period was thus a direct catalyst in the rise of social mobility and expansion of the educated class of scholar elites , the latter which expanded dramatically in size from the 11th to 13th centuries . the movable type invented by bi sheng was ultimately trumped by the use of woodblock printing due to the limitations of the enormous chinese character writing system , yet movable type printing continued to be used and was improved in later periods . the yuan dynasty scholar - official wang zhen ( fl . 1290 – 1333 ) implemented a faster typesetting process , improved bi 's baked - clay movable type character set with a wooden one , and experimented with tin - metal movable type . 217 the wealthy printing patron hua sui ( 1439 – 1513 ) of the ming dynasty established china 's first metal movable type ( using bronze ) in 1490 . in 1638 the beijing gazette switched their printing process from woodblock to movable type printing . yet it was during the qing dynasty that massive printing projects began to employ movable type printing . this includes the printing of sixty - six copies of a 5 , 020 volume long encyclopedia in 1725 , the ( complete collection of illustrations and writings from the earliest to current times ) , which necessitated the crafting of 250 , 000 movable type characters cast in bronze . by the 19th century the european style printing press replaced the old chinese methods of movable type , while traditional woodblock printing in modern east asia is used sparsely and for aesthetic reasons . hydraulic and nautical engineering the most important nautical innovation of the song period seems to have been the introduction of the magnetic mariner 's compass , which permitted accurate navigation on the open sea regardless of the weather . the magnetized compass needle – known in chinese as the " south - pointing needle " – was first described by shen kuo in his 1088 dream pool essays and first mentioned in active use by sailors in zhu yu 's 1119 pingzhou table talks . [ [ file : | alt a diagram of the pound lock system , from a bird 's eye perspective and from a side perspective . the bird 's eye view illustrates that water enters the enclosed area through two culverts on either side of the upper lock gate . the side view diagram illustrates how the elevation is higher before reaching the top gate than it is afterwards . | thumb | right | | a plan and side view of a canal pound lock , a concept pioneered in 984 by the assistant commissioner of transport for huainan , the engineer qiao . there were other considerable advancements in hydraulic engineering and nautical technology during the song dynasty . the 10th - century invention of the pound lock for canal systems allowed different water levels to be raised and lowered for separated segments of a canal , which significantly aided the safety of canal traffic and allowed for larger barges . there was the song - era innovation of watertight bulkhead compartments that allowed damage to hulls without sinking the ships . if ships were damaged , the chinese of the 11th century employed drydocks to repair them while suspended out of the water . the song used crossbeams to brace the ribs of ships in order to strengthen them in a skeletal - like structure . stern - mounted rudders had been mounted on chinese ships since the 1st century , as evidenced with a preserved han tomb model of a ship . in the song period , the chinese devised a way to mechanically raise and lower rudders in order for ships to travel in a wider range of water depths . the song arranged the protruding teeth of anchors in a circular pattern instead of in one direction . david graff and robin higham state that this arrangement " [ made ] them more reliable " for anchoring ships . structural engineering and architecture architecture during the song period reached new heights of sophistication . authors such as yu hao and shen kuo wrote books outlining the field of architectural layouts , craftsmanship , and structural engineering in the 10th and 11th centuries , respectively . shen kuo preserved the written dialogues of yu hao when describing technical issues such as slanting struts built into pagoda towers for diagonal wind bracing . shen kuo also preserved yu 's specified dimensions and units of measurement for various building types . the architect li jie ( 1065 – 1110 ) , who published the yingzao fashi ( ' treatise on architectural methods ' ) in 1103 , greatly expanded upon the works of yu hao and compiled the standard building codes used by the central government agencies and by craftsmen throughout the empire . he addressed the standard methods of construction , design , and applications of moats and fortifications , stonework , greater woodwork , lesser woodwork , wood - carving , turning and drilling , sawing , bamboo work , tiling , wall building , painting and decoration , brickwork , glazed tile making , and provided proportions for mortar formulas in masonry . in his book , li provided detailed and vivid illustrations of architectural components and cross - sections of buildings . these illustrations displayed various applications of corbel brackets , cantilever arms , mortise and tenon work of tie beams and cross beams , and diagrams showing the various building types of halls in graded sizes . 108 – 109 he also outlined the standard units of measurement and standard dimensional measurements of all building components described and illustrated in his book . building projects were supported by the government , including the erection of towering buddhist chinese pagodas and the construction of enormous bridges ( wood or stone , trestle or segmental arch bridge ) . many of the pagoda towers built during the song period were erected at heights that exceeded ten stories . some of the most famous are the iron pagoda built in 1049 during the northern song and the liuhe pagoda built in 1165 during the southern song , although there were many others . the tallest is the liaodi pagoda of hebei built in 1055 , towering 84 m ( 276 ft ) in total height . some of the bridges reached lengths of 1 , 220 m ( 4 , 000 ft ) , with many being wide enough to allow two lanes of cart traffic simultaneously over a waterway or ravine . the government also oversaw construction of their own administrative offices , palace apartments , city fortifications , ancestral temples , and buddhist temples . the professions of the architect , craftsman , carpenter , and structural engineer were not seen as professionally equal to that of a confucian scholar - official . architectural knowledge had been passed down orally for thousands of years in china , in many cases from a father craftsman to his son . structural engineering and architecture schools were known to have existed during the song period ; one prestigious engineering school was headed by the renowned bridge - builder cai xiang ( 1012 – 1067 ) in medieval fujian province . besides existing buildings and technical literature of building manuals , song dynasty artwork portraying cityscapes and other buildings aid modern - day scholars in their attempts to reconstruct and realize the nuances of song architecture . song dynasty artists such as li cheng , fan kuan , guo xi , zhang zeduan , emperor huizong of song , and ma lin painted close - up depictions of buildings as well as large expanses of cityscapes featuring arched bridges , halls and pavilions , pagoda towers , and distinct chinese city walls . the scientist and statesman shen kuo was known for his criticism of artwork relating to architecture , saying that it was more important for an artist to capture a holistic view of a landscape than it was to focus on the angles and corners of buildings . for example , shen criticized the work of the painter li cheng for failing to observe the principle of " seeing the small from the viewpoint of the large " in portraying buildings . there were also pyramidal tomb structures in the song era , such as the song imperial tombs located in gongxian , henan province . about 100 km ( 62 mi ) from gongxian is another song dynasty tomb at baisha , which features " elaborate facsimiles in brick of chinese timber frame construction , from door lintels to pillars and pedestals to bracket sets , that adorn interior walls . " the two large chambers of the baisha tomb also feature conical - shaped roofs . flanking the avenues leading to these tombs are lines of song dynasty stone statues of officials , tomb guardians , animals , and mythological creatures . archaeology in addition to the song gentry 's antiquarian pursuits of art collecting , scholar - officials during the song became highly interested in retrieving ancient relics from archaeological sites , in order to revive the use of ancient vessels in ceremonies of state ritual . scholar - officials of the song period claimed to have discovered ancient bronze vessels that were created as far back as the shang dynasty ( 1600 – 1046 bce ) , which bore the written characters of the shang era . some attempted to recreate these bronze vessels by using imagination alone , not by observing tangible evidence of relics ; this practice was criticized by shen kuo in his work of 1088 . yet shen kuo had much more to criticize than this practice alone . shen objected to the idea of his peers that ancient relics were products created by famous " sages " in lore or the ancient aristocratic class ; shen rightfully attributed the discovered handicrafts and vessels from ancient times as the work of artisans and commoners from previous eras . he also disapproved of his peers ' pursuit of archaeology simply to enhance state ritual , since shen not only took an interdisciplinary approach with the study of archaeology , but he also emphasized the study of functionality and investigating what was the ancient relics ' original processes of manufacture . shen used ancient texts and existing models of armillary spheres to create one based on ancient standards ; shen described ancient weaponry such as the use of a scaled sighting device on crossbows ; while experimenting with ancient musical measures , shen suggested hanging an ancient bell by using a hollow handle . despite the gentry 's overriding interest in archaeology simply for reviving ancient state rituals , some of shen 's peers took a similar approach to the study of archaeology . his contemporary ouyang xiu ( 1007 – 1072 ) compiled an analytical catalogue of ancient rubbings on stone and bronze which pioneered ideas in early epigraphy and archaeology . during the 11th century , song scholars discovered the ancient shrine of wu liang ( 78 – 151 ce ) , a scholar of the han dynasty ( 202 bce – 220 ce ) ; they produced rubbings of the carvings and bas - reliefs decorating the walls of his tomb so that they could be analyzed elsewhere . on the unreliability of historical works written after the fact , scholar - official zhao ( 1081 – 1129 ) stated " ... the inscriptions on stone and bronze are made at the time the events took place and can be trusted without reservation , and thus discrepancies may be discovered . " historian r.c. rudolph states that zhao 's emphasis on consulting contemporary sources for accurate dating is parallel with the concern of the german historian leopold von ranke ( 1795 – 1886 ) , and was in fact emphasized by many song scholars . the song scholar hong mai ( 1123 – 1202 ) heavily criticized what he called the court 's " ridiculous " archaeological catalogue compiled during the huizong reign periods of zheng he and xuan he ( 1111 – 1125 ) . hong mai obtained old vessels from the han dynasty and compared them with the descriptions offered in the catalogue , which he found so inaccurate he stated he had to " hold my sides with laughter . " hong mai pointed out that the erroneous material was the fault of chancellor cai jing ( 1047 – 1126 ) , who prohibited scholars from reading and consulting the written histories .