RAHWAY — Two separate parties behind neighboring homes over the weekend apparently were too close for comfort, with festivities ending in a backyard brawl that sent six people to area hospitals for stab wounds, police said.

The fight erupted just before 2 a.m. Sunday on the 600 block of West Scott Avenue, Rahway Detective Sgt. Robert Conroy said.

The parties – one of which was for Saturday’s Manny Pacquiao boxing match — had been ongoing in a shared backyard since Saturday night, Conroy said, and police received no calls for police or noise complaints in the area that night.

The two groups, numbering about 15 people combined, began to interact at some point, and that’s when the trouble started, Conroy said.

“It seems like one person started the fighting, and others just jumped in,” he said. “Things took off from there.”

The investigation is ongoing, and it wasn’t immediately clear who was responsible for the stabbings. Police, however, arrested Alex Perez-Avila, 19, of Rahway, for obstructing the investigation, Conroy said.

Authorities did not identify the victims, but Conroy said they were ages 21, 18, 23, 24, 20 and 46.

Three victims were taken to University Hospital in Newark, two were sent to Robert Wood Johnson University Hospital in New Brunswick and one was taken to Robert Wood Johnson University Hospital in Rahway, according to Rahway police.

Conroy said none of the injuries appeared to be life-threatening, though two victims suffered from collapsed lungs and one had a liver injury. Conditions of the victims were not immediately available.

Anyone with information is asked to call Rahway police Detective Richard Long at (732) 827-2117.