The immigration office (Ausländerbehörde, Landesamt für Einwanderung, LEA, Einwanderungsamt or Ausländeramt) is where immigrants apply for a German residence permit or permanent residence.
In Berlin, the immigration office is called Landesamt für Einwanderung, but most people call it the Ausländerbehörde.