Federal immigration officials have arrested a visiting Harvard Law School professor from Brazil, who recently resolved allegations that he illegally fired a pellet gun outside a Brookline synagogue.

Carlos Portugal Gouvêa, 47, had his visa revoked Oct. 16 following his initial arrest, the Department of Homeland Security said in a news release . On Wednesday, nearly two months later, agents from the Boston U.S. Immigration and Customs Enforcement office arrested Gouvêa again, and he agreed to leave the country voluntarily rather than be deported, according to DHS.

Per his Oct. 1 arrest report, Gouvêa told Brookline police he was using the pellet rifle to hunt rats near Temple Beth Zion, where worshippers were marking the start of Yom Kippur.

He was charged with illegally discharging

See Full Page