Королевство Хорватия и Славония
Gaj died in Zagreb, Kingdom of Croatia-Slavonia, Austria-Hungary, in 1872 at the age of 62.