Isolated nucleic acid encoding a humanized anti-beta7 antibody comprising: an HVR-L1, HVR-L2, HVR-L3, HVR-H1, HVR-H2 and HVR-H3, in which each, in order, comprises RASESVDDLLH (SEQ ID NO: 9), KYASQSIS (SEQ ID NO: 2), QQGNSLPNT (SEQ ID NO: 3), GFFITNNYWG (SEQ ID NO: 4), GYISYSGSTSYNPSLKS (SEQ ID NO: 5), and ARTGSSGYFDF (SEQ ID NO : 64).Ácido nucleico aislado que codifica un anticuerpo anti-beta7 humanizado que comprende: una HVR-L1, HVR-L2, HVR-L3, HVR-H1, HVR-H2 y HVR-H3, en la que cada una, en orden, comprende RASESVDDLLH (SEC ID NO:9), KYASQSIS (SEC ID NO:2), QQGNSLPNT (SEC ID NO:3), GFFITNNYWG (SEC ID NO: 4), GYISYSGSTSYNPSLKS (SEC ID NO:5), y ARTGSSGYFDF (SEC ID NO:64).