John Owen Brennan (born September 22, 1955) was the Director of the Central Intelligence Agency (CIA) from March 2013 to January 2017. He served as chief counterterrorism advisor to U.S. President Barack Obama; his title was Deputy National Security Advisor for Homeland Security and Counterterrorism, and Assistant to the President. His responsibilities included overseeing plans to protect the country from terrorism and respond to natural disasters, and he met with the President daily. Previously, he advised President Obama on foreign policy and intelligence issues during the 2008 presidential campaign and transition.

In late 2008, Brennan was reportedly the top choice to become the next Director of the CIA in the incoming Obama administration. However, Brennan withdrew his name from consideration because of opposition to his CIA service under President George W. Bush and past public statements he had made in support of enhanced interrogation and the transfer of terrorism suspects to countries where they might be tortured (extraordinary rendition). President Obama then appointed him to be his Deputy National Security Advisor for Homeland Security and Counterterrorism, the President's chief counterterrorism advisor and a position that did not require Senate confirmation.  In August 2009, Brennan criticized some Bush-administration anti-terror policies, saying that waterboarding had threatened national security by increasing the recruitment of terrorists and decreasing the willingness of other nations to cooperate with the U.S. He also described the Obama administration's focus as being on "extremists" and not "jihadists". He said that using the second term, which means one who is struggling for a holy goal, gives "these murderers the religious legitimacy they desperately seek" and suggests the US is at war with the religion of Islam.  In an early December 2009 interview with the Bergen Record, Brennan remarked, "the U.S. intelligence and law enforcement communities have to bat 1.000 every day. The terrorists are trying to be successful just once". At a press conference days after the failed Christmas Day bomb attack on Northwest Airlines Flight 253 by Umar Farouk Abdulmutallab, Brennan said U.S. intelligence agencies did not miss any signs that could have prevented the attempt but later said he had let the President down by underestimating a small group of Yemeni terrorists and not connecting them to the attempted bomber. Within two weeks after the incident, however, he produced a report highly critical of the performance of U.S. intelligence agencies, concluding that their focus on terrorist attempts aimed at U.S. soil was inadequate. In February 2010, he claimed on Meet the Press that he was tired of Republican lawmakers using national security issues as political footballs, and making allegations where they did not know the facts.  Brennan was present in the Situation Room in May 2011 when the United States conducted the military operation that killed Osama bin Laden. He called President Obama's decision to go forward with the mission one of the "gutsiest calls of any president in memory." In the aftermath of the operation, Brennan said that the U.S. troops in the raid had been "met with a great deal of resistance," and bin Laden had used a woman as a human shield.

Using a quote from the above article, answer the following question: When did he cease to be in that role?
In August 2009,