Updated

The Supreme Court says Justice Sonia Sotomayor is “resting comfortably” after shoulder replacement surgery.

The 63-year-old Sotomayor had the procedure on her left shoulder Tuesday morning in New York. The court said in a statement that the surgery went well and that the justice expects to remain in the hospital for a night or two.

Sotomayor injured herself in a fall at home on April 16 and decided on the surgery after consulting with specialists.

The court says Sotomayor will wear a sling and curtail activities for the next few weeks. She is expected to need several months of physical therapy.

Justice Stephen Breyer had shoulder replacement surgery in 2013, after a bicycle accident.