The FBI has arrested a security contractor for the National Security Agency (NSA) after it was discovered he had stolen classified computer codes. According to The New York Times, the contractor, Harold T. Martin III, 51, worked for Booz Allen Hamilton, the same consulting firm that previously employed Edward Snowden.

Martin is accused of stealing source code developed by the NSA to break into computer systems of foreign countries, according to the report. A criminal complaint filed by the FBI in August reveals Martin had top secret national security clearance while working for the NSA, giving him access to classified material and documents.

It's unclear if Martin disclosed any information he stole to outside sources but it draws many parallels to secrets Snowden leaked to Der Spiegel in 2013. When Snowden was a contractor for the NSA, he stole a trove of documents exposing major surveillance programs in the U.S. and abroad.

At Martin's home in Glen Burnie, Maryland, investigators reportedly discovered materials that "bore markings indicating that they were property of the United States and contained highly classified information," according to the FBI's complaint. Because of their highly sensitive nature, the FBI alleges if the documents were disclosed, they could cause "grave damage to the national security of the United States."

Martin is facing up to 11 years in prison if found guilty.