Termez is one of the oldest cities in Central Asia. The cultural heritage that was developed from the very beginning of the city was completely destroyed by the troops of Genghis Khan in 1220, after the inhabitants refused to surrender peacefully. The new city was erected to the east of the old city.
Termez was located in the center of the legendary region of Bactria, on the banks of the Oaks River (the ancient name of the Amu Darya), the waters of which were consecrated by the god of the river - Oahsho. On both banks of the river in the Bronze Age formed an ancient civilization. Later it became the basis of the great cultures of the East, connecting the eastern and western civilizations, including the influence of the cultures of Iran, Hellenism, Indo-Buddhism, Turks and Arabs. The Arabs conquered the capital of Bactria (Bactra), they called this city "Um al-Bulad", which means "Mother of Cities", and discovered the thousand-year heritage of the Bactrian civilization. It was the capital of an ancient state, which gave birth to many other great and historic cities of Bactria. There are only ruins preserved nowadays from many of those cities, while others could overcome all the difficulties of the time and exist to this day. Among them is Termez. During the period of Uzbekistan's independence, Termez became a prosperous modern city, the main outpost, the South Gate of Uzbekistan.
Termez has been one of the main centers of Buddhism in Central Asia for many centuries. The missionaries traveled from Termez to Sogdiana, from the northwestern part of Termez along the valley of the Oaks River to Margiana, and from the northeast through the Pamir Mountains to Serindia (Eastern Turkestan), to China and Tibet.
Thus, the Buddhist monk Dharmamitra who was born in Termez, played an essential role in spreading Buddhism in Tibet. He translated and wrote comments to Buddhist meetings in Chinese.
All this indicates that in Termez in the early centuries there was a favorable atmosphere for intellectual works. This is also indicated by the appearance of the outstanding personality of Muhammad ibn Hakim al-Termezi. He was not only a Muslim mullah, but also an outstanding scholar-theologian. His work influenced the development of Sufism, in the structure of which there were several doctrines of Buddhism. Therefore, he was highly esteemed in the Muslim world.