Uncensored -
As I said earlier, I have no idea why posters with no knowledge of a conflict or topic try to bluff those that do. It's almost as desperate as pretending anyone who disagrees with you supports terror.
The Chechan conflict with Russia dates back to around 1785, but more seriously from 1850 - 1860, when Russia began to ethnically cleanse the Chechan highlands.
Prior to 1785, there was no real Russian influence in the Caucasus at all.
Hence, the 17th century is of no relevence here at all.
The other thing to keep in mind is that the Caucasus is a massive area, and includes mountains 5,000 metres high. What happens on one side of the mountains has precious little influence on the other side, because the mountains form a natural barrier - in this case between the Russian sphere of influence to the north and the Turkish and Shi'ite spheres to the south.
Chechnya lies to the NORTH of the mountains.
btw. You might want to check what 'theocracy' means. At the moment you are using it incorrectly.