The document summarizes New York State's efforts to pass comprehensive HIV testing legislation from 2007-2010. It describes how the New York State Academy of Family Physicians (NYSAFP) advocated for streamlined written consent and anonymous testing in cases of occupational exposure. Through the NYSAFP's influence and support from allied organizations, the legislation was unanimously passed in 2010 over the objections of the Medical Society of the State of New York. The new law strengthened the NYSAFP's relationship with key legislators and the Department of Health.