Original: In 1772 , following the First Partition of Poland , the city known in German as Lemberg became the capital of the Austro-Hungarian Kingdom of Galicia and Lodomeria .
Simplified: In German , it was known as Lemberg , that was part of the Austrian and Austro-Hungarian Empires and again under Nazi German occupation .