History of North America

What did Congress use the Interstate Commerce Clause to achieve in Heart of Atlanta Motel v US?

In Heart of Atlanta Motel v US, Congress relied on the Interstate Commerce Clause to outlaw discrimination in public accommodations that substantially affect interstate commerce.