Germany’s immigration detention system has undergone major changes since a 2014 ruling by the Court of Justice of the European Union condemning the country’s use of prisons for immigration purposes. Since then, the country’s detention infrastructure has shrunk from more than 20 to seven long-term facilities, even as new laws have broadened the grounds justifying immigration detention.