A method of coating a metal automotive vehicle body, comprising: (a) cleaning the metal automotive vehicle body; (b) placing the cleaned metal automotive vehicle body into an aqueous coating composition comprising a binder, the binder comprising a cathodically electrodepositable amine-functional phosphorylated resin, which is an epoxy resin and which has at least one group in which X is a hydrogen, a monovalent hydrocarbon, an alkyl group, an aryl group, an alkylaryl group, an arylalkyl group, or an oxygen atom having a single covalent bond to the phosphorous atom, and each oxygen atom has a covalent bond to a hydrogen atom, an alkyl group, an aryl group, an alkylaryl group, an arylalkyl group, or the amine-functional resin, with the caveat that at least one oxygen atom has a covalent bond to the amine-functional resin, a crosslinker reactive with the amine-functional phosphorylated resin, and a second amine-functional resin reactive with the crosslinker, wherein the second amine-functional resin does not include phosphorous-containing groups; (c) connecting the metal automotive vehicle body as a cathode in an electric circuit and passing a current through the aqueous electrodeposition coating composition to deposit a coating layer onto the metal automotive vehicle body. (a) cleaning the metal automotive vehicle body; (b) placing the cleaned metal automotive vehicle body into an aqueous coating composition comprising a binder, the binder comprising a cathodically electrodepositable amine-functional phosphorylated resin, which is an epoxy resin and which has at least one group in which X is a hydrogen, a monovalent hydrocarbon, an alkyl group, an aryl group, an alkylaryl group, an arylalkyl group, or an oxygen atom having a single covalent bond to the phosphorous atom, and each oxygen atom has a covalent bond to a hydrogen atom, an alkyl group, an aryl group, an alkylaryl group, an arylalkyl group, or the amine-functional resin, with the caveat that at least one oxygen atom has a covalent bond to the amine-functional resin, a crosslinker reactive with the amine-functional phosphorylated resin, and a second amine-functional resin reactive with the crosslinker, wherein the second amine-functional resin does not include phosphorous-containing groups; a binder, the binder comprising a cathodically electrodepositable amine-functional phosphorylated resin, which is an epoxy resin and which has at least one group in which X is a hydrogen, a monovalent hydrocarbon, an alkyl group, an aryl group, an alkylaryl group, an arylalkyl group, or an oxygen atom having a single covalent bond to the phosphorous atom, and each oxygen atom has a covalent bond to a hydrogen atom, an alkyl group, an aryl group, an alkylaryl group, an arylalkyl group, or the amine-functional resin, with the caveat that at least one oxygen atom has a covalent bond to the amine-functional resin, a crosslinker reactive with the amine-functional phosphorylated resin, and a second amine-functional resin reactive with the crosslinker, wherein the second amine-functional resin does not include phosphorous-containing groups; (c) connecting the metal automotive vehicle body as a cathode in an electric circuit and passing a current through the aqueous electrodeposition coating composition to deposit a coating layer onto the metal automotive vehicle body.