An Irvine man was taken into federal custody Tuesday on charges alleging he set fire to a Santa Monica Police Department car during civil unrest amid widespread protests in late May.

Nathan Wilson, 27, is charged in a federal criminal complaint with malicious damage to property owned by an institution or organization receiving federal financial assistance. The charge carries a sentence of between five and 20 years in prison, according to the U.S. Attorney’s Office.

Wilson was allegedly linked to the May 31 fire that destroyed the unmarked Santa Monica police car when a witness told law enforcement they had driven him to Santa Monica on that day and they believed he had set fire to a police car.

Publicly available social media posts show that the person who set fire to the patrol car parked at the loading dock of the Santa Monica Civic Center was wearing certain clothing and accessories, had an American flag bandana over his face, and had a distinctive tattoo of a rifle on his left arm, according to an affidavit filed with the complaint.

The witness directed authorities to one of Wilson’s social media accounts — an Instagram account under the handle “yup_i_eat_crayons” — where Wilson had posted a “selfie” taken in Santa Monica on May 31. In the photo, Wilson appeared exactly like the person seen in other social media posts who stoked the fire that destroyed the police car, the affidavit alleges.

In early June, the FBI and Santa Monica police issued a wanted poster for the person in the photo. After receiving tips and conducting investigations, law enforcement was not able to identify the perpetrator who caused the fire that destroyed the police car, but that changed when Wilson became a suspect in a Sept. 28 vehicle arson that occurred in Irvine, according to the affidavit.

Following a domestic dispute that culminated with a fire in a vehicle owned by Wilson’s live-in partner, authorities obtained information that allegedly linked Wilson to the May 31 fire in Santa Monica.