ATLANTA  A longtime federal judge in Georgia was charged Monday with buying cocaine, marijuana and other illegal drugs from a stripper with whom he was having an extramarital affair.

The judge, Jack T. Camp Jr., 67, of United States District Court, was arrested Friday in an Atlanta suburb and later charged with possession of two illegal guns and with using illegal drugs, including narcotics, on multiple occasions, according to an F.B.I. affidavit released Monday.

Judge Camp, who has served on the Northern District of Georgia bench since his appointment by President Ronald Reagan in 1988, was released on $50,000 bond. His lawyer, Bill Morrison, told The Atlanta Journal-Constitution that his client would plead not guilty and that the matter was private and did not affect his role as a judge.