A man accused of killing his wife and son then shooting an attorney at a law office in Kendall was shot by officers during a standoff in southwest Miami-Dade Wednesday afternoon.

Miami-Dade Police officials said the gunman, Fadel Jabado, went to the office at 11420 N. Kendall Drive where he shot attorney Larry Harshman around 10:30 a.m.

The office shooting led officers to Jabado's home on Southwest 192nd Street in southwest Miami-Dade, where officers found his wife, Bassima, and son, Admed, dead, police said.

It's unknown which incident happened first, police said at a news conference Wednesday afternoon.

Police said a SWAT team responded to an area about two miles west of the house on Southwest 192nd Street, a field off Southwest 200th Street and Southwest 157th Avenue, where they negotiated with Jabado.

Jabado had a firearm and shot at officers, and told negotiators he wanted police to kill him, officials said.

When Jabado made a move toward officers with the gun, the officers opened fire, hitting him in the midsection, officials said.

"The individual did tell our negotiators that he intended to die today and that he wanted police officers to kill him. He did not want to do it to himself because of his religion," said Miami-Dade Police Director Juan Perez.

Footage showed him being placed into the back of an ambulance at the scene. He was airlifted to Jackson Memorial Hospital where he is listed in critical condition.

According to police sources: Shooting at Kendall law office is tied to discovery of two bodies at a home on SW 192 Street #Miami @nbc6 pic.twitter.com/RaG69EE4zq — Marissa Bagg (@MarissaNBC6) November 2, 2016

Court records showed Larry Harshman, the attorney whose office was the scene of the shooting, represented Jabado in an October 2012 foreclosure case.

Employees at the building said Harshman was the man who was shot. Police said the victim was shot in the stomach and taken to Kendall Regional Trauma Center, where he was in critical condition. The motive is unclear at this time, but detectives believe the violence began over a domestic incident.

"We had a girl come downstairs and the secretary was coming up screaming to please call 911, that Mr. Harshman had been shot," Gonzalo Cordoba said.

Employees at scene say Larry Harshman is the lawyer shot by client at his office Wednesday. The shooter fled in silver Chevy truck @nbc6 pic.twitter.com/XHrR1Xf3pY — Marissa Bagg (@MarissaNBC6) November 2, 2016

Jabado had also threatened to kill his other children, a police source said. As a result, the childrens' schools - Herbert A. Ammons Middle School, Terra Environmental Research Institute and Jack David Gordon Elementary School - were placed on lockdown Wednesday morning, the source said. The lockdowns were later lifted.

Police said the roads in the area of 147th Avenue to 167th Avenue and between 184th Street and 200th Street were closed for the investigation. Drivers were asked to stay away from the area and residents were told to remain indoors, police said.