Edinburgh University has raised the £350m it needed to build a new multiple sclerosis (MS) research clinic.
The facility will be named the Anne Rowling Regenerative Neurology Clinic after the mother of Harry Potter author JK Rowling, who donated £10m of the total funding.
Due to open next year, its work will focus on developing treatments for MS and other degenerative neurological conditions.
The announcement marks the end of a six-year fundraising drive to finance research, maintaining the buildings and providing financial aid for students.
Support has also come from former students, funding councils, major trusts and foundations, corporations, government and research charities.
Kirsty MacDonald, the university's director of development and alumni engagement, said: "What is significant, and what the university is most proud of, is that the campaign has funded projects that have the potential to change people's lives for the better.
"Fundraising has become an integral part of the university and we will continue to work with supporters to ensure that all areas of the university can flourish."
Projects receiving support include The Euan MacDonald Centre for Motor Neurone Disease Research and the McKern Fellowship, which funds research into the treatment of pain and distress during pregnancy and labour.
Other beneficiaries include the Centre for Regenerative Medicine, the Royal (Dick) School of Veterinary Studies, the Alwaleed Centre for the Study of Islam in the Contemporary World and the Scottish Centre for Diaspora Studies.