The detainee had a history of psychological problems and had already attacked his wife with a knife in 2019.