What are the main reasons for the prosperity of poetry in Tang Dynasty?

The unprecedented prosperity of Tang poetry depends on the prosperity and stability of social economy, the unprecedented unification of the whole country, the perfection of the system of selecting scholars in imperial examinations, the love and admiration of the ruling class, the worship of the life style and social atmosphere of poetry, the rise of huge class poets among the common people and the inheritance and development of China's ancient poetry.