Wroclaw was in Germany before World War II, but in Poland after the war. 
The Polish borders shifted west a couple of hundred kilometers, incorporating ancient parts of Silesia like Wroclaw that had belonged to Germany before the war.