He was, until Sunday, the longest serving member on the Edmonton Oilers roster, but after playing 481 games on a team that didn’t make one playoff appearance during his seven-year stay, Sam Gagner will now be plying his trade with the Arizona Coyotes.

The Oilers had traded the centre to the Tampa Bay Lightning in exchange for winger Teddy Purcell, then the Lightning, short on cap room and long on forwards, sent Gagner and B.J. Crombeen to Arizona for a sixth-round draft pick in 2015.

The Lightning will retain one-third of Gagner’s salary.

“It’s been a roller-coaster of emotions,” the former Oiler said. “I would have liked it to (work out) in Edmonton. But we didn’t have a lot of success as a team, and there’s going to be a lot of changes that comes from that. For myself, I didn’t have a great year last year and I want to have a bounce-back year. I’m obviously not happy with the way things went ... I think this is going to be good for me.

“Definitely a shock when you’re uprooted, but it’s part of the business. It happens,” said Purcell. “You embrace it and look forward to the opportunity that lies ahead.”

The Sunday deals finally put an end to all the trade speculation that had been swirling around Gagner for months. The deal also came two days before his no-move clause was to kick in and two days before the free-agent market opens.

Contractually, the deal is a wash for the Oilers as Purcell, 28, who scored 12 goals and added 30 assists in 81 games last season, has two years left on a deal at $4.5-million. Gagner’s cap hit is $4.8-million over the next two years.

“My name has been in trade rumours for a long time now, and you have to expect things to happen when the team hasn’t done well,” Gagner said. “It’s been a tough few years there, and there’s going to be change when things don’t go well.

“I expected that at some point I might be a part of it (but) it’s a great opportunity for me in Arizona, and I’m excited about that. I wish Edmonton all the best.”