In another aspect, this invention is a composition for protecting a substrate from the effect of ultraviolet light comprising an effective UV-protective amount of one or more water-soluble polyaminoamides comprising UV-absorbing end groups, wherein said polyaminoamides absorb ultraviolet light radiation having a wavelength of about 200 nm to about 420 nm.