Kingdom of Galicia and Lodomeria
It was first delineated as a separate district of the Kingdom of Galicia and Lodomeria in 1775, and was made a nominal duchy within the Austrian Empire in 1849.