VICTORIA, Texas - A person of interest has possibly been identified in connection with a mosque fire in Victoria.

According to the U.S. Attorney's Office, a man is in custody due to a separate charge of possession of a destructive device, which is reportedly unrelated to the fire.

At the man's detention hearing on Thursday, evidence was presented that the he was allegedly involved in the fire as well. The U.S. Attorney's Office alleges that the man burglarized the mosque on January 22 and then again on January 28, at which time he also set it on fire.

After hearing court arguments from both sides, the judge ultimately found the man to be a serious threat to the community and a flight risk and ordered him into custody pending further criminal proceedings.

The mosque, located at 201 E. Airline Road, went up in flames on Jan. 28 around 2 a.m. There was an estimated $500,000 worth of damage.

A GoFundMe page was set up to help rebuild. In one day, it has raised more than $817,000.