Gary Gallegos, the executive director of the San Diego Association of Governments, said he will leave the agency by the end of the year. Gallegos was due for a performance review by the agency's board of directors for his role in a widening scandal over tax revenues.