(CNN) A 99-year-old man and nine others were charged in New Jersey with violating the state's ban on gatherings aimed at stemming the spread of coronavirus, officials said.

The group was celebrating an engagement in Lakewood, New Jersey, on Tuesday, Ocean County Prosecutor Bradley D. Billhimer and police Chief Gregory Meyer said in a news release

The couple hosting the party was also charged with six counts of child endangerment, one count for each of their six minor children who were at the celebration, the prosecutor's office said.

New Jersey Gov. Phil Murphy announced a statewide "stay at home" order March 21 that prohibits all gatherings, such as celebrations.

"Can't believe I have to say this at all, let alone for the second time," the governor wrote on Twitter last weekend. "But here we are. NO CORONA PARTIES. They're illegal, dangerous, and stupid. We will crash your party. You will pay a big fine. And we will name & shame you until EVERYONE gets this message into their heads."