Between 1799 and 1802, Fort McHenry was built. It was shaped like a five-pointed star, which was a fashionable design at the time. Each point of the star could be seen from either side, and the whole amount of land surrounding the fort could be covered by as few as five soldiers. The name "Fort McHenry" comes from the Scottish phrase meaning "the great fortress," although some say it originates from a French translation of the Spanish word "cuartel." Inside the fort, two buildings are preserved that look just like they did when the fort was new: the commander's house and the powder magazine. There are also several other structures that were part of the original design but no longer exist including an armory, a hospital, and four blockhouses. The British attacked the fort sixteen times between 1814 and 1848 in an attempt to capture or destroy it. Each time the Americans beat back the attack, which helped keep the peace between the United States and Britain during the War of 1812. In 1848, Congress decided to rebuild the fort as a memorial to the men who had served there before the attack even though the war was over. The new fort was designed by William Mason, who also worked on the White House renovation project. It was completed in 1855 at a cost of $870,000.