SUPERIOR COURT -- It was a case of mistaken identity when three men, after a night of partying, barged into the wrong Hopatcong apartment with the intent to collect a debt and tied up the homeowner, threatening his life and beating him with a shotgun before fleeing with multiple items.

On Monday, the last of those three men, a 20-year-old who admitted to breaking down the door and wielding a knife and a crowbar during the incident, took a plea offer that could send him to state prison for eight years.

The state, represented by Assistant Prosecutor Sahil Kabse, will recommend Duran is sentenced in the second-degree range for robbery.

Duran will be subject to the No Early Release Act, which would require him to spend 85 percent of his sentence behind bars before he becomes eligible for parole and will be on parole supervision for five years after his release.

Duran was charged with 11 counts in the indictment, including possession of weapons for unlawful purposes, terroristic threats and aggravated assault. Kabse said the state would seek to dismiss the remaining nine counts.

In court Monday in front of Judge William J. McGovern III, Duran stated that Robert Arteaga, his brother-in-law and codefendant, had been residing in New Jersey and on July 4, 2017, asked Duran to fly out to "party" and "vacation" with him.

Duran said Arteaga picked him up from the airport and took him to a trailer in Bloomingburg, N.Y., to stay with a man by the name of Charles Butler.

Butler, 52, is a codefendant in the case.

After a night of partying, Duran said during the early morning hours of July 5, Arteaga had a group of them go to an apartment in Hopatcong to take care of a debt for Butler.

According to Duran, the individual who resided in the Hopatcong apartment owned Butler money.

Duran, who had never been to New Jersey prior, said he went with a knife and crowbar and busted the door down with his feet.

Once inside, the trio -- codefendant, Carlos Garcia, 20, was also present -- woke a sleeping man, tied him up and threatened him before jabbing him in the ribs and hitting him in the back of the head with the crowbar.

According to Kabse, the trio had entered the wrong apartment, intending on breaking into the one next door. The victim had never met the men.

Duran said he ransacked the house, looking for items that might be worth money. He said he stole bed sheets that looked "vintage" to him and coins that he thought were gold but ended up being copper, he said.

In July 2017, police reported that the men, armed with guns and knives, broke into the home on West River Styx Road, zip-tying and beating the man with a shotgun.

Arteaga admitted in a prior hearing that he hit the homeowner with his firearm and stole a safe from the home before the men fled the scene.

Police were called and they tracked the car to Butler's trailer in Bloomingburg, N.Y.

A police standoff lasted nearly two hours before all four men surrendered.

On Jan. 29, Garcia, of San Bernardino, Calif., accepted a plea that could potentially send him to prison for eight years and on Jan. 22, Arteaga, 32, of Baldwin Park, Calif., accepted a plea that could send him to prison for 12 years.

Butler is charged with conspiracy for planning the robbery. His case in pending in court.

Duran's sentencing is scheduled for March 23, the same day Garcia is expected to be sentenced.

Arteaga's sentencing is scheduled for March 9.

Lori Comstock can also be reached on Twitter: @LoriComstockNJH, on Facebook: www.Facebook.com/LoriComstockNJH or by phone: 973-383-1194.