HAYWARD -- A suspected shoplifter shot a loss prevention officer and pistol-whipped another officer after getting caught trying to steal tools from a local Home Depot on Sunday afternoon, police said.

Both security guards suffered non life-threatening injuries, police said.

Police officers were called at 12:27 p.m. to the business in the 21700 block of Hesperian Boulevard following the shooting at the store, according to a news release by Sgt. Ray Sisson.

A preliminary investigation revealed a man was seen by store security personnel attempting to steal a cart full of tools, police said.

When two loss prevention officers attempted to stop the suspect, he began to struggle with them and pulled out a dark revolver and shot one of the guards in the right shoulder, police said.

The suspect then struck the second officer on the left side of the head with the revolver, police said.

The suspect was last seen running eastbound in the parking lot, across Hesperian Boulevard and then north toward TOGOs.

Police described the suspect as a white or light-skinned man, 30-40 years old and 6 feet tall. He had short grayish hair with a short ponytail. He wore Levi-type shorts that extended to mid-calf, an orange T-shirt, a gray sweatshirt and white socks pulled up to his knees. He also wore a dark-colored baseball type hat.

During a check of the area, police found the discarded clothing items behind World's Fare Donuts.

As of 5 p.m., the suspect was still at large and police were reviewing surveillance video of the incident.

Anyone with information about the theft and shooting is asked to call police at 510-293-7000.

Contact Natalie Neysa Alund at 510-293-2469. Follow her at Twitter.com/nataliealund.