Andy Murray has undergone hip resurfacing surgery.

The 31-year-old tennis ace had been weighing up the procedure, which involves a metal plate being inserted into the joint, in a final attempt to prolong his career. 

It comes after the former world number one announced in January that he would retire this year, preferably after Wimbledon.

But he admitted the Australian Open could be the final tournament of his career, losing to Roberto Bautista Agut in the first round.

Posting on social media, he wrote: "I have a metal hip. Feeling a bit battered and bruised but hopefully that will be the end of my hip pain."

The Scot's post on Instagram featured an X-ray picture of his hip.

Murray initially had surgery on his right hip in January 2018 and has played 15 matches since returning to the sport last June.

He was due to play in February's Marseille Open but withdrew from the tournament on Friday.