Marcus Rashford scored in the third and final minute of stoppage time to earn Manchester United a 1-0 win over West Ham that lifted the team above its opponent into fourth place in the Premier League on Saturday.

Rashford, on as a second-half substitute, tapped in a cross from fellow replacement Edinson Cavani in one of the few clear-cut chances created in a lackluster match at Old Trafford.

It completed a good week for United, which also won 3-1 at Brentford on Wednesday, as the league heads into a two-week winter break.

Manchester United's manager Ralf Rangnick reacts after Marcus Rashford scored his side's first goal during the English Premier League soccer match between Manchester United and West Ham at Old Trafford stadium in Manchester, England, Saturday, Jan. 22, 2022. (AP PhotoDave Thompson)

Manchester United's manager Ralf Rangnick reacts after Marcus Rashford scored his side's first goal during the English Premier League soccer match between Manchester United and West Ham at Old Trafford stadium in Manchester, England, Saturday, Jan. 22, 2022. (AP PhotoDave Thompson)

Cristiano Ronaldo, who overcame a neck problem to start, was kept on for the full match this time but didn't come close to scoring.

The Portugal forward was disgusted at being substituted midway through the second half of the game at Brentford and made his feelings clear to manager Ralf Rangnick.

There were just four shots on target in the whole match.

Manchester United's Marcus Rashford, center, celebrates scoring his side's first goal during the English Premier League soccer match between Manchester United and West Ham at Old Trafford stadium in Manchester, England, Saturday, Jan. 22, 2022. (AP PhotoDave Thompson)

Manchester United's Marcus Rashford, center, celebrates scoring his side's first goal during the English Premier League soccer match between Manchester United and West Ham at Old Trafford stadium in Manchester, England, Saturday, Jan. 22, 2022. (AP PhotoDave Thompson)

More AP soccer: https://apnews.com/hub/soccer and https://twitter.com/AP_Sports

Manchester United's Cristiano Ronaldo reacts during the English Premier League soccer match between Manchester United and West Ham at Old Trafford stadium in Manchester, England, Saturday, Jan. 22, 2022. (AP PhotoDave Thompson)

Manchester United's Cristiano Ronaldo reacts during the English Premier League soccer match between Manchester United and West Ham at Old Trafford stadium in Manchester, England, Saturday, Jan. 22, 2022. (AP PhotoDave Thompson)