The University of Edinburgh (Scots: University o Edinburgh, Scottish Gaelic: Oilthigh Dhùn Èideann; abbreviated as Edin. in post-nominals) is a public research university based in Edinburgh, Scotland. Founded by the town council under the authority of a royal charter of King James VI in 1582 and officially opened in 1583, it is one of Scotland's four ancient universities and the sixth-oldest university in continuous operation in the English-speaking world. The university played an important role in Edinburgh becoming a chief intellectual centre during the Scottish Enlightenment and contributed to the city being nicknamed the "Athens of the North." Edinburgh is ranked among the top universities in the United Kingdom and the world.

Edinburgh is a member of several associations of research-intensive universities, including the Coimbra Group, League of European Research Universities, Russell Group, Una Europa, and Universitas 21. In the fiscal year ending 31 July 2022, it had a total income of £1.262 billion, of which £331.6 million was from research grants and contracts. It has the third-largest endowment in the UK, behind only Cambridge and Oxford. The university has five main campuses in the city of Edinburgh, which include many buildings of historical and architectural significance such as those in the Old Town.

Edinburgh is the seventh-largest university in the UK by enrolment and receives over 75,000 undergraduate applications per year, making it the second-most popular university in the UK by volume of applications. Edinburgh had the eighth-highest average UCAS points amongst British universities for new entrants in 2020. The university continues to have links to the royal family, having had Prince Philip, Duke of Edinburgh as its chancellor from 1953 to 2010 and Anne, Princess Royal since March 2011.

The alumni of the university includes some of the major figures of modern history. Inventor Alexander Graham Bell, naturalist Charles Darwin, philosopher David Hume, and physicist James Clerk Maxwell studied at Edinburgh, as did writers such as Sir J. M. Barrie, Sir Arthur Conan Doyle, J. K. Rowling, Sir Walter Scott, and Robert Louis Stevenson. The university counts several heads of state and government amongst its graduates, including three British Prime Ministers. Three Supreme Court Justices of the UK were educated at Edinburgh. As of January 2023, 19 Nobel Prize laureates, four Pulitzer Prize winners, three Turing Award winners, and an Abel Prize laureate and Fields Medalist have been affiliated with Edinburgh as alumni or academic staff. Edinburgh alumni have won a total of ten Olympic gold medals.

Instruction: Given these paragraphs about a well-known Scottish University of some import, tell me specific details about when and where it was founded, what it's most well known for, and who are some of its most famous alumni.
Response: The University of Edinburgh is based out of Edinburgh, Scotland founded by the royal charter of King James the 6th in 1582, officially opening for students in 1583. The University of Edinburgh is famous for being the sixth oldest University in the English-speaking world and the seventh largest by enrollment in the United Kingdom where Scotland resides today. A top public research university often nicknamed the "Athens of the North" whose famous alumni were pivotal in contributing to the Scottish Enlightenment, the University of Edinburgh is known as one of the top-ranked universities in the United Kingdom. With such esteemed alumni as Alexander Graham Bell, Charles Darwin, and David Hume not to mention famous authors such as Sir Arthur Conan Doyle and J.K. Rowling, and even several heads of state in three British Prime Ministers.