Rejoice, Team Swish! Let out a victory cry, Pipe Nation! At long last, J.R. Smith has re-signed with the NBA champion Cleveland Cavaliers.

Smith and the Cavs have agreed to terms on a 4-year, $57 million deal, according to ESPN's Marc Stein. After Smith played a significant role in Cleveland's improbable NBA Finals win over the Golden State Warriors, his contract expired, and he and the Cavs engaged in a long stalemate. Cleveland saw a similar free-agency situation unfold last year with Tristan Thompson.

Smith reportedly wanted $15 million a year, while the Cavaliers wanted him to take $10-11 million per year. Doing the math on what they settled on ($57 million divided by 4 is $14.25 million), Swish won this game of NBA chicken.

Because the holdout took so long, even though it was clear from the start that both Smith and the Cavs wanted him to stay in Cleveland, rumors surfaced that other teams, such as the Boston Celtics, would make a run at Smith. Cleveland fans that may have been getting just a little nervous can now take a deep breath.

It was a big day for J.R. In other big Swish news, he announced he has a child on the way.

.@TheRealJRSmith and family are beyond thrilled to be back with the @cavs but also have some other BIG news to share. pic.twitter.com/NvC9bXjtTt

— UNINTERRUPTED (@uninterrupted) October 15, 2016

"We are extremely happy and proud to say that we have agreed to terms to come back with the Cleveland Cavaliers, AKA the champs, AKA my brothers," Smith said, adding that he was grateful for the support he received during his taxing holdout.

"Oh yeah, and one more surprise: we're having another baby," Smith said.

J.R. and his wife, Jewel Harris, are expecting their third child together.

Naturally, Twitter, which is filled with J.R. fans, celebrated at the news of Smith's huge day.

JR SMITH LOCKED UP FOR 4 YEARS pic.twitter.com/SnDyNkuFlD

— SC Cleveland™ (@SC_Cleveland) October 15, 2016

JR Smith gonna open a Cleveland 1Oak in his crib.

— RUSS BENGT$ON (@russbengtson) October 15, 2016

pic.twitter.com/kSbRXFwNGr

— RUSS BENGT$ON (@russbengtson) October 15, 2016

When you see JR Smith is back with the Cavs: https://t.co/BP4II6p14J

— Sports Nation Ohio (@SN_Ohio) October 15, 2016

Championship ✔ Married ✔ 57 Million Dollar Contract ✔ & A New Baby 👶 !! What A Freaking Year !@TheRealJRSmith Congrats!!

— Lex_FromCleveland (@elexuswebb14) October 15, 2016

NBA - JR Smith coming out of the #Cavs meeting getting his 4yr $57M deal. 😂 pic.twitter.com/mxpaVk64wn

— ☇ASAP Sports News☇ (@ASAP_SportsNews) October 15, 2016

The @cavs and @TheRealJRSmith have reportedly agreed to terms on a new four-year deal https://t.co/Ks3BnF9D4z pic.twitter.com/PDuSzlEXRJ

— SLAM PH (@SLAMonlineph) October 15, 2016

🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆57 MILLION🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆🍆https://t.co/wB8yuxSmpf

— Rob Perez (@World_Wide_Wob) October 15, 2016

Smith is back. The champs are fully loaded. Golden State has KD. It's about to get real.

Now, let's get this season started.