After they had acquired the Carniola hinterland in 1335, the Habsburgs gradually took possession of the coastal areas. In 1500 they inherited the comital lands of Gorizia (Görz), when the last Count Leonhard of Gorizia died childless. The Habsburg Princely County of Gorizia and Gradisca was established in 1754, it became part of the Austrian Kingdom of Illyria in 1816. With the Istrian march and the Imperial Free City of Trieste it was re-arranged as the Austrian Littoral crown land in 1849.