He died just weeks before the expected end of his war-crimes trial .