NEW YORK (AP) — A bid for speed in reporting the Supreme Court’s decision on President Barack Obama’s health care law has tripped up some news organizations.

Both CNN and Fox News Channel incorrectly reported Thursday that the law’s central provision, requiring virtually all Americans to have health insurance, had been struck down. Both networks backtracked when it became clear that the court upheld the provision.

Broadcast networks broke into regular programming to deliver special reports and generally got it right.

To get the news out quickly, competitive news organizations had to wade through pages of legal writing.

Online editor’s note: In the first few minutes of reporting on the decision, posted that CNN was reporting that the individual mandate portion of the law had been struck down. A switch to the Associated Press alert saying that the law was upheld was made a few minutes after the first online post.