Victoria Will / Invision/AP 1 / 14
Victoria Will / Invision/AP 1 / 14

Studious actor James Franco has been dragged into a legal battle over allegations that a teacher at his university was sacked after giving the star a bad grade.

RELATED: Franco & More Celebs React To Golden Globes Noms

Jose Angel Santana, who taught the "Spider-Man" actor at New York University, has filed a lawsuit against the institution, claiming he was unfairly dismissed from his teaching job.

The 58-year-old alleges his firing came not long after he handed the Oscar nominee a D grade for allegedly missing some of his classes.

RELATED: James Franco May Get His Own Book of Erotic Fiction

He tells the New York Post, "The school has bent over backwards to create a Franco-friendly environment, that's for sure. The university has done everything in its power to curry favor with James Franco ... In my opinion, they've turned the NYU graduate film degree into swag for James Franco's purposes, a possession, something you can buy."

RELATED: Franco Drops Trou in Flaunt Magazine

Santana has filed legal papers at Manhattan Supreme Court in New York in a bid to win his job back.