Mandatory detention was officially authorized by President Bill Clinton in 1996, with the enactment of the Antiterrorism and Effective Death Penalty and the Illegal Immigration Reform and Immigrant Responsibility acts.
It's also been around since 1890.
https://en.m.wikipedia.org/wiki/Immigration_detention_in_the_United_States---
Losers have no rights, that's what history's all about..