Noak served in the NYPD for 27 years, from 1982-2009

It's not yet clear what the argument was about

Their father, however, died after turning the gun on himself

Aaron Noak, 22, and Irvin Noak III, 30, were left in critical condition

Irvin Noak, 61, shot his sons after a family argument on Sunday

A retired NYPD officer shot his two adult sons then killed himself after an argument at a party in their Long Island home, police have said.

Irvin Noak, a 61-year-old former detective, was arguing with relatives at his home on Sunday when his sons Irvin Noak III, 30, and Aaron, 22, intervened.

Noak then walked to his bedroom, retrieved a gun and shot the two men before turning it on himself, New York Daily News reported.

Shooter: Former NYPD detective Irvin Noak (pictured) shot his two sons and then himself at a party in their Long Island Home Sunday night. The incident occurred after an argument

Alive: Noak died, but sons Irvin Noak III (left) and Aaron Noak (right) are both in critical condition in hospital. They intervened in a family argument. No one else was injured

Emergency services rushed to the Bellport home on 1906 Fox Glove Circle after the 11:10pm shooting.

They took all three men to Brookhaven Memorial Hospital in East Patchogue.

Noak was pronounced dead there, while his sons remain in critical condition. No one else was injured in the shooting.

It is not immediately clear what the argument was about.

Both Irvin Noak III and Aaron Noak lived at the Bellport property with their father.

Noak himself worked for the NYPD for 27 years, from 1982-2009, when he retired.

If you need to speak to a counselor, contact the National Suicide Prevention Lifeline by calling 1 (800) 273-8255.