NEWTON -- A federal agent from Hamburg who allegedly used a gun to intimidate his neighbors during a dispute -- and then used his position to get favorable treatment -- was offered a plea deal that would include jail time, the New Jersey Herald reported.

Robert A. Loller, Jr., 39, a U.S. Customs and Border Protection officer, was indicted in May on charges of official misconduct, possession of a handgun, possession of a handgun with the purpose to use it unlawfully against another, burglary, terroristic threats and possession of large capacity magazines.

According to New Jersey Herald, the plea deal calls for him to plead guilty to third-degree terroristic threats and either fourth-degree resisting arrest or fourth-degree obstructing. In exchange he would reportedly serve up to 180 days in the Keogh Dwyer Correctional Facility, forfeit his firearms carrying permit, lose his license for 10 years and would not be able to be employed by a New Jersey state agency of office.

His fiancee, Erica N. Williams, 23, was also offered a plea deal when the two appeared in Superior Court in Newton this week. She was also indicted in May on charges of aggravated assault on a police officer, resisting arrest and obstruction.

Her plea offer, which is dependent upon Loller's, is for 18 months of pre-trial intervention, including 75 hours of community service and other conditions.

Sussex County First Assistant Prosecutor Greg Mueller previously told NJ Advance Media a confrontation began in June 2016 in the parking lot of Carlton Village, the Hardyston apartment complex where Loller, Williams and the alleged victims lived, prompting 911 calls to police.

The argument then flared up in the residence belonging to the alleged victims', a man and woman. During the course of the confrontation, Loller allegedly pulled out his H&K 40-caliber service weapon.

When Hardyston Police Sgt. Edward O'Rourke arrived on the scene, Williams allegedly scratched his face.

Loller and Williams, who were engaged at the time of the incident, are due back in court on Sept. 25. Their current relationship status isn't known.

Allison Pries may be reached at apries@njadvancemedia.com. Follow her on Twitter @AllisonPries. Find NJ.com on Facebook.