WATCH: Megyn Grills Cruz & Rubio on Past Statements on Illegal Immigration

Rubio Calls Out Cruz: 'He's Trying to Trump Donald Trump on Immigration'

On "The O'Reilly Factor" tonight, Bill O'Reilly questioned Republican presidential contender Marco Rubio about his stance on illegal immigration.

O'Reilly pointed out that Rubio said in 2010 that illegal immigrants in the U.S. should be sent back home before they can apply for legal citizenship. In 2013, however, the Florida senator supported legislation that would not send illegal immigrants back home. Now, Rubio appears to be closer to his 2010 position with a focus on border security and canceling President Obama's executive orders on immigration, O'Reilly said.

From 2010 to now, have you had any change of opinion on this issue? O'Reilly asked.

Rubio said there has been a change in his approach, not in his position.

He said that he's never argued for "blanket amnesty," but we must deal with the 12 million people who are in the U.S. illegally.

How to solve that problem, he said, is a question the American people must answer.

He said that his immigration plan includes the elimination of federal funding for sanctuary cities, the deportation of criminal illegal aliens, the hiring of 20,000 new border patrol agents, the implementation of a functional eVerify system and the competition of 700 miles of walls all along our southern border.

Focus Group Reveals Their Big Winner of Thursday's GOP Debate

Rubio Slams Cruz: 'You'll Say Anything to Get Votes'