Senator Ted Cruz, 2015

Senator Ted Cruz (R-Texas) on July 15, 2015 at the Pierre Hotel in New York.

Heidi Gutman/CNBC

Texas Sen. Ted Cruz's now-defunct presidential campaign is being sued over the background music it used in two videos.

Audiosocket, a music licensing company based in Seattle and New Orleans, filed the lawsuit Monday in U.S. District Court in Seattle against Cruz for President and the advertising firm Madison McQueen. It says an agreement between Audiosocket and Madison McQueen expressly barred the use of the songs for political purposes.

The lawsuit seeks hundreds of thousands of dollars in damages -- amounting to $25,000 for each contract breech. Neither the Cruz campaign nor Madison McQueen immediately returned emails seeking comment.

The songs at issue were used in campaign videos titled "Victories" and "Best to Come." The lawsuit claims that the campaign released the “Best to Come” ad before Madison McQueen had even signed a contract with Audiosocket. The song in that ad is listed as “Fear of Complacency” by composer Brad Couture (as Sleevenotes).

The song in the “Victories” ad, called “Lens,” was written by Sarah Schachner. Both Couture and Shachner are listed as plaintiffs in the case.

The Texas senator dropped out of the presidential campaign last week after losing the GOP primary in Indiana to Donald Trump.