Jon Stewart called out Fox News on Tuesday's "Daily Show" for the way the network edited a 2011 tape featuring President Obama discussing the Dream Act.

Before focusing on Fox News' response to Obama's change in immigration policy, the "Daily Show" host mocked Republicans for criticizing Obama for using executive authority to grant work permits and a two-year deportation deferral for students who arrived in the U.S. after the age of 16.

"George Bush, Bill Clinton, George H.W. Bush and Ronald Reagan—no president in modern history—has changed deportation policy through executive action, except all of them," Stewart said. "So the objections here may be what you call situational, or so I thought until yesterday, when I saw this on Fox News."

Stewart cut to a clip from Sean Hannity's Monday Fox News show, in which the host played a tape of Obama speaking in September 2011. During his remarks, Obama said, "There's been a great disservice done to the cause of getting the Dream Act passed, and getting comprehensive immigration passed, by perpetrating the notion that by myself, I can go and do these things. It's just not true."

Stewart pretended to be in disbelief. "That was just 9 months ago," Stewart said in a tone dripping with mockery. "The president said he couldn't do the thing he just did. Game over, Fox! Kudos!" He acknowledged the network's diligence and accuracy. Stewart also admitted that he sometimes acted like "a dick" to the network and was "quick to pounce," but Fox News "got it right."

"But before I go," Stewart said, "it looked like the president wasn't done speaking...Roll the unedited tape, perhaps."

Following the final line that Fox News included in its edited tape, Obama said, "Now what we can do is prioritize enforcement, since there's limited enforcement resources, and say, 'We're not going to go chasing after this young man or anybody else who has been acting responsibly and would otherwise qualify for legal status of the Dream act passed.'"

"Motha f***as!" Stewart said. "You cut Obama off just before he very clearly says that he can do the exact thing he just did! But which you said he said he's not supposed to—motha f***as! You almost had me, Fox News! You almost had me!"

Check out Stewart in the clip above, and the full, 10-minute Hannity segment below:

Also on HuffPost:

Loading Slideshow...
  • Robin Hood Veterans Summit

    NEW YORK, NY - MAY 07: Jon Stewart and Salvatore Giunta, Medal of honor Recipient speak at the Robin Hood Veterans Summit at Intrepid Sea-Air-Space Museum on May 7, 2012 in New York City. (Photo by Craig Barritt/Getty Images for The Robin Hood Foundation)

  • Sesame Street Workshop 10th Annual Benefit Gala

    NEW YORK, NY - MAY 30: Jon Stewart attends the Sesame Street Workshop 10th Annual Benefit Gala at Cipriani 42nd Street on May 30, 2012 in New York City. (Photo by Andrew H. Walker/Getty Images)

  • Robin Hood Veterans Summit

    NEW YORK, NY - MAY 07: Jon Stewart speaks at the Robin Hood Veterans Summit at Intrepid Sea-Air-Space Museum on May 7, 2012 in New York City. (Photo by Craig Barritt/Getty Images for The Robin Hood Foundation)

  • Robin Hood Veterans Summit

    NEW YORK, NY - MAY 07: Jon Stewart speaks at the Robin Hood Veterans Summit at Intrepid Sea-Air-Space Museum on May 7, 2012 in New York City. (Photo by Craig Barritt/Getty Images for The Robin Hood Foundation)

  • Robin Hood Veterans Summit

    NEW YORK, NY - MAY 07: Jon Stewart and Salvatore Giunta, Medal of honor Recipient speak at the Robin Hood Veterans Summit at Intrepid Sea-Air-Space Museum on May 7, 2012 in New York City. (Photo by Craig Barritt/Getty Images for The Robin Hood Foundation)

  • The Comedy Awards 2012 - Show

    NEW YORK, NY - APRIL 28: Jason Jones and Jon Stewart accept an award onstage at The Comedy Awards 2012 at Hammerstein Ballroom on April 28, 2012 in New York City. (Photo by Theo Wargo/Getty Images)

  • The Comedy Awards 2012 - Show

    NEW YORK, NY - APRIL 28: (L-R) Jon Stewart and Robert De Niro speak onstage at The Comedy Awards 2012 at Hammerstein Ballroom on April 28, 2012 in New York City. (Photo by Theo Wargo/Getty Images)

  • The Comedy Awards 2012 - Show

    NEW YORK, NY - APRIL 28: (L-R) Jon Stewart and Robert De Niro speak onstage at The Comedy Awards 2012 at Hammerstein Ballroom on April 28, 2012 in New York City. (Photo by Theo Wargo/Getty Images)

  • The Comedy Awards 2012 - Show

    NEW YORK, NY - APRIL 28: (L-R) Jon Stewart and Robert De Niro speak onstage at The Comedy Awards 2012 at Hammerstein Ballroom on April 28, 2012 in New York City. (Photo by Theo Wargo/Getty Images)

  • The Comedy Awards 2012 - Show

    NEW YORK, NY - APRIL 28: Comedian Jon Stewart speaks onstage at The Comedy Awards 2012 at Hammerstein Ballroom on April 28, 2012 in New York City. (Photo by Theo Wargo/Getty Images)

  • The Comedy Awards 2012 - Show

    NEW YORK, NY - APRIL 28: Jessica Williams and Jon Stewart accept an award onstage at The Comedy Awards 2012 at Hammerstein Ballroom on April 28, 2012 in New York City. (Photo by Theo Wargo/Getty Images)

  • Amnesty International's Secret Policeman's Ball 2012 - Show

    NEW YORK, NY - MARCH 04: (EXCLUSIVE COVERAGE) Jon Stewart and Rex Lee speak on stage during Amnesty International's Secret Policeman's Ball at Radio City Music Hall on March 4, 2012 in New York City. (Photo by Kevin Mazur/Getty Images for Amnesty International)

  • Amnesty International's Secret Policeman's Ball 2012 - Show

    NEW YORK, NY - MARCH 04: (EXCLUSIVE COVERAGE) Jon Stewart speaks on stage during Amnesty International's Secret Policeman's Ball at Radio City Music Hall on March 4, 2012 in New York City. (Photo by Kevin Mazur/Getty Images for Amnesty International)

  • 63rd Annual Primetime Emmy Awards - Press Room

    LOS ANGELES, CA - SEPTEMBER 18: Executive producter/TV host Jon Stewart poses in the press room during the 63rd Annual Primetime Emmy Awards held at Nokia Theatre L.A. LIVE on September 18, 2011 in Los Angeles, California on September 18, 2011 in Los Angeles, California. (Photo by Alberto E. Rodriguez/Getty Images)

  • 63rd Annual Primetime Emmy Awards - Press Room

    LOS ANGELES, CA - SEPTEMBER 18: Executive producter/TV host Jon Stewart poses in the press room during the 63rd Annual Primetime Emmy Awards held at Nokia Theatre L.A. LIVE on September 18, 2011 in Los Angeles, California on September 18, 2011 in Los Angeles, California. (Photo by Alberto E. Rodriguez/Getty Images)

  • 63rd Annual Primetime Emmy Awards - Show

    LOS ANGELES, CA - SEPTEMBER 18: Jon Stewart accepts the Outstanding Variety, Music Or Comedy Series award onstage during the 63rd Annual Primetime Emmy Awards held at Nokia Theatre L.A. LIVE on September 18, 2011 in Los Angeles, California. (Photo by Kevin Winter/Getty Images)

  • 63rd Annual Primetime Emmy Awards - Show

    LOS ANGELES, CA - SEPTEMBER 18: The cast of 'The Daily Show With Jon Stewart' accept the Outstanding Variety, Music Or Comedy Series award onstage during the 63rd Annual Primetime Emmy Awards held at Nokia Theatre L.A. LIVE on September 18, 2011 in Los Angeles, California. (Photo by Kevin Winter/Getty Images)

  • Story Pirates 3rd Annual "After School Special" Fundraiser

    NEW YORK, NY - MAY 20: Jon Stewart attends the Story Pirates 3rd annual 'After School Special' fundraiser at Peter Norton's Symphony Space on May 20, 2011 in New York City. (Photo by Dimitrios Kambouris/Getty Images)

  • Story Pirates 3rd Annual "After School Special" Fundraiser

    NEW YORK, NY - MAY 20: Jon Stewart attends the Story Pirates 3rd annual 'After School Special' fundraiser at Peter Norton's Symphony Space on May 20, 2011 in New York City. (Photo by Dimitrios Kambouris/Getty Images)

  • The First Annual Comedy Awards - Show

    NEW YORK, NY - MARCH 26: Stephen Colbert (L) and Jon Stewart speak onstage at the First Annual Comedy Awards at Hammerstein Ballroom on March 26, 2011 in New York City. (Photo by Dimitrios Kambouris/Getty Images)