While Edinburgh Castle is a massive military fortress today, it was once a royal residence, and the last monarch to actually "stay" in the Royal Palace within the castle was King Charles I. He resided there on June 17, 1633, the night before his Scottish coronation at Holyrood Abbey. This marked the final time the castle was used as a primary royal dwelling, as later monarchs preferred the more comfortable and accessible Palace of Holyroodhouse at the bottom of the Royal Mile. However, the castle has never been truly "empty." It has served as a military barracks for centuries and continues to house a permanent military governor and a small garrison of soldiers from the Royal Regiment of Scotland. While they "live" there in a professional capacity, they occupy modern barracks rather than the historic royal apartments. Today, the castle is primarily a museum and the home of the Scottish Crown Jewels, but the tradition of a living military presence ensures that the fortress remains an active, inhabited part of the city's defense and ceremonial heritage rather than just a silent ruin.