WASHINGTON — A former C.I.A. officer accused of conspiring with the Chinese government as America’s spy network in China was being dismantled is expected to plead guilty to federal charges on Wednesday, according to court papers.

The former officer, Jerry Chun Shing Lee, was charged with the unlawful retention of secret information and conspiracy to deliver that information to aid a foreign government. In their indictment, prosecutors said Mr. Lee had unauthorized possession of the true names and phone numbers of C.I.A. assets and employees.

The United States District Court for the Eastern District of Virginia announced that a change of plea hearing is scheduled for Wednesday afternoon. Such a hearing signals that a defendant is expected to plead guilty. Lawyers for Mr. Lee would not comment, and it was unclear whether he would plea to lesser charges or what sentence he would face.

While the charges against Mr. Lee focused on his retention of classified information, he was prosecuted against the background of both the rising level of Chinese espionage and the collapse of the C.I.A.’s network of assets in China from 2010 to 2012, when more than a dozen of the agency’s assets there were arrested or killed. It was a devastating loss, according to former C.I.A. officials.