General Stanley McChrystal -- the top military commander in Afghanistan -- has resigned from his position after he and his aides made disparaging remarks about the Obama administration that were published in a "Rolling Stone" profile, CNN reported. President Obama has asked General David Petraeus to take McChrystal's position. The Commander in Chief said today that the General McChrystal's behavior "does not meet the standard that should be set by a commanding general." "I strongly support the president's strategy in Afghanistan and am deeply committed to our coalition forces, our partner nations and the Afghan people. It was out of respect for this commitment -- and a desire to see the mission succeed -- that I tendered my resignation," McChrystal said in a statement. McChrystal has been criticized for making disparaging comments about President Barack Obama and Vice President Joe Biden while in the presence of a reporter. Michael Hastings the author of the "Rolling Stone" article chimed in on the scandal, calling McChrystal a "risk taker" in a chat with CNN's Anderson Cooper. Hastings said he thinks, "They wanted to shake things up a bit."