Between 1046, when the Emperor Henry III reformed the papacy, and 1099, when Pope Urban II died, a very drastic change came over the loyalties of the church and city of Milan. In 1046, these loyalties were chiefly local; their centre was St Ambrose, the fourth-century bishop of Milan who was its patron saint. Apart from certain rather artificial purposes of propaganda in its long struggle for precedence over Ravenna and Aquileia, Milan did not actively look to the see of St Peter; nor was it, in practice, subject to Roman interference. Politically, it did, indeed, acknowledge an ultimate loyalty to the emperor; but this was because, so long as he ruled his kingdom of Italy from a distance, he was a safeguard for Milan's virtual autonomy in spiritual and temporal affairs. Milan had the appearance of a proud and self-sufficient metropolis, subject only to the ecclesiastical and civil rule of its own archbishop. But, after 1056, its order and independence were rudely challenged when the Patarene movement gave rise to nineteen years of civil strife. The Patarenes sought help from Rome, where they found some ready and effective allies amongst the reformers. Milan, accordingly, reacted by showing itself actively hostile to the papacy; for a while, its citizens called upon the Emperor Henry IV to be active in vindicating his rights. Then, in 1075, tne Patarenes suffered a sudden collapse and ceased to be an effective movement.