Technically, you could say CIA headquarters is in both Langley or McLean, Virginia. "Langley" is the name of the McLean neighborhood in which the CIA resides.
The town of McLean was founded in 1910, but before then, the area where CIA Headquarters is located was known as Langley.
In 1719, Thomas Lee purchased a tract of land from the sixth Lord Fairfax (for whom Fairfax County, the county in which McLean is located, was named), and he named it "Langley" after his ancestral home in England. Though Lee never lived on the land, the Langley area soon became home to many European settlers. A few were wealthy people whom England had granted land, and they established large plantations in the area.