Context: Main article: Kazan rebellion of 1552-56. 18,000 men were left as a garrison and Ivan returned to Moscow to celebrate. After the fall of Kazan resistance continued in the countryside. The tribes refused to pay taxes. Russian merchants were killed which led to reprisals. The forts of Çalım and Mişätamaq and were built on the west and east sides of the Volga. The Nogai Ali Akram was brought in as khan. Soltikov marched against Mişätamaq but he and 500 men were surrounded in the snow and killed. Ivan sent a larger force. There were daily combats in the snow and forests. Ten thousand men were killed, six thousand were captured along with fifteen thousand women and children. 1600 leading Tatars were put to death.The leaders Yepancha and Aleka were killed.  Ali Akram proved incompetent and was killed by Mameshbirde. Mameshbirde was betrayed to the Russians. The fort of Mişätamaq fell at some point. After the fall of Çalım in 1556 most resistance came to an end. In 1556 the Russians went down the Volga and conquered the Khanate of Astrakhan. In 1558 Anikey Stroganov was granted large lands on the Kama River northeast of Kazan, which he worked to develop. In 1582 the Stroganovs were involved in the conquest of the Khanate of Sibir east of the Urals. The Kazan Tatars continued to live in the area and retained their language and religion.

Question: Which happened first, the conquering of the Khanate of Astrakhan, or the granting of lands to Anikey Stroganov?

Answer:
the Khanate of Astrakhan