Urgent and emergency care saw improved ratings in safety, leadership and effectiveness, but Charlotte Rudge, the CQC’s deputy director of operations in the West Midlands, said it had been hit by “extensive pressure” and high demand.

“Staff were still unable to deliver care and support to people in a timely manner,” she said.

Maternity services had improved in leadership, but remained “inadequate” for safety, with concerns around risk assessments, monitoring and surgical procedures.

Ms Rudge said “some people experienced delays” but staff “treated people with kindness and compassion”.

Services for children and young people were rated “good” in their first inspection since University Hospitals Birmingham NHS Foundation Trust began running them, but inspectors raised concerns over safeguarding training and staffing.

Ms Rudge said children, young people and their families were “pleased with the care they received”.