Credit: Jason LaVeris/FilmMagic

After less than a year of dating, I Am Number Four costars Dianna Agron and Alex Pettyfer have gone their separate ways.

A source confirms to that the pair -- set up by director D.J. Caruso -- broke things off and that Agron, 24, moved out of the home she shared with her British beau, 20, last week.

The news of their split comes two weeks after the duo dodged rumors of an engagement.

"She's an amazing woman and she's got this old school, classic movie star elegance to her," Pettyfer gushed to Ellen DeGeneres in January of his girlfriend. "She's amazing."

Agron, who appears as cheerleader Quinn Fabray on Glee, was equally as smitten by Pettyfer.

"Alex might see himself as a bad boy, but he's actually very sweet in real life," she told Sugar magazine in its Winter 2011 issue.

"I think it's important to have your differences in any relationship," she added. "I wouldn't want to be dating a carbon copy of myself. That would just be boring."

Agron and Pettyfer's sci-fi flick, I Am Number Four, is in theaters now.