as long as he shall have behaved well (legal Latin)quamdiu (se) bene gesserit – as long as he shall have behaved well (legal Latin)