It belonged to the province of West Prussia inside the Kingdom of Prussia until 1871 when it also became part of the unified German Empire.
A unified Empire with the full support of a loyal population willing to make the necessary sacrifices to overcome invaders/settlers had shown in the past it was possible to keep the Empire's borders secure.
With Prussia, these provinces became part of the unified German Empire in 1871.
In English the (untranslated) word Kaiser is mainly associated with the emperors of the unified German Empire (1871-1918), in particular with Kaiser Wilhelm II.
Even after the creation of the unified German Empire (1871), he tried to regain his throne.
The Eastern Roman Emperor Justinian for a time retook and restored much of the territory once held by the unified Roman Empire, from Spain and Italy, to Anatolia.
The creation of a unified German Empire ended the "balance of power" that had been created with the Congress of Vienna after the end of the Napoleonic Wars.
In 1871 Graudenz became part of the unified German Empire.
After the failed Greater Poland Uprising of 1848, it was incorporated into the Province of Posen, which, with Prussia, became part of the unified German Empire in 1871.