Baltimore is not the capital of Maryland; however, it is the biggest city in the state. St. Mary's City was originally the state capital, but it was moved away from the coast because it was too remote and hard to get to. Annapolis has been the capital since 1695 when the town was renamed in honor of Queen Anne.