A first league win since Dec. 15 lifted Villa above Wigan and Reading in the standings.
Birmingham: Aston Villa climbed out of the relegation zone by beating West Ham 2-1 on Sunday, ending an eight-match winless run in the Premier League.
Christian Benteke's penalty was added to five minutes later by Charles N'Zogbia's superb free kick as Villa went into a 2-0 lead after 78 minutes.
The hosts had to hang on for victory, however, after conceding an own goal in the 87th when Ashley Westwood glanced Joe Cole's cross into his own net.
A first league win since Dec. 15 lifted Villa above Wigan and Reading in the standings, leaving Paul Lambert's side a point and a place clear of the bottom three.
West Ham have now lost their last five Premier League games.