A California man accused of fatally stabbing another man at a motel Saturday was pictured smiling in his mugshot.

Robert Martinez, 47, was booked into Santa Clara County Jail on suspicion of murder following the incident at Palm Tree Motel in San Jose on Saturday, KTVU reported. Police officers responded to an incident just before 6:40 p.m. and found a man suffering from a stab wound.

COPS WOULDN'T ARREST MAN WANTED FOR MURDER WHEN HE TRIED TO TURN HIMSELF IN, ATTORNEY SAYS

The victim was taken to the hospital where he was pronounced dead a short time later.

Police found Martinez near the crime scene and arrested him.

Martinez and the man lived at the motel and stayed in separate rooms. The man went to visit Martinez, who then allegedly stabbed him and fled the scene, KTVU reported. The alleged motive for the stabbing is unclear.