eventually it became far more popular for Hui and Salar to intermarry due to both being Muslims than to non-Muslim Han, Mongols and Tibetans. The Salar language and culture, however, was highly impacted in the 14th-16th centuries in their original ethnogenesis by marriage with Mongol and Tibetan non-Muslims with many loanwords and grammatical influence by Mongol and Tibetan in their language. Salars were multilingual in Salar and Mongol and then in Chinese and Tibetan as they trade extensively in the Ming, Qing and Republic of China periods on the yellow river in Ningxia and Lanzhou in Gansu. Salars and Tibetans both use the term maternal uncle (ajiu in Salar and Chinese, azhang in Tibetan) to refer to each other, referring to the fact that Salars are descendants of Tibetan women marrying Salar men. After using these terms they often repeat the historical account how Tibetan women were married by 2,000 Salar men who were the First Salars to migrate to Qinghai. These terms illustrate that Salars were viewed separately from the Hui by Tibetans. According to legend, the marriages between Tibetan women and Salar men came after a compromise between demands by a Tibetan chief and the Salar migrants. The Salar say Wimdo valley was ruled by a Tibetan and he demanded the Salars follow 4 rules in order to marry Tibetan women. He asked them to install on their houses's four corners Tibetan Buddhist prayer flags, to pray with Tibetan Buddhist prayer wheels with the Buddhist mantra om mani padma hum and to bow before statues of Buddha. The Salars refused those demands saying they did not recite mantras or bow to statues since they believed in only one creator god and were Muslims. They compromised on the flags in houses by putting stones on their houses' corners instead of Tibetan Buddhist prayer flags. Some Tibetans do not differentiate between Salar and Hui due to their Islamic religion. In 1996, Wimdo township only had one Salar because Tibetans whined about the Muslim call to prayer and a mosque built in the area in the early 1990s so they kicked out most of the Salars from the region. Salars were bilingual in Salar and Tibetan due to intermarriage with Tibetan women and trading. It is far less likely for a Tibetan to speak Salar. Tibetan women in Xiahe also married Muslim men who came there as traders before the 1930s.