After struggles with Frederic Barbarossa it declared peace in 1177. In 1222 the second university of Italy was founded in Padua. The Gulfs got Padua in 1256, later the Republic of Venice got control about the city until Napoleon Bonaparte got it. 