What was one dynasty that provided a poor atmosphere for cultural development