On August 27 , 2007 , Gonzales announced that he is quitting his position as Attorney General , and that his last day will be September 16 , 2007 . Amid several controversies and allegations of perjury before Congress , on August 27 , 2007 Gonzales announced his resignation as Attorney General , effective September 17 , 2007 .