SAN LEANDRO -- Two 7-Eleven employees disarmed men trying to rob their store Friday night before calling for help, according to police.

Around 11:55 p.m., a man wearing a ski mask and armed with a handgun walked into the 7-Eleven store at 333 E. 14th St. and attempted to rob the cashiers, police said.

However, he was foiled when the two employees charged him and attempted to detain him until police arrived. There was a brief struggle, in which the suspect managed to escape, leaving the handgun behind, police added.

The suspect was last seen running on Bellview Drive toward San Leandro Boulevard.

When officers arrived at the store, they searched for the suspect, but were unable to locate him.

"We are extremely lucky no one was injured," said Lt. Robert McManus in a news release. "Although we do not advocate that anyone approach someone with a weapon such as a knife or firearm, the quick actions of both employees disarmed the suspect and took a gun off the street that could have been used in another robbery or a shooting. Their actions were very brave."

Police detectives are using the store's surveillance video to try to identify the suspect and determine whether he is responsible for similar crimes in the East Bay.

Anyone with information on this incident can contact the San Leandro Police Department's Criminal Investigations Division at 510-577-3230 or the Anonymous Tip Line at 510-577-3278.

Follow Katie Nelson at Twitter.com/katienelson210.