An 86-year-old Maine man has been convicted of stealing his brother’s identity in an act of fraud that spanned the better part of 60 years.

Napoleon Gonzalez, of Etna, Maine, was convicted of mail fraud, Social Security fraud, passport fraud and identity theft by a U.S. District Court jury in Bangor, Maine on August 18, according to court records.

Gonzalez was accused of stealing the identity of his brother, who had died as an infant more than 20 years before, in 1965, which he then used to secure a new Social Security number, multiple passports and ID cards. He then used this assumed identity, along with his own, to receive double Social Security benefits, according to the U.S. District Attorney’s Office for the District of Maine.

After over 50 years, however, Gonzalez was finally caught thanks to facial recognition technology.

Body left in car for a month:‘Inhumane’: Louisiana man killed woman, drove with her body for 30 days, police say

Facial recognition tech catches fraud

Emily Cook, spokesperson for the Maine secretary of state’s office, told USA TODAY that the Bureau of Motor Vehicles (BMV) uses facial recognition technology when issuing driver’s licenses and identification cards as a means of detecting and preventing fraud.

The software uses facial characteristics to compare images in the system and ensure people applying for credentials are who they say they are, Cook said in an email statement.

The process, which is performed daily, usually does not return any potential issues, she said. If an image is flagged, it is further investigated and is often cleared upon further examination. In some cases, however, the system detects the presence of fraud or identity theft, in which case detectives contact and assist the victim in re-securing their information.