MADISON, Wis. (AP) — Wisconsin health officials urged people Thursday to spend the Fourth of July weekend at home as coronavirus infections surge in the state.

The number of confirmed cases per day in the U.S. climbed to an all-time high of more than 50,000 on Thursday. The infection curve is rising in 40 states; only the Northeast has escaped the spike.

Health officials blame the surge largely on young people congregating in bars. DHS Secretary Andrea Palm said Thursday that 23% of total confirmed cases in Wisconsin are people in their 20s, which is up from 11% in April.

“In order to help decrease the infection rate in our state, we need younger Wisconsinites to take more precautions like staying home, physical distancing and wearing cloth face coverings whenever possible,” Palm said.

Public health officials halted indoor service at Madison bars beginning Thursday and limited the number of people who can eat inside at restaurants to 25% capacity.

As of Thursday, Wisconsin had recorded 29,738 confirmed cases of COVID-19 since the pandemic started, an increase of 539 from Wednesday, according to the DHS. Meanwhile, 792 people have died of the disease in the state.

The actual number of infections is thought to be far higher than the state’s totals because many people have not been tested and studies suggest people can be infected without feeling sick.

Democratic Gov. Tony Evers issued a stay-at-home order in March that closed schools, shuttered most nonessential businesses and limited the size of gatherings. The order was supposed to lift April 24, but Palm extended it to May 26.

The extension spurred Republican legislators to file a lawsuit directly with the conservative-leaning state Supreme Court, which ruled 4-3 on May 13 that Palm had overstepped her authority and struck down the order. Since then, the state has become a patchwork of local ordinances and orders limiting business activities and gatherings.

(© Copyright 2020 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)