The Long wait is over. Four-time Pro Bowler Jake Long, the free-agent left tackle from the Miami Dolphins, has agreed to terms on a four-year contract with the Rams worth up to $36 million.

After a three-day visit to St. Louis, which qualifies as a marathon in today’s free agency, Long has decided to cast his lot with Jeff Fisher and the Rams. After he left St. Louis on Friday, Long headed back to Miami for a couple of days, leaving Rams fans everywhere on pins and needles.

“It was a tough decision,” Long told the Post-Dispatch late Sunday night, actually early Monday morning from Miami. “I came in for a visit and Coach Fisher and Kevin Demoff and Les Snead were amazing. I just fell in love with their vision and the entire organization, and all the great things they had to say about Mr. (Stan) Kroenke and the way they go about football.

“They really made me feel welcome _ my wife and I. It was such a great family atmosphere. It was something I wanted to be a part of. But in the end I wanted to think it through, make the right decision because Miami was amazing to me. Took me No. 1. Mr. (Stephen) Ross and I have a great relationship. This was my home for the last five years, and I just wanted to make sure I made the right decision.”

Ross is the Dolphins' owner.

The deal wasn’t finalized until after 11 p.m. Central time. When suggested that Long’s decision would make lots of St. Louisans happy, agent Tom Condon laughed and replied: “Yeah, especially the quarterback.”

That would be Sam Bradford, who like Long is represented by Condon and the St. Louis-based CAA sports agency.