SUB: Jack Grealish (For De Bruyne 83’): N/R - Came on late into the game to try and find a breakthrough for his side. PA
WEST HAM RATINGS: Alphonse Areola: 8 - Was kept busy on the night, making some key saves, including one very important one with his legs to deny Gundogan late on. Getty Images
Aaron Cresswell: 7 - The left-back was both defensively sound and a good attacking outlet. He kept Mahrez quiet on his flank and managed to make headway to put in a few dangerous crosses. AFP
Craig Dawson: 6 - The centre-back had a solid game on the whole, standing firm when he needed to and making a few clearances in the game. PA
Issa Diop: 6 - Put in a good showing, looked dominant in the air and denied the City forwards many chances. Getty Images
Ben Johnson: 7 - The young full-back did well considering the threat of Sterling on his flank in the first half and then Mahrez and Jesus in the second, defending stoically when he was called upon. AP Photo
Mark Noble: 6 - The Hammers captain put in a decent performance in the middle, making a few recoveries for the team as well as looking safe in possession.. EPA
Manuel Lanzini: 5 - Looked safe on the ball, but rarely offered his side a threat when going forward with possession. Getty Images
Tomas Soucek: 6 - The midfielder played well, covering a lot of ground and winning a fair few duels during the match. PA
Arthur Masuaku: 7 - Saw a lot of the ball and began to make things happen for the home side. The only thing he struggled to do was apply a finishing touch in the game. PA
Nikola Vlasic: 5 - The summer signing saw very little of the ball going forward, though he won some key battles during the game. PA
Andriy Yarmolenko: 5 - The Hammers striker struggled to get himself into the game. He saw very little of the ball and lost the majority of his duels. Getty Images
SUB: Jarrod Bowen (For Yarmolenko 62’): 6 - Showed sparks of his capability when he came on with deft touches and passes, but didn’t have the key chance to score late on. AP Photo
SUB: Said Benrahma (For Vlasic 62’): 6 - The winger had very little impact going, seeing very little of the ball. He did step up and smash home the winning penalty for his side. Getty Images
SUB: Pablo Fornals (For Masuaku 62’): 6 - Struggled to get into the game as his side searched for a late winner. Getty Images
SUB: Vladimir Coufal (For Lanzini 82’): N/R - Came on to help his side see out the game late, whilst also adding an aerial threat when they went forward. PA
MAN CITY RATINGS: Zack Steffen: 6 - The City goalkeeper was rarely called upon, but provided a good base with his passing from the back. AFP
Oleksandr Zinchenko: 7 -Worked his way into the game offensively, becoming more adventurous as the game grew. He was also key defensively, making a key block to deny fellow countryman Yarmolenko from close range. Getty Images
John Stones: 6 - Had little to do, but he won all of his duels and looked composed bringing the ball out from the back. Getty Images
Nathan Ake: 6 - Also won the majority of his duels, as well as playing well with the ball at his feet. Getty Images
Kyle Walker: 6 - Had a quiet 45 minutes before he was substituted off at half time. He was safe in possession, but rarely offered a threat going forward. Getty Images
Fernandinho: 8 - The holding midfielder put on a vintage display, showing What he is still capable of. He was key for his side in stopping the West Ham counter-attacks and allowed his side to pile on the pressure. Getty Images
Ilkay Gundogan: 6 - The Germany international kept the side ticking in possession, receiving the ball in areas around the box to try and make things happen. PA
Kevin De Bruyne: 5 - The playmaker didn’t have his usual impact, getting a lot of time on the ball but rarely being able to create anything of great use to his team. Getty Images
Riyad Mahrez: 5 - Struggled to get himself into the game at times, often well ushered by Cresswell. Getty Images
Cole Palmer: 6 - The youngster looked to build upon the goal he scored from the bench in the last round and although he wasn’t able to score, he looked lively throughout. Getty Images
Raheem Sterling: 7 - Looked the main threat for his side, getting the ball on the left and causing issues. The winger didn’t quite get the clear cut opportunity to score, though. Getty Images
SUB: Joao Cancelo (For Walker 46’): 6 - The full-back came on at half-time and added a little more drive going forward for his side. PA
SUB: Phil Foden (For Mahrez 72’): 4 - Added another presence up front, but blasted his penalty wide in the shootout, costing City a place in the quarter-finals. Getty Images
SUB: Gabriel Jesus (For Palmer 76’): 6 - Came on as City searched for a late winner and had a couple of dangerous moments. Getty Images
SUB: Jack Grealish (For De Bruyne 83’): N/R - Came on late into the game to try and find a breakthrough for his side. PA
WEST HAM RATINGS: Alphonse Areola: 8 - Was kept busy on the night, making some key saves, including one very important one with his legs to deny Gundogan late on. Getty Images
Aaron Cresswell: 7 - The left-back was both defensively sound and a good attacking outlet. He kept Mahrez quiet on his flank and managed to make headway to put in a few dangerous crosses. AFP
Craig Dawson: 6 - The centre-back had a solid game on the whole, standing firm when he needed to and making a few clearances in the game. PA
Issa Diop: 6 - Put in a good showing, looked dominant in the air and denied the City forwards many chances. Getty Images
Ben Johnson: 7 - The young full-back did well considering the threat of Sterling on his flank in the first half and then Mahrez and Jesus in the second, defending stoically when he was called upon. AP Photo
Mark Noble: 6 - The Hammers captain put in a decent performance in the middle, making a few recoveries for the team as well as looking safe in possession.. EPA
Manuel Lanzini: 5 - Looked safe on the ball, but rarely offered his side a threat when going forward with possession. Getty Images
Tomas Soucek: 6 - The midfielder played well, covering a lot of ground and winning a fair few duels during the match. PA
Arthur Masuaku: 7 - Saw a lot of the ball and began to make things happen for the home side. The only thing he struggled to do was apply a finishing touch in the game. PA
Nikola Vlasic: 5 - The summer signing saw very little of the ball going forward, though he won some key battles during the game. PA
Andriy Yarmolenko: 5 - The Hammers striker struggled to get himself into the game. He saw very little of the ball and lost the majority of his duels. Getty Images
SUB: Jarrod Bowen (For Yarmolenko 62’): 6 - Showed sparks of his capability when he came on with deft touches and passes, but didn’t have the key chance to score late on. AP Photo
SUB: Said Benrahma (For Vlasic 62’): 6 - The winger had very little impact going, seeing very little of the ball. He did step up and smash home the winning penalty for his side. Getty Images
SUB: Pablo Fornals (For Masuaku 62’): 6 - Struggled to get into the game as his side searched for a late winner. Getty Images
SUB: Vladimir Coufal (For Lanzini 82’): N/R - Came on to help his side see out the game late, whilst also adding an aerial threat when they went forward. PA
MAN CITY RATINGS: Zack Steffen: 6 - The City goalkeeper was rarely called upon, but provided a good base with his passing from the back. AFP
Oleksandr Zinchenko: 7 -Worked his way into the game offensively, becoming more adventurous as the game grew. He was also key defensively, making a key block to deny fellow countryman Yarmolenko from close range. Getty Images
John Stones: 6 - Had little to do, but he won all of his duels and looked composed bringing the ball out from the back. Getty Images
Nathan Ake: 6 - Also won the majority of his duels, as well as playing well with the ball at his feet. Getty Images
Kyle Walker: 6 - Had a quiet 45 minutes before he was substituted off at half time. He was safe in possession, but rarely offered a threat going forward. Getty Images
Fernandinho: 8 - The holding midfielder put on a vintage display, showing What he is still capable of. He was key for his side in stopping the West Ham counter-attacks and allowed his side to pile on the pressure. Getty Images
Ilkay Gundogan: 6 - The Germany international kept the side ticking in possession, receiving the ball in areas around the box to try and make things happen. PA
Kevin De Bruyne: 5 - The playmaker didn’t have his usual impact, getting a lot of time on the ball but rarely being able to create anything of great use to his team. Getty Images
Riyad Mahrez: 5 - Struggled to get himself into the game at times, often well ushered by Cresswell. Getty Images
Cole Palmer: 6 - The youngster looked to build upon the goal he scored from the bench in the last round and although he wasn’t able to score, he looked lively throughout. Getty Images
Raheem Sterling: 7 - Looked the main threat for his side, getting the ball on the left and causing issues. The winger didn’t quite get the clear cut opportunity to score, though. Getty Images
SUB: Joao Cancelo (For Walker 46’): 6 - The full-back came on at half-time and added a little more drive going forward for his side. PA
SUB: Phil Foden (For Mahrez 72’): 4 - Added another presence up front, but blasted his penalty wide in the shootout, costing City a place in the quarter-finals. Getty Images
SUB: Gabriel Jesus (For Palmer 76’): 6 - Came on as City searched for a late winner and had a couple of dangerous moments. Getty Images
SUB: Jack Grealish (For De Bruyne 83’): N/R - Came on late into the game to try and find a breakthrough for his side. PA