Markakis then hit a sharp grounder to the right of second base that glanced off the glove of a diving Howie Kendrick, scoring Andino with the go ahead tally.
Markakis finished with three RBI and Pedro Strop (2-1) got the victory despite allowing Los Angeles to tie the game in the eighth on Kendrick's solo homer.
Jim Johnson earned his seventh save with a scoreless bottom of the 10th and the Orioles salvaged one victory in their three-game set against the Angels.
Alberto Callaspo went 2-for-3 with an RBI for Los Angeles.
Pistorius testifies he didn't consciously pull trigger when he shot girlfriend
'Happy' fan videos make Pharrell cry [VIDEO]