This is an archived article and the information in the article may be outdated. Please look at the time stamp on the story to see when it was last updated.

One of the two Los Angeles County deputies shot in an ambush attack last weekend was released from the hospital Wednesday, Sheriff Alex Villanueva said.

The 24-year-old male deputy had been in intensive care for a time before his release. Both he and a 31-year-old female deputy wounded underwent surgery after the shooting Saturday evening in Compton.

The female deputy remained hospitalized Wednesday.

Both are expected to fully recover.

“We at @LASDHQ appreciate the outpouring of prayers and support you have shown for our ambushed deputies,” Sheriff Alex Villanueva tweeted Wednesday evening. “Great news, one of those deputies was released from the hospital today. He has a long road ahead for recovery. But he’s not alone. We, as a community, are in this together.”

The sheriff said Tuesday that investigators are pursuing promising leads in the search for the gunman, who was recorded on surveillance video.

The deputies were in their patrol car outside a Metro station in Compton when the unidentified assailant walked up and shot them through the driver’s window, wounding both in the head.

A reward for information in the case rose to $300,000 Tuesday.

GoFundMe page has been created to help the deputies with medical expenses and needs for their families.