In the late 1270s, Ljubljana was conquered by King Ottokar II of Bohemia. In 1278, after Ottokar's defeat, it became—together with the rest of Carniola—property of Rudolph of Habsburg. It was administered by the Counts of Gorizia from 1279 until 1335, when it became the capital town of Carniola. Renamed "Laibach", it would be owned by the House of Habsburg until 1797. In 1327, the Ljubljana's "Jewish Quarter"—now only "Jewish Street" () remains—was established with a synagogue, and lasted until Emperor Maximilian I in 1515 succumbed to medieval antisemitism and expelled Jews from Ljubljana, for which he demanded a certain payment from the town. In 1382, in front of St. Bartholomew's Church in Šiška, at the time a nearby village, now part of Ljubljana, a peace treaty was signed between the Republic of Venice and Leopold III of Habsburg.