PLEASANTON -- A Livermore man wanted in connection with a stabbing at a Pleasanton bar turned himself in to police last week, authorities announced Wednesday.

Pleasanton police arrested Santiago Valencia, 29, on suspicion of stabbing an unidentified man after the two got into an argument over a woman behind the Redcoats Pub in Pleasanton on Jan. 5. Police said the stabbing was not gang-related, and Valencia came to the Pleasanton Police Department on Friday and surrendered to officers, who arrested him about 8:30 p.m., police said.

He was booked into Santa Rita Jail on one count of assault with a deadly weapon and his bail has been set at $180,000.

The victim, a 27-year-old Pleasanton man, walked into the emergency room at ValleyCare Medical Center in Pleasanton about 8:11 a.m. Jan. 5, saying he had been stabbed in the back in a fight the night before. He was treated and released.

The man told police he was stabbed after went to pick up his girlfriend, who told him Valencia was harassing her at a bar.

The victim arrived at the back of the Red Coats Pub at 336 St. Mary's St. and an fight ensued between him and the suspect. The victim told police that Valencia pulled out a knife and stabbed him once in the back before running off.

The victim went home, and it was not until this morning that he realized he needed medical attention, police said.

Contact Katie Nelson at 925-945-4780 or follow her at Twitter.com/katienelson210.