The Rajput Samma dynasty replaced the Rajput Soomra dynasty. They gained control of Thatta from the Soomra around 1335 A.D. The dynasty is believed to have originated in Saurashtra, and later migrated to Sindh. During the Sammas saw the rise of Thatta as an important commercial and cultural center. At the time the Portuguese took control of the trading centre of Hormuz in 1514 CE, trade from the Sindh accounted for nearly 10% of their customs revenue, and they described Thatta as one of the richest cities in the world. Thatta's prosperity was based partly on its own high-quality cotton and silk textile industry, partly on export of goods from further inland in the Punjab and northern India.