Airbnb is taking legal action against guests who hosted an unauthorized party in which three people were shot

Home-sharing company Airbnb said Wednesday that it will take legal action against a guest who held an unauthorized party at a home in Sacramento Country, California, last weekend, where three people were shot and injured.

The company announced that it would take legal action against the guest on Wednesday, The Associated Press reported.

The San Francisco-based company would not release the guest’s name, but said it had removed the guest from its platform, according to the newswire.

Airbnb said the company will donate any money recovered through this procedure to a local nonprofit Sacramento that is fighting gun violence.

The company said it informed the guest Monday of its intent to take legal action, allegation of negligence and violation of local health orders, as well as violation of Airbnb Community Standards and reserving the rental under false pretenses.

A spokeswoman for the Sacramento County Department, told AP that the shooting remains under investigation.

The lawsuit is the first time the company has taken legal action against a guest for violating its ban on unauthorized parties.

The company banned “party houses” late last year after five people were shot and killed at an unauthorized party in Orinda, California, co-founder and CEO Brian Chesky said then the company would manually expand high-risk reservation reservations, create a dedicated party house team and take immediate “immediate action” against users who violate the enhanced policy.

Last month, the company shared an initiative that restricts guests under 25 from reserving entire homes near where they live.

Updated: 11:08 p.m.