Deputies arrested a man who slashed a security guard who tried to detain him for shoplifting at a Walmart Sunday, authorities said.

Jose Lemas, 20, of Rosemead was booked on suspicion of robbery in connection with the incident, Los Angeles County sheriff's Lt. Frank Mendoza said.

A security guard at Walmart, at Washington and Paramount boulevards, tried to detain the man for shoplifting about 9:45 a.m., but the man produced a sharp object at slashed at the security guard, Sgt. Debbie Gallego said. The man suffered a cut to his arm but declined to be taken to a hospital by ambulance and planned to seek medical treatment on his own.

Deputies searched the area and found the suspect walking nearby, Gallego said, adding that he surrendered without a struggle.

The weapon and stolen items had not been found Sunday morning, she said.

The Walmart guard was not the only area store loss prevention officer to deal with a violent shoplifter in recent weeks.

A security guard at the Santa Fe Springs Rite Aid, at Washington and Norwalk boulevards, was pepper sprayed and punched several times Sept. 13 when he tried to detain a man who was leaving the store with a basket full of merchandise he had not paid for, according to Whittier police.

The robber escaped with the basket of stolen goods, officials said. The security guard was not seriously injured.