With the extinction of the Eggenbergs, the county returned to the House of Habsburg, being re-united with the remaining County of Gorizia. The union resulted in the creation of the Princely County of Gorizia and Gradisca in 1754, which existed until the dissolution of Austria-Hungary in 1918. The town remained in the Cisleithanian side after the Compromise of 1867 as head of the district of the same name (GRADISCA), one of the 11 Bezirkshauptmannschaften in the Austrian Littoral province.[3]