The removal of part of the intestine is called an enterectomy.