Robert Gates actually said...
This is not a war without end. The Lisbon Summit has made clear that the transfer to Afghan security responsibility and leadership will be complete not later than the end of 2014.
Context
Gates discusses the timeline for transferring security responsibility in Afghanistan.
06/14/2011