Wayne Rooney has decided to quit Manchester United after accepting that his Old Trafford career is coming to an end.

United’s record goalscorer is unhappy with a reduced role under Jose Mourinho and has told friends he is leaving after nearly 13 years at the club. He is determined to go on his own terms.

A source told Sportsmail: ‘The writing is on the wall for Wayne. He can see what’s happening. He’s playing less and believes he still has a lot to give. He won’t want to continue here like this.’

The United captain has a £35million-a-year offer on the table to play in China, where the transfer window closes next Tuesday.

Mourinho refused to offer any guarantees that Rooney will stay, saying: ‘Of course I can’t guarantee. I cannot guarantee that I’m here next week, how can I guarantee that a player is here next season?

‘What I can guarantee is that if one day Wayne leaves the club it is not because I want him to leave.

‘I would never push a legend of this club to another destiny. You have to ask him if he sees himself staying in the club for the rest of his career or sees himself moving.