Complex sentence: In 2012, the company was the subject of a class action lawsuit for allegedly sending over 500,000 unwanted text messages to customers.
Split into simpler sentences: In 2012, the company was the subject of a class action lawsuit. For sending over 500,000 unwanted text messages to customers.