Published: Sep 19, 2013 11:38 PM EDT

BOSTON (AP) - Boston clinched its first postseason berth since 2009, beating Baltimore 3-1 on Thursday night behind John Lackey's two-hitter.
    
Coming off a last-place finish and a 69-93 record - their most losses since 1965, the Red Sox have rebounded under first-year manager John Farrell and ensured at least a wild-card berth in the postseason. They lowered their magic number to two for clinching the AL East.
    
Boston scored all its runs in the second on Stephen Drew's two-run homer and Dustin Pedroia's RBI single.
    
Lackey (10-12) held the Orioles hitless until Adam Jones homered with out one in the seventh, his 32nd this season. The right-hander allowed a one-out single to J.J. Hardy in the eighth, striking out eight and walked two in his 16th career complete game.
    
Chris Tillman (16-7) gave up three runs and seven hits in seven innings with eight strikeouts and two walks.