St Kilda have completed a trade with Sydney for midfielder Dan Hannebery, with the clubs swapping picks as well as the 27-year-old.

The Saints have landed Hannebery and pick 28 in the upcoming draft, while sending pick 39 and next year's second round pick to the Swans.

Hannebery joins St Kilda on a five-year deal.

โ€œI loved my time at the Swans and will be forever grateful for the opportunities and experiences I had there,โ€ Hannebery told saints.com.au.

โ€œI moved to Sydney when I was 17 and now, 10 years later, itโ€™s the perfect time for me to come back to my family in Melbourne and bring everything Iโ€™ve learned to what is a really exciting and promising playing group at the Saints.โ€

St Kilda's General Manager of Football Simon Lethlean was thrilled with the club's ability to land the premiership Swan.

โ€œDanโ€™s a highly-accomplished midfielder who will be a significant addition to our group,โ€ Lethlean told the club's website.

โ€œHe will help the likes of Jack Steven, Seb Ross and Jack Steele enormously, but weโ€™re also excited about what he can teach Jade Gresham and Hunter Clark.

โ€œHe is a respected leader and someone with a lot of finals experience, which will be invaluable for our young group on and off the field.

โ€œI know he is eager to get started, and weโ€™re equally eager to see the impact he can have in 2019 and beyond.โ€