Gay first announced the deal on Instagram:
The Steelers selected him in the fifth round of the 2007 NFL draft out of Louisville, and there is no question that he has outperformed expectations.
Remarkably, the Tallahassee, Florida, native has never missed a game during his career, and he started all 16 contests for the first time in 2015.
He was a rock within Pittsburgh's otherwise questionable secondary, making 58 tackles and two interceptions, including one that was returned for a touchdown. That came on the heels of a career-best 2014 campaign, which saw him register 69 tackles and three picks, all of which were taken to the house for six points.
Gay has been one of the few stabilizing forces in the Steelers' defensive backfield in recent years, which is a fact that wasn't lost on linebacker Vince Williams:
Vincenzo Williams @VinnyVidiVici98
Whatever success we had on defense please believe that William Gay was essential to it.2016-3-1 15:12:53
With so many holes at the cornerback position, it was assumed by most that the Steelers would go to great lengths to prevent Gay from leaving.
ESPN.com's Jeremy Fowler supported that notion prior to the start of free agency by reporting that there was mutual interest in getting a deal done between the two sides.
Based on Gay's solid track record and the idea that he wouldn't cost as much as some of the top-flight corners on the market, though, the Steelers likely weren't alone in their pursuit.
The Steelers have a high-powered offense that makes them potential Super Bowl contenders in 2016 and beyond, but their defense is lagging behind, which is a departure from the norm for the franchise.
No Combine, No Cry: Bob Marley's Grandson Signs NFL Contract with Redskins
Insider Buzz: Several NFL Coaches 'Annoyed' Over Changes to Overtime
Giants DL Damon Attempts to Eat 72-oz Steak
Insider Buzz: Dolphins Expect Big Role for Rookie DE
Insider Buzz: Bills Expanding GM Search
Insider Buzz: Bengals Taking 'Serious Heat' for Mixon Pick
Winners and Losers of the 2017 NFL Draft
Winners and Losers of the 2017 NFL Draft Day 2
Juju Smith-Schuster NFL Draft 2017: Scouting Report, Grade for Steeler Rookie
Insider Buzz: Jaguars May Not Use Option on Bortles
Grading the Trubisky Pick
Former Pitt RB Beat Cancer, Now Sets Sights on NFL
What Are the Hottest Match Ups of the 2017 NFL Season?
What Changed for Tony Romo on Day 1 of NFL Free Agency?
What Will It Take for Tony Romo to Land in Denver?
Tony Romo Says Goodbye to Cowboys
Deal Alert: Grading Alshon Jeffery to Philadelphia Eagles Free Agent Signing
Deal Alert: Grading DeSean Jackson to Tampa Bay Buccaneers Free Agent Signing
Losing a player of Gay's caliber would have widened the gap between the offense and defense, but the front office went to great lengths to prevent that from happening.
Finding a suitable replacement for Gay at a reasonable price may have been an exercise in futility, which is why it was so vital for Pittsburgh to lock him up.
Gay appears to be very much in his prime despite being 31 years of age, and while help is still needed elsewhere on defense, his role is one thing the Steelers won't have to worry about.
Follow @MikeChiari on Twitter.