Łaniec was formerly part of the German Empire. In the German Empire, the place was called Hirschgraben.
The place is now called Łaniec and belongs to Poland.
| Historical place name | Country | Administration | Time |
|---|---|---|---|
| Lanietz | German Empire | Cosel | 1936 |
| Hirschgraben | German Empire | Cosel | 1939 |
| Łaniec | Under Polish administration | Koźle | 1945 |
| Łaniec | Poland | Opole | 1992 |