The SNP MP who defeated Liberal Democrat leader Jo Swinson in December’s General Election has suffered a brain haemorrhage.
Amy Callaghan, 28, has undergone neurosurgery after collapsing at her home last week.
A statement from her office said she was "now beginning the process of recovery."
Jo Swinson resigned as Liberal Democrat leader after losing the East Dunbartonshire constituency to Ms Callaghan.
Ms Callaghan was diagnosed with skin cancer at the age of 19 and had surgery to remove part of her cheekbone and nerves in her face.
Her office said in a statement: "She wishes to put on record her enormous love and gratitude to all involved in her care – the first response and ambulance crew, accident and emergency staff, the neurological surgeons and the wonderful nursing team – who have all played a role in, undoubtedly, saving her life.”
They added: "Amy is in good spirits and able to communicate well with family. She has been overwhelmed with the messages of support and kindness which are a huge source of encouragement.”
East Dunbartonshire is a constituency north-west of Glasgow, centred around the town of Kirkintilloch.
SNP leader Nicola Sturgeon was seen celebrating Ms Callaghan’s victory on election night and said on the night the vote provided a “renewed, refreshed, strengthened mandate" for a second Scottish independence referendum.
The Liberal Democrats are due to pick a new leader in August, with the contest between Ed Davey and Layla Moran.