Part of my weekend was spent doing some research for the church history class I'm taking. We've made it to the middle ages, which is a fascinating although disturbing period of time. The church at the time was a wreck - corrupt popes, even more corrupt emperors, and a near inseparability's of secular and spiritual authority.
It also led many of us in the class to a new appreciation of separation of church and state. Part of what led to the Inquisition was the thought that being a good citizen of the empire meant being a Christian. And if you weren't Christian, you were somehow subverting the government.
Somehow the church still stands. All I can do is marvel at how God works despite the best (or worst) efforts of people.