Along the waterfront in Charlotte Amalie are the offices of the Virgin Islands Legislature. Built next to Fort Christian by the Danes in 1874 as a police barracks, it was here in 1917 that the Danish West Indies were transferred to the United States for the sum of $25 million. The building has also been used as a school and to house U.S. marines before becoming the capitol.