Ma Gui (c. 1538–1618 CE) was a distinguished general and supreme military commander of the Ming Dynasty, belonging to the prominent Ma martial clan celebrated alongside the Li clan as "Li of the East and Ma of the West." Originating from Datong Right Guard in Shanxi, he grew up immersed in steppe warfare techniques under his father Ma Lu. Over several decades, he commanded frontline defense garrisons in Datong and Ningxia. In…
1570 CE–1606 CEMing Dynasty
PROFILE
Ma Gui (c. 1538–1618 CE) was a distinguished general and supreme military commander of the Ming Dynasty, belonging to the prominent Ma martial clan celebrated alongside the Li clan as "Li of the East and Ma of the West." Originating from Datong Right Guard in Shanxi, he grew up immersed in steppe warfare techniques under his father Ma Lu. Over several decades, he commanded frontline defense garrisons in Datong and Ningxia. In 1592 CE, he played a decisive role in quelling the Ningxia mutiny led by Bo Bai, advancing to Left Commissioner-in-Chief. In 1597 CE, during Toyotomi Hideyoshi's second invasion of Korea (Imjin War), Ma Gui was appointed Supreme Military Commander of Coastal Defense and Land Forces. Leading the Ming army into the Korean peninsula, he engaged and defeated elite Japanese samurai forces under Kato Kiyomasa at Ulsan and Suncheon. Recalled to fortify Liaodong in his later years, he stabilized border defense against Jurchen and Mongol incursions. He passed away in 1618 CE and was posthumously honored as Grand Guardian and canonized Wuxiang.
Attribute
Information
Identity
Ming Dynasty General, Military Commander
Era
Mid-Late Ming Dynasty
Dynasty
Ming Dynasty
Highest Office
Left Commissioner-in-Chief, Grand Master for Glorious Happiness
Posthumous Title
Wuxiang, Grand Guardian
Date of Birth
c. 1538 CE(the 17th year of Jiajing)
Date of Death
c. 1618 CE(the 46th year of Wanli)
Native Place
Shuozhou, Datong
Place of Birth
Shuozhou, Datong
LIFE TIMELINE
Birth | Born into a distinguished military family in Datong Right GuarOpen
Birth | Born into a distinguished military family in Datong Right Guard; his father Ma Lu was Vice Commander.
Frontier Service | Accumulated military distinctions in cavalry engageOpen
Frontier Service | Accumulated military distinctions in cavalry engagements, serving as Assistant Commander.
Datong Command | Elevated to Regional Commander of Datong, maintainingOpen
Datong Command | Elevated to Regional Commander of Datong, maintaining vigilance against northern nomadic tribes.
Ningxia Transfer | Reassigned as Regional Commander of Ningxia to safeOpen
Ningxia Transfer | Reassigned as Regional Commander of Ningxia to safeguard the western frontier.
Suppressing Bo Bai | Participated in suppressing the Ningxia mutiny anOpen
Suppressing Bo Bai | Participated in suppressing the Ningxia mutiny and captured the fortress, promoted to Left Commissioner.
Defeating Ordos Raiders | Intercepted and routed western nomadic incurOpen
Defeating Ordos Raiders | Intercepted and routed western nomadic incursions, decapitating over a thousand enemy cavalry.
Korean Expedition | Appointed Commander of Coastal Defense forces to lOpen
Korean Expedition | Appointed Commander of Coastal Defense forces to lead the expeditionary army into Korea against Japanese invaders.
Victorious Return | Concluded the Korean campaign successfully and retOpen
Victorious Return | Concluded the Korean campaign successfully and returned to court, honored as Grand Master for Glorious Happiness.
Liaodong Command | Assigned to govern the Liaodong frontier, deterringOpen
Liaodong Command | Assigned to govern the Liaodong frontier, deterring Jurchen and Mongol raids.
Retirement | Resigned on grounds of old age and illness, granted imperOpen
Retirement | Resigned on grounds of old age and illness, granted imperial escort back home.
Passing | Passed away at home at eighty-one; posthumously awarded the Open
Passing | Passed away at home at eighty-one; posthumously awarded the title Grand Guardian and canonized Wuxiang.
BIOGRAPHY
Biography
Family Background and Early Frontier Service
Ma Gui belonged to an illustrious Hui lineage of military officers in Datong Right Guard, Shanxi Province. His father Ma Lu served as Vice Regional Commander of Datong. Trained in classical cavalry warfare, archery, and tactical maneuvering from early youth, Ma Gui advanced rapidly during the Longqing and early Wanli eras through active border engagements against Tümed Mongols. By 1582 CE, he attained the senior rank of Regional Commander of Datong, where his vigilant patrols ensured domestic security along the Great Wall frontier.
The Ningxia Campaign of 1592
In 1592 CE, mutinous general Bo Bai rebelled in Ningxia, threatening the stability of the entire northwestern corridor. The Ming court reassigned Ma Gui to join Commander-in-Chief Li Rusong. In coordinated assaults against the heavily fortified Ningxia citadel, Ma Gui commanded assault detachments, cut off outside nomad assistance, and assaulted the city ramparts. His decisive tactical actions contributed directly to the surrender and destruction of Bo Bai's rebellion.
Supreme Command in the Korean Theater
In 1597 CE, Toyotomi Hideyoshi mobilized a massive second armada to invade Joseon Korea. The Ming court appointed Ma Gui as Supreme Military Commander of Land Forces. Marching south toward Seoul, Ma Gui rallied Joseon morale and confronted Japanese general Kato Kiyomasa. In winter 1597–1598 CE at the Siege of Ulsan, Ma Gui directed a joint Sino-Korean siege army that stormed Japanese fortress ramparts, inflicting severe casualties. Despite severe winter conditions and unexpected enemy reinforcements, Ma Gui executed an orderly staged withdrawal, preserving the army's combat strength. In 1598 CE, during the four-route counter-offensive, Ma Gui's Eastern Route army continuously pressed retreating Japanese contingents until total withdrawal was secured.
Frontier Guarding in Liaodong and Final Years
Following his triumph in Korea, Ma Gui was celebrated alongside Li Chengliang. In 1610 CE, facing burgeoning pressure from Jurchen clans under Nurhaci and Chahar Mongol confederacies in Liaodong, the court re-appointed the veteran general as Liaodong Regional Commander. Despite his advanced age, Ma fortified outposts, routed incursions by Mongol chieftain Zaisai, and preserved stability across the northeastern frontier. He retired in 1612 CE and died peacefully in 1618 CE.
Major Activities
Multi-Theater Cavalry Operations
Ma Gui was renowned for his adaptability across divergent theaters—ranging from arid northwestern desert cavalry engagements to amphibious coastal siege warfare in the Korean peninsula. His operational leadership established standard tactics for Sino-Korean combined forces.
The Defense of Liaodong Borderlands
During his final commission in Liaodong, Ma Gui reorganized logistical corridors and strengthened border forts, forestalling Jurchen expansionism during a critical transition period.
Personal Relations
Grandfather: Ma Si, Commander of Datong Guard
Father: Ma Lu, Vice Regional Commander of Datong
Brother: Ma Jin, Ming Vice Regional Commander
Nephew: Ma Chengen, Liaodong Regional Commander
Supreme Commander: Xing Jie, Viceroy of Jiliao and overall commander in Korea
Military Colleague: Yang Hao, Military Commissioner in Korea
Renowned Counterpart: Li Chengliang, celebrated general of the Liaodong frontier
Adversary: Bo Bai, rebel leader in Ningxia
Adversary: Kato Kiyomasa, Japanese samurai general faced at Ulsan
Historical Assessment
History of Ming: Praised Ma Gui for his resolute valor and strategic skill, comparing his stature favorably to Li Chengliang.
Viceroy Xing Jie: Commended Ma as a pillar of national defense whose prudent calculations saved borders across multiple reigns.
Modern Historiography: Recognizes Ma Gui as an outstanding Ming strategist whose command in the Imjin War preserved East Asian geopolitical balance.