Disclosure: As an independent travel and culture blog, some of the links on this website are affiliate links. If you make a purchase or booking through these links, I may earn a small commission at no additional cost to you. Thank you for your support!
Into the Gobi
I drove west out of the eastern part of Alxa League, headed for Ejina. Gobi stretched out on every side, and this wasn’t the rolling dunes you see in movies. It was a flat expanse of dark gravel, and when the wind picked up you could actually hear the small stones scraping against each other. I’d come to Ejina wanting to see something specific with my own eyes: a stretch of land that was once green with water and grass and is now mostly bare, a lake that dried up and then came back, a city that thrived and was eventually swallowed by sand.

The whole trip kept circling back to the same idea. Water arrives, and an oasis or a city comes to life. Water leaves, and everything sinks back into desert. That’s true of Juyan Lake, true of the ruins at Khara-Khoto, true of the poplar forests too.
What’s Under Your Feet: How the Gobi Got Here
Alxa League sits at the far western edge of Inner Mongolia, spread across three deserts: Badain Jaran, Tengger, and Ulan Buh. It’s one of the most heavily desertified regions in China. But the ground here isn’t all one thing. A desert is made of shifting dunes. A gobi is what’s left after the wind has carried the fine sand away, leaving gravel behind. Walking on it sounds completely different from walking on sand, more like a rattle underfoot than a soft crunch.
Ejina Banner sits just north of the western end of the Hexi Corridor, on the alluvial fan formed by the lower Heihe River, which locals call the Ejina River. The river starts in the Qilian Mountains, runs north through Zhangye in Gansu, and eventually disappears into the desert here, splitting into two terminal lakes known as East and West Juyan. Everything the Ejina oasis is comes down to this one river. When the river runs, the oasis lives. When it stops, everything dries up. That pattern keeps showing up, in the story of the lake and in the story of the city.


Juyan Lake: A Frontier Two Thousand Years Old
Han-dynasty maps called this lake Juyan Ze. It was a strategic outpost for the empires ruling from central China. Under Emperor Wu of Han, the court set up a military command here and built a chain of beacon towers to guard the Hexi Corridor against the Xiongnu. Through the early and middle twentieth century, archaeologists pulled tens of thousands of Han-dynasty wooden and bamboo slips out of the ground nearby, the famous Juyan Slips, recording everything from troop movements to grain rations to the daily paperwork of border life. They’re one of the most important primary sources we have for how the Han empire actually ran its frontier.
Standing at the edge of the lake, it’s hard to picture this as a busy military frontier two thousand years ago. What’s almost as hard to picture is what happened to it in recent decades. As farming upstream drew more and more water from the Heihe, both lakes dried out completely by the middle of the twentieth century and became a source of some of the worst sandstorms in the region. It wasn’t until the early 2000s, when the government began coordinating water allocation with Zhangye upstream, that the lake started filling back up. Watching birds skim the surface today, it’s worth remembering that the water itself is the result of a restoration effort that’s been running for more than twenty years.

Western Xia: The Forgotten Empire of the Hexi Corridor
You can’t really understand Khara-Khoto without understanding Western Xia first. It’s a kingdom the wider world tends to skip over, but it wasn’t some minor state that happened to pass through here. It lasted 189 years, had its own writing system, and ran a genuinely developed bureaucracy.
The Tangut people originally lived on the northeastern edge of the Tibetan Plateau, part of the wider Qiang ethnic group. They moved into northern Shaanxi toward the end of the Tang dynasty, and their leader Tuoba Sigong was granted the surname Li and the title of military governor after helping put down a rebellion. His descendants held onto that territory around Xiazhou for generations. By the time Li Yuanhao came to power, the Tangut had control of the entire Hexi Corridor. On November 10, 1038, Li Yuanhao declared himself emperor at Xingqing (present-day Yinchuan, Ningxia), naming his state Da Xia. Because it sat west of the Central Plains, the Song called it Western Xia.
At its height, Western Xia stretched from the Yellow River in the east to Yumen Pass in the west, from Xiaoguan in the south up into the far northern desert, with a population of more than two million. It held its own for nearly two centuries in a three-way standoff with the Northern Song and the Liao, later the Jin, lasting through ten emperors and 189 years before the Mongols finally destroyed it in 1227. Li Yuanhao created an independent Tangut script during his reign, mandated a distinctive hairstyle across the population to reinforce Tangut identity, made Buddhism the state religion, and oversaw the translation of more than three thousand volumes of Buddhist scripture over fifty years. A lot of what came out of the ground at Khara-Khoto later is a remnant of exactly that religious infrastructure. Western Xia deserves to be understood as a mature state with its own script, its own religious system, its own bureaucracy, not the footnote it usually gets in the history books.
Genghis Khan and Western Xia: Twenty Years of Bad Blood
I’d been driving down a gobi highway for a long time, nothing but empty road on either side, and a question kept nagging at me. Eight hundred years ago, how did this stretch of nowhere end up as the battlefield for a war that dragged on for more than two decades between two empires?
The Mongol-Xixia wars ran from 1205 to 1227. Genghis Khan led at least six campaigns against Western Xia over that span, though the real fighting clustered into two periods: 1205 to 1209, and then 1224 to 1227. The first campaign came in 1205, before Temujin had even taken the title Genghis Khan. It was more of a raid than a war, breaking through the border post at Lijili Fort, in what’s now Zhongwei, Ningxia, grabbing livestock and captives and pulling back. Small in scale, but it gave the Mongols a first real read on how weak Western Xia actually was. Driving through that stretch of road today, it’s hard to connect the word “raid” to the highway in front of you, but that’s genuinely where all this started.
Two years later, in 1207, the Mongols came back for a second try, this time going after the northern stronghold of Wulahai. They couldn’t take it and ran short on supplies, so they withdrew. Then in 1209 came the biggest campaign of that early period. Mongol forces broke through the defenses at Wulahai and pushed all the way to the Western Xia capital, Zhongxing, near present-day Yinchuan. Genghis Khan even tried diverting the Yellow River to flood the city out, but the water missed the walls and wrecked his own camp instead. Even so, the siege terrified Emperor Li Anquan enough that he sued for peace, handed over a daughter in marriage, and agreed to submit as a vassal.
What actually broke the relationship for good happened in 1217. The Mongols were preparing to march west against the Khwarazmian Empire and demanded that Western Xia send troops to join them. Western Xia refused outright. That refusal was the spark. The Mongol general Muqali laid siege to Zhongxing, Emperor Shenzong fled the capital, and the crown prince stayed behind to surrender. Seven years after that, in 1224, the Mongol general Bolu broke through the Western Xia stronghold of Yinzhou, killed tens of thousands of defenders and carried off huge numbers of people and livestock. That campaign more or less closed the door on any chance of reconciliation.
The last campaign, and the decisive one, ran from 1226 into 1227. This time Genghis Khan led the army himself, capturing Khara-Khoto, the same ruins I’d come to see, before pushing south toward Zhongxing. Western Xia fell in 1227, and Genghis Khan himself died during that same campaign. The History of Yuan places his death at “the traveling palace at Sali Chuan Ha Laotu,” not far from the stretch of country where Ejina and Juyan sit today. Driving toward Khara-Khoto, knowing I was more or less retracing the route the Mongol army took heading south, gave the whole drive a weight it wouldn’t otherwise have had.
It’s worth being upfront that the sources don’t fully agree on every detail of these campaigns. The History of Yuan, the Xixia Shushi, and the Secret History of the Mongols diverge on specifics here and there, and what actually happened to the last Western Xia emperor and to the Tangut people after the fall of the capital is not fully or consistently recorded, and remains debated. I’m not going to smooth that over or claim more certainty than the record actually supports.
Khara-Khoto: A Border Town for Western Xia, a Crossroads for the Mongols
Khara-Khoto means “black city” in Mongolian. In Tangut, the Western Xia language, “black water” was rendered as “Yiqinai” (yi meaning water, nai meaning black), and the Yuan dynasty kept using that name for the administrative district built here. “Ejina” is a separate transliteration of that same Tangut word from a later era, running parallel to Yiqinai rather than evolving out of it. As far as anyone knows, this is the only surviving city still known by a name that comes directly from the Tangut language.

Under Western Xia, records place the founding of a garrison here in 1035, when Li Yuanhao established the Heishui Zhenyan military command at Juyan, with its headquarters at what’s now Khara-Khoto. It was one of Western Xia’s twelve military commands and served as one of the kingdom’s most important military strongholds and farming and herding bases in the western Hexi Corridor, guarding the route between the northern steppe and the Chinese heartland. A handful of sources attribute the site instead to a different command, Heishan Weifu, though most sources and the archaeological survey data point to Heishui Zhenyan, with Heishan Weifu more commonly placed elsewhere, up near the Yin Mountains.
In 1226, during his final campaign against Western Xia, Genghis Khan’s forces took Khara-Khoto as one of the first strongholds to fall, then pushed south toward the capital. It’s worth noting that this stretch of country had already seen fighting well before that. In 1205, during the very first Mongol campaign, the Juyan area itself was besieged for more than fifty days. So calling Khara-Khoto the “first” city taken really only applies to that final 1226 campaign specifically, not to the whole twenty-year war.
Under the Yuan, Kublai Khan expanded the city considerably, establishing the Yijinai Route administrative seat here in 1286 under Gansu province. It became a key relay point on the road linking the Hexi Corridor to the Mongolian steppe, a route later remembered as a branch of the Steppe Silk Road.
Under the Ming, in 1372, the general Feng Sheng led a campaign west and cut off the city’s water supply. Sources differ on the exact tactics involved, but they agree on the outcome: losing its water made the city impossible to sustain. It was abandoned soon after, its people forced to relocate, and the oasis around it was gradually swallowed by the Badain Jaran Desert, a city that had thrived for more than three centuries buried in sand from then on.
Locals still tell a story about a “Black General” who defended the city. According to the legend, he refused to surrender even after the water was cut off, sank his gold and silver into a dry well, killed his own wife and children rather than let them fall into enemy hands, and finally died fighting his way out with what was left of his men. The story has been passed down among the local Torghut Mongols and gives Khara-Khoto a tragic, almost mythic weight. It should be said plainly that this is folklore. There’s no official historical record confirming a “Black General” as an actual figure, and he doesn’t appear in any formal history. It’s a story worth hearing for what it says about how this place is remembered, not something to take as documented fact.

Standing under the crumbling earthen walls and looking in, at the wind-worn ramparts, the collapsed outlines of old stupas, the dunes creeping over what’s left of the foundations, it’s hard not to think of this place as something bigger than one military conquest. It’s a compressed record of three dynasties, Western Xia, Yuan, and Ming, rising and falling on the same patch of ground.

The Poplars: Proof That Won’t Fall Over After Three Thousand Years
Past Khara-Khoto, following the Ejina River, the scenery shifts fast. Groves of Populus euphratica, the desert poplar, appear along the gobi’s edge, thick twisted trunks under crowns of gold and deep green, one of the few real bursts of life in this landscape.

There’s a local saying about these trees: they live a thousand years without dying, stand a thousand years after death without falling, and lie a thousand years after falling without rotting. It’s a widely repeated phrase, and it’s worth saying clearly that it’s a poetic folk description, not a precise botanical claim. How long any given tree actually survives, or takes to break down, depends heavily on local conditions.

Populus euphratica is a desert riparian species, and its survival depends entirely on the Heihe river system. Wherever the water reaches, the poplars grow. When the water stops, they die off with it. It’s the same story as the lake, the same story as the ruined city: everything alive or built on this land eventually comes down to how much water is flowing through one river.
Ceke Port: Modern Trade in the Middle of the Gobi
The name “Ceke” comes from the Mongolian word ceke, meaning “a bend in the river.” The name reflects the area’s long connection with water and the river system of Ejina, even though the landscape around the port today is dominated by the dry Gobi.
Heading north past the poplar forest brings you to Ceke Port, a major land crossing on the China-Mongolia border. Coal and other minerals come in from Mongolia here, while daily goods and machinery go out the other way. Watching a line of freight trucks work through customs, it’s hard not to think of it as an odd echo of the camel caravans that once moved along the old Yijinai route centuries ago.
From the Han-dynasty beacon towers at Juyan, to the Yuan-dynasty relay stations along the Yijinai road, to the modern port at Ceke, Ejina has never really stopped being a border. What’s changed is only the method: watchtowers and signal fires gave way to camel trains, and camel trains have given way to container trucks.

Leaving Ejina: A Pattern That Keeps Repeating
On the way out, I kept coming back to the thread running through the whole trip. Water arrives, and an oasis or a civilization comes to life. Water leaves, and everything sinks back into desert. That was true of the lake, true of the ruined city, true of the poplar forest. But none of it was ever really given up on. The lake has water again. What Khara-Khoto once was is slowly being pieced back together through the study of its documents. The poplars keep doing what they’ve always done: not dying, not falling, not rotting.
If you ever make it out to this stretch of gobi, take your time with it. There’s no sweeping green horizon here like you’d find on the grasslands further east, but there’s a border history underneath it that’s older, messier, and worth sitting with.
Practical Notes for Foreign Visitors
- Getting there: The nearest airport to Ejina is Ejina Taolai Airport. You can also drive in from Jiuquan or Zhangye in Gansu, though it’s a long haul, so plan for extra travel time.
- Best season: The poplar forests usually peak in mid to late October, though the exact timing shifts a bit year to year, so it’s worth checking that year’s foliage forecast before you go.
- Planning your route: Khara-Khoto, Juyan Lake, the poplar forest, and Ceke Port are all further apart than they look on a map. Plan for at least two or three days rather than trying to see everything in one.
