Juan Margets will leave his position as chief operating officer of the International Tennis Federation later this year.

The decision was announced Tuesday by ITF President David Haggerty.

Margets, who has served in various roles at the ITF for 25 years, was among the three rival candidates defeated by Haggerty in last year's vote for the presidency of the world governing body.

Haggerty says the Spaniard "has played a very important role in the ITF for many years in both his management position and his chairmanship of key committees."

Margets served on the ITF board of directors from 1991-2015 and was executive vice president from 1998-2015. He served as chairman of the Davis Cup Committee from 1999-2015.