Under the original deal, Inter agreed to pay €6.5 million to make Zalewski's transfer permanent. He played a significant role for the team, appearing in 17 games across all competitions since joining in January.
During his time at Inter, Zalewski also made a substitute appearance in the Champions League final against Paris Saint-Germain.
The club announced the details of Zalewski's transfer on Monday evening.