SAN JOSE, Calif. -- A 24-year-old San Jose man who fatally shot the parents of his former girlfriend has been killed by police, authorities said.

Shortly after 9 p.m. Wednesday, a 20-year-old man notified authorities that his father had just been shot in the doorway of their home, CBS San Francisco reported.

"When officers arrived at the home they saw an adult man deceased in the front doorway suffering from at least one gunshot wound," San Jose Police Chief Eddie Garcia said. "Officers learned from the adult son that his mother and 13-year-old brother, along with the suspect, were still inside the house. In addition, [he] thought his mom had been shot."

Get Breaking News Delivered to Your Inbox

A standoff quickly developed with the suspect -- who was later identified as Mirza Tatlic -- and a SWAT team, which was called to assist at the scene. Neighbors were ordered to shelter in place.

Upon their arrival, negotiators began talking with Tatlic, but he refused to surrender. At one point, he used the young teen as a human shield, but eventually let him leave the house, police said.

"The suspect appeared at [a window] at one point and pointed a handgun at officers," Garcia explained. "In fear for the lives of fellow officers and victims that still may have been in the house, at least one round was fired by an officer, striking the suspect."

Authorities entered the home and found the bodies of a man and woman who were shot to death. The coroner's office identified the man as Naren Prabhu, Juniper Networks' VP of Engineering. His wife's identity has not been released. Tatlic was pronounced dead at the scene.

Naren Prabhu and his wife were fatally shot by Tatlic, police said. CBS San Francisco

No other injuries were reported.

The officer who fired at Tatlic was placed on administrative leave.

A preliminary investigation revealed Tatlic was the ex-boyfriend of the couple's daughter -- Rachel Prabhu -- who was not home at the time. Authorities said the family had a restraining order against him, but in the end, it did little to protect them.

"The relationship ended last year," Garcia said. "The suspect had a history of domestic violence and there was an active criminal restraining order."

Rachel's troubled relationship had played out for months on social media, with increasingly ominous Instagram posts. On April 25, Tatlic wrote that there would be "no mercy on the ones that love you most." He also posted a picture of his ex-girlfriend with the caption, "The devil smiles but the eyes sells the devil." A final post showed a pack of cigarettes and the words, "Hope I get more than just one...the real Mirzat...sucks this cost me my lyf."

"We were dealing with someone who was mentally ill," Garcia added. "He had choices. He didn't give this family a choice. He didn't give my officer a choice."

Police searched the gunman's home a day after the deadly shooting occurred. CBS San Francisco

Police searched Tatlic's home in Campbell early Thursday morning. Neighbors said officers were often called to the house for family fights.

Tatlic, who was struggling to find work, was often seen walking around without a shirt on and was described as a troubled individual. A neighbor told CBS San Francisco he seemed unusually sad or down on himself in the days leading up to the shooting. A co-worker described Tatlic as "nice" and "soft-spoken."

Meanwhile, Juniper Networks said it is focusing on helping its employees in dealing with the heartbreaking news. The company released a brief statement, saying they were deeply "saddened by the recent loss of a long-time employee" and are "focused on supporting our employees and their families through this difficult time."

The company says it will also be assisting authorities if needed.

The deadly officer-involved shooting marks the second domestic violence-related incident to occur within the past 24 hours.