What professional sport implemented the salary cap first?

I think it was basketball.