Sophia Garabedian, the 5-year-old Sudbury girl hospitalized with Eastern equine encephalitis last month, is back home after being discharged from Spaulding Rehabilitation Hospital, her family said.

“Sophia has been so courageous through this entire ordeal and made enormous progress from those terrifying first hours and days to waking up, breathing on her own, first words and steps and now at a point where she can go home,’’ the family said in a statement.

The statement continued, “While this is an important milestone we are thrilled to celebrate, she still has a long road ahead of care on an outpatient basis to keep improving her mobility and continue to work to recover her cognitive functions such as long-term memory. We have no doubt she will continue to amaze us.’’