The purchase comes as the Department of Homeland Security has moved to scale up its capacity to detain immigrants without relying as heavily on private prison corporations.