Morecambe suffered their first defeat in nine games as they went down 2-1 to Lancashire rivals Accrington.
The visitors secured their fourth successive league win with a convincing performance against Sammy McIlroy's in-form side.
Stanley's hero was defender Phil Edwards who opened the scoring after 55 minutes with a close-range header from Bobby Grant's left-wing cross.
And then doubled the advantage five minutes later after a controversial penalty when Andy Parrish was adjudged to have fouled Grant.
The Shrimps hit back with Garry Hunter's volley beating Dean Bouzanis after 69 minutes.
Hunter then went inches wide with a similar effort and home defender Will Haining hit the post with a looping header.
Wayne Curtis missed a golden chance to level the scores when he missed an open goal from an acute angle with eight minutes to go.
Copyright (c) PA Sport 2009, All Rights Reserved.