It's official, the Sixers and their coveted big-man, Joel Embiid have agreed to a max contract extension, keeping Embiid in Philadelphia for another five seasons.

Embiid has played 31 games since being drafted by the Sixers in 2014. He is in the middle of recovering from a meniscus tear that required surgery in February, and was recently cleared to participate in full court five-on-five practice.

The move is huge for the Sixers, who have been in limbo on whether or not they would extend Embiid's contract based off of his injury history.

While re-signing Embiid was a no-brainer, there still is a risk in bringing back a guy on max contract who has suffered season-ending injuries in three straight seasons.

According to Woj, the deal does include a salary protection for the Sixers if Embiid is unable to play due to injury.

The deal will include some salary cap protection for the 76ers should Embiid sustain injury that causes him to miss significant playing time, league sources said.

No matter what, the deal was necessary for the Sixers to be successful, and with the salary protection clause added in to the contract, this seems to be a win-win scenario for the team.

Josh Liddick is Sixers editor for Follow him on Twitter @JoshLiddickTalk

More From 97.3 ESPN