During the German civil war between the Hohenstaufen king Philip of Swabia and his Welf rival Otto IV, Duke Ottokar I of Bohemia decided to support Philip, for which he was awarded by a royal coronation in 1198, this time the title was hereditary. In 1200, however, Ottokar abandoned his pact with Philip and declared for the Welf faction. Both Otto and Pope Innocent III subsequently accepted Ottokar as hereditary King of Bohemia.