custody
US /ˈkʌs.tə.di/
UK /ˈkʌs.tə.di/

1.
the legal right or duty to care for someone or something, especially a child after its parents have separated or divorced
:
•
The court granted the mother full custody of the children.
•
They are fighting for joint custody of their pet.
2.
imprisonment
:
•
The suspect was taken into police custody.
•
He was released from custody after questioning.