The citizens of the Dual Monarchy of Austria-Hungary (1867-1918) were officially designated by their nationality within the empire's two constituent halves:
There was no single "Austro-Hungarian" citizenship. Each half had its own citizenship laws, passports, and bureaucracy. Other ethnic groups (Czechs, Slovaks, Poles, Ukrainians, Romanians, Croats, Serbs, Slovenes, Italians, etc.) were legally either Austrian or Hungarian citizens depending on which half of the empire they resided in.
After 1918, successor states (Austria, Hungary, Czechoslovakia, Yugoslavia, Poland, Romania, Italy) established their own citizenship laws, and former imperial subjects became citizens of the new nations—often based on ethnicity, residence, or choice.