Definitions of pretrial detention
when a person is held in jail until a trial starts
He was released soon after the verdict, having already served his time in pretrial detention.
There are multiple definitions - click on the translation that matches your context.
Untersuchungshaft means:
Substantiv
partial
noun
when a person is held in jail until a trial starts
He was released soon after the verdict, having already served his time in pretrial detention.