OAKLAND, Calif. (AP) Lenny DiNardo pitched seven shutout innings and the Oakland As ended their longest losing streak in nine years with a 6-0 victory over the Texas Rangers on Wednesday.

DiNardo, making his second start since taking Rich Hardens spot in the rotation, allowed three hits, struck out three and walked none. The left-hander gave up a pair of doubles and a bunt single but was otherwise untouchable in the longest outing of his major league career.

Bobby Crosby homered and drove in two runs for Oakland, which had lost its previous nine games. The losing streak was the As longest since 1998 and had dropped them 12 games out of first place in the AL West.

Oakland won despite getting just six hits off Texas starter Kevin Millwood and reliever Willie Eyre. Three of the hits came off Millwood during a four-run second inning, the As most productive inning since scoring seven runs in the second inning against the New York Yankees on July 1.

Millwood, coming off his best outing of the season when he allowed one run over seven innings against Anaheim on July 13, never recovered. The right-hander (6-8) didn't allow another hit but received no support from the Rangers offense and lost for just the second time in his last seven starts. He left after six innings and finished with four strikeouts and three walks.

The loss prevented Texas from matching its longest winning streak of the season. The Rangers, who had won three straight, also failed in their bid to sweep a series for just the second time this year.

DiNardo (4-6) retired the first eight batters he faced before Travis Metcalf lined a hit just inside the third-base line with two outs in the third. Metcalf was awarded second base when a security guard who thought the ball was foul grabbed the grounder and gave it to a fan in the stands. DiNardo then got Jerry Hairston to ground out to third to end the inning.