AUSTIN — Texas Sen. Ted Cruz on Thursday criticized his Senate opponent Beto O’Rourke for raising money in Hollywood, but Cruz has also brought in a pile of donations from the Golden State this election season.

Cruz wrote in a tweet Thursday that O’Rourke was “raising big $$ from Hollywood by supporting NFL protests of the national anthem.” It’s unclear how much money O’Rourke has raised since a video of him defending the protests went viral this week.

But both candidates have received a deluge of out-of-state money as the race for Texas’ Senate seat draws national attention. That includes California, which tops the out-of-state donor list for both candidates.

Californians gave Cruz $587,000 from Jan. 1, 2017 to June 30, 2018 , according to federal records of campaign donations over $200. That’s about 8 percent of the $7.4 million in itemized personal contributions. O’Rourke has raised about $1.4 million from California, or about 10 percent of his $14 million in itemized personal contributions.

Cruz has repeatedly tried to portray O’Rourke as a hero of Hollywood celebrities and liberal elites. O’Rourke’s viral video got the attention of talk show host Ellen DeGeneres, basketball star LeBron James and actor Kevin Bacon this week.

Bacon’s support got Cruz’s attention, too.

“Most Texans stand for the flag, but Hollywood liberals are so excited that Beto is siding with NFL players protesting the national anthem that Kevin Bacon just retweeted it,” Cruz wrote in another tweet Thursday.