Assigned in 2009 to an Army unit in Iraq as an intelligence analyst, Manning had access to classified databases. In early 2010, she leaked classified information to WikiLeaks and confided this to Adrian Lamo, an online acquaintance. Lamo indirectly informed the Army's Criminal Investigation Command, and Manning was arrested in May that same year. The material included videos of the July 12, 2007, Baghdad airstrike and the 2009 Granai airstrike in Afghanistan; 251,287 U.S. diplomatic cables; and 482,832 Army reports that came to be known as the "Iraq War Logs" and "Afghan War Diary". The material was published by WikiLeaks and its media partners between April 2010 and April 2011.