Isaac Asimov was inspired to write "The Foundation" series after reading "The Decline and Fall of the Roman Empire". He borrowed Constantines strategic use of Christian ideology to thwart his enemies by applying the ritualistic methods of religion to protect science in a fictional universe 50k years into the future. If you have the time, read Decline and Fall and then "The Foundation" series.