In the colony , the city of Cusco was very rich , thanks to the agriculture , cattle raising , mining and trade with Spain .
It became very prosperous thanks to agriculture , cattle raising , and mining , as well as the trade with Spain .