Philadelphia (CNN) -- The inspector of a downtown building that collapsed last week has killed himself, city officials said Thursday. 

Ronald Wagenhoffer, 52, who worked with the Department of Licenses and Inspections, was found shortly after 9 p.m. Wednesday, Everett Gillison, deputy mayor for public safety for the city of Philadelphia, told reporters. 

Although the probe into the collapse, which killed six people, is now a criminal investigation, Wagenhoffer was not a target, Gillison said. 

"This man did nothing wrong," he said. "The department did what it was supposed to do under the code at the time." 

Wagenhoffer was found inside a pickup truck in a wooded area along Shawmont Avenue in the Roxborough section of Philadelphia. 

According to sources with knowledge of the investigation, Wagenhoffer's wife, Michelle, alerted police after he sent her a text message. 

He also is survived by a son. 

Wagenhoffer, who spent 16 years with the Department of Licenses and Inspections, last inspected the site of fatal building collapse on May 14 after the department received citizen complaints. He inspected the site alone, Gillison said. 

Carlton Williams, commissioner for licenses and inspections, described Wagenhoffer as "dedicated" and a man who "loved his job." 

"He worked extremely hard before the tragedy and after the tragedy," Williams said. "We were all shocked. He was an outstanding employee." 

City officials say there were no obvious signs Wagenhoffer was distraught, adding that he worked Wednesday, leaving shortly after 3 p.m. 

Authorities charged crane operator Sean Benschop, 42, with involuntary manslaughter and other related charges after a four-story wall of the vacant building collapsed onto an adjacent Salvation Army thrift store on June 5, killing six people and injuring 13. 
Who committed suicide?
What was his profession?
What happened to the structure he was in charge to inspect?
Was anyone in it?
When was his death announced to the public?
Was he married?
Any children?
How many?
How long was did he inspect structures?
Was he known for being a bad worker?
Did his coworkers believe there was anything wrong with him when he left work that day?
What time did he leave the office?
Who else has been involved in a structure crumbling to the ground?
What was his profession?
How old was he?
How many were injured?
Any deaths?
What date did this happen?
Did the one whom committed suicide enjoy his profession?
Did he alert his spouse in any way before committing suicide?
Ronald Wagenhoffer
Ronald Wagenhoffer, 52, who worked with the Department of Licenses and Inspections, was found shortly after 9 p.m. Wednesday
inspector
The inspector of a downtown building that collapsed last week has killed himself
it collapsed
downtown building that collapsed
no
the vacant building
Thursday
city officials said Thursday
yes
Wagenhoffer's wife, Michelle, alerted police after he sent her a text message. 
yes
He also is survived by a son
one
a son
unknown
unknown
no
He worked extremely hard before the tragedy and after the tragedy," Williams said
no
City officials say there were no obvious signs Wagenhoffer was distraught, adding that he worked Wednesday, leaving shortly after 3 p.m.
shortly after 3 p.m.
shortly after 3 p.m.
Sean Benschop
Authorities charged crane operator Sean Benschop, 42, with involuntary manslaughter and other related charges after a four-story wall of the vacant building collapsed 
crane operator
 crane operator Sean Benschop
42
 Sean Benschop, 42
13
 injuring 13
six
killing six people
June 5
June 5
yes
Carlton Williams, commissioner for licenses and inspections, described Wagenhoffer as "dedicated" and a man who "loved his job." 
no
there were no obvious signs Wagenhoffer was distraught