A man was robbed while he walked up the stairs of his apartment building in San Francisco's Telegraph Hill neighborhood Thursday night, but when the victim started to cry, the suspect decided to give him his wallet back, police said.

The thief wasn't totally good-hearted though-he kept the cash that was inside the wallet.., as well as the man's cellphone.

The 29-year-old victim was walking up the stairs of the building when a suspect approached from behind and demanded his belongings, police said. The victim complied, handing over his cellphone and wallet. He then broke into tears, leading the suspect to give him his wallet back while keeping the cash, according to police.

The suspect, a man in his mid to late 30s, then fled.