er musste nachsitzen.

listen to the pronunciation of er musste nachsitzen.
Немецкий Язык - Английский Язык
He was kept in after school