Representative Steve Scalise, who was critically injured last month during a mass shooting that took place at a congressional baseball practice, was moved from the intensive care unit of a Washington hospital on Wednesday, a person with knowledge of his condition said.

Mr. Scalise, a Republican congressman from Louisiana who serves as the majority whip of the House of Representatives, spent the past week in the intensive care unit and underwent surgery for the management of infection, his office said. His condition on Wednesday remained listed as serious.

Mr. Scalise, 51, has been hospitalized at MedStar Washington Hospital Center since the shooting on June 14, when a lone gunman, James T. Hodgkinson, 66, opened fire at a practice field in Alexandria, Va. He shot Mr. Scalise and injured three other people, two of them members of Mr. Scalise’s security detail.

The congressman has undergone several surgeries since the shooting and spent over a week in the intensive care unit when he was first admitted. He was the most seriously injured of Mr. Hodgkinson’s four victims.