Beaches in New Jersey reopened in time for the festivities, after a resolution was found for the budget standoff.

Here are photographs of Independence Day celebrations around the country.

• Police officer is killed in the Bronx.

Miosotis Familia, 48, a 12-year veteran, was shot in the head this morning, in what the police commissioner called an “unprovoked attack.”

The officer was sitting in a marked command vehicle when a gunman fired at her through the window, the authorities said.

• An agonizing decision.

The parents of Charlie Gard, a British baby who has a rare genetic condition, have endured nearly a year of extreme distress fighting a decision by doctors to take him off life support.

Attention from Pope Francis and President Trump, however, may have made a tragic situation even worse.

• Emerging from the rubble in Iraq.

Starved, injured and traumatized, civilians in Mosul made their way to humanitarian camps as government forces wrested the last pockets of the Iraqi city from Islamic State militants.