2008. Lupul made his return to the lineup just over one month later, on February 9 in a game against the New York Rangers. On April 22, Lupul scored the series-winning goal in the first overtime of Game 7 in the Eastern Conference Quarterfinals between Philadelphia and the Washington Capitals. After helping the Flyers reach the Eastern Conference Finals, in which Philadelphia fell to rivals Pittsburgh, Lupul agreed to a four-year contract extension with the team on July 21. Return to Anaheim On June 26, 2009, following his second season with Philadelphia and just one year into his four-year contract, Lupul was traded by the Flyers to the Anaheim Ducks at the 2009 NHL Entry Draft (along with Luca Sbisa and two first-round picks) in exchange for Chris Pronger, the second time in Lupul's career he had been part of a trade involving the Ducks with Pronger going the other way. Back surgery in December 2009 and a subsequent blood infection limited him to just 23 games during the season. He ultimately missed a total of 12 months of playing time—the final 59 games of that season and carrying over into the first 28 games of the following 2010–11 season. Toronto Maple Leafs On February 9, 2011, nearing the end of his second season back with Anaheim, but having played only 49 games during his second stint, Lupul was traded (alongside Jake Gardiner and a conditional draft pick in 2013) to the Toronto Maple Leafs in exchange for François Beauchemin, marking the third time Lupul had been involved in a trade with the Ducks organization. Originally, the deal excluded Lupul, however he was included as a salary dump to keep the Ducks under the salary cap. After being traded to Toronto, he made the transition from right to left wing and finished with 18 points in 28 games to finish the 2010–11 season. The following year, 2011–12, Lupul began the year on the opposite wing of Phil Kessel, putting together a strong first half of the season that led to his invitation to the 2012 NHL All-Star Game in Ottawa as an alternate captain to Zdeno Chára. There, he scored two goals for Team Chara in a 12–9 win over Team Alfredsson. On March 2, 2012, Toronto fired its head coach, Ron Wilson, and replaced him with Randy Carlyle, Lupul's former head coach in Anaheim. Lupul suffered a severe shoulder