out for the remainder of the 2013–14 season due to a right ankle injury. On 26 March 2015, İlyasova scored a career-high 34 points in a 111–107 win over the Indiana Pacers. Detroit Pistons (2015–2016) On 11 June 2015, İlyasova was traded to the Detroit Pistons in exchange for Caron Butler and Shawne Williams. The move reunited him with Brandon Jennings, who he played with in Milwaukee. On 27 October he made his debut for the Pistons in a 106–94 win over the Atlanta Hawks, recording 16 points, seven rebounds, three assists and one block in 34 minutes. Orlando Magic (2016) On 16 February 2016, İlyasova was traded to the Orlando Magic, along with Brandon Jennings, in exchange for Tobias Harris. The next day, he made his debut with the Magic in a 110–104 win over the Dallas Mavericks, recording 16 points, five rebounds, two assists and one steal in 23 minutes. Oklahoma City Thunder (2016) On 23 June 2016, İlyasova was traded, along with Victor Oladipo and the draft rights to Domantas Sabonis, to the Oklahoma City Thunder in exchange for Serge Ibaka. He appeared in three games for the Thunder to begin the 2016–17 season. Philadelphia 76ers (2016–2017) On 1 November 2016, İlyasova was traded, along with a conditional first-round pick, to the Philadelphia 76ers in exchange for Jerami Grant. He made his debut for the 76ers the next day, scoring an equal team-high 14 points on 5-of-12 shooting in a 109–93 loss to the Charlotte Hornets. On 6 December he had season bests of 23 points and 17 rebounds in a 96–91 loss to the Memphis Grizzlies. He had a second 23-point game on 8 December against the New Orleans Pelicans, and a third 23-point game on 30 December against the Denver Nuggets—both resulting in wins. On 29 January 2017, he scored a season-high 31 points in a 121–108 loss to the Chicago Bulls. Atlanta Hawks (2017–2018) On 22 February 2017, İlyasova was traded again, this time to the Atlanta Hawks in exchange for Tiago Splitter, a protected 2017 second-round pick, and the option to swap a second-round pick. On 21 July 2017, İlyasova re-signed with the Hawks. On 26 February 2018, he was waived by the Hawks. Return to Philadelphia (2018) On 28 February 2018, İlyasova signed with the Philadelphia 76ers, returning to the franchise for a second stint. Fourth stint with Milwaukee (2018–2020) On 16