The Johnson Amendment is a provision in the U.S. tax code, since 1954, that prohibits all 501 non-profit organizations from endorsing or opposing political candidates. From Wikipedia
The IRS’s ruling hinges on a court order that would extend the new endorsement right only to the two Texas churches in the suit.