With New York's state primary election just two days away, the advertisements in some races have taken a nasty turn.

Often, the ads aren't linked to a candidate but are cloaked in secrecy.

In a New York City Senate primary pitting incumbent Democrat Shirley Huntley against city councilman James Sanders Jr., a flier using racially charged language accuses the state attorney general of a "political lynching" for indicting Huntley on corruption charges.

Huntley is black. Attorney General Eric Schneiderman is white.

A web flier in western New York attributed to The Committee to Save The Erie County Republican Party is strongly anti-gay. That's a slap at incumbent Sen. Mark Grisanti, a Republican whose vote helped the state pass same sex marriage. His opponent, lawyer Kevin Stocker, called the flier disgusting.