Complex sentence: In 2004, he was captured and detained by Pakistani forces in a joint operation with the United States, and was held until June 9,2009 in the Guantanamo Bay detention camp.
Split into simpler sentences: In 2004, he was captured and detained by Pakistani forces in a joint operation with the United States. Until June 9,2009, Ghailani had been held in the Guantanamo Bay detention camp.