PALM BAY, Fla. (AP) — Officials in Palm Bay say a man shot and wounded a 17-year-old boy and a woman inside a home before killing himself.

Palm Bay Police Chief Nelson Moya told Florida Today that the teenager and woman were taken to nearby hospitals and were in stable condition.

Moya said the boy first called police to report the shooting, but then the suspected shooter also called 911 to say he was planning to take his own life.

Police said the suspect barricaded himself inside the home, prompting a response by a SWAT team. A nearby elementary school was briefly placed on lockdown as students arrived for class.

Police said they believed the incident was linked to domestic violence.

Copyright 2019 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.