BOSTON (AP) — A former United States Army contractor has been sentenced for lying on his security clearance form and damaging Army computers.

The U.S. Attorney's office says 62-year-old Wei Chen, of Westfield, was sentenced to six months of home confinement and five years of probation. He must pay an $8,000 fine.

Chen served in the Chinese People's Liberation Army before immigrating to the U.S. and becoming a citizen in 2006. Chen applied for a job as a computer system administrator for a Department of Defense contractor in 2010. Chen falsely claimed on a security clearance questionnaire that he had never served in a foreign country's military.

Chen in 2013 violated security protocol by connecting his own thumb drives to computers connected to the Army's networks and then attempting to cover his tracks.