Wayne Rooney enjoyed a very successful career at Manchester United, where he became the club's all-time leading goalscorer.