Authorities arrested a computer programmer today and charged him with stealing source code worth $9.5 million from the Federal Reserve Bank of New York.

Bo Zhang, 32, is accused of taking the software last summer while he was working as a contract employee assigned to the Federal Reserve Bank of New York.

Zhang allegedly admitted that in July 2011 he checked out and copied the code onto an external hard drive and on to his own computers, according to the complaint unsealed today. He said he used the code in connection with a computer programming training company he operated, the complaint said.

The proprietary source code is associated with the Government-Wide Accounting and Reporting Program software that is used by the U.S. Department of the Treasury to keep track of the government's finances. The U.S. has spent about $9.5 million to develop the code.

Zhang, who could not be reached for comment, faces up to 10 years in prison if convicted.