SAN LEANDRO -- An Alameda County sheriff's deputy shot and wounded a robbery suspect and deputies arrested a second suspect early Saturday after a high-speed chase ended in Hayward, authorities said.

Just before 1:30 a.m., two men walked into a 7-Eleven store at the corner of East 14th Street and Fairmont Drive and proceeded to assault the store clerk and steal cigarettes and cash, said Sgt. JD Nelson of the Alameda County Sheriff's Office.

During the assault, the clerk was able to push the "hold up" button and two deputies nearby rushed to the store as the suspects, who have not been identified, ran from the store.

Nelson said one of the suspects had his hand in a front pocket and when told by one of the officers to remove his hand, refused to do so. The suspect then turned and, fearing for his safety, one of the officers, a sergeant, fired and wounded him.

During the shooting the second suspect got into a Chevrolet Impala and took off, leading officers on a chase that ended in what Nelson said was a "serious crash" at the Industrial Boulevard off-ramp along Highway 92 in Hayward.

"The guy ended up on the floor on the passenger's side," Nelson said. "That tells you a little bit about how hard he crashed and how bad it was."

Both men are being treated at Eden Medical Center in Castro Valley, but the extent of their injuries was not known.

The clerk who was assaulted during the robbery was taken to an area hospital, treated and released. However, Nelson said, the clerk remains "shaken."

The sergeant who fired his gun has been placed on paid administrative leave -- a standard procedure -- pending investigations by the sheriff's office and Alameda County prosecutors.

Follow Katie Nelson at Twitter.com/katienelson210.