A man accused of assaulting his girlfriend was taken into custody after a 12-hour-long standoff in south Tucson.