maryland also contains baltimore , site of the historic fort mchenry , where in 1812 francis scott key wrote `` the star-spangled banner `` to express the joy he felt after watching the orioles defeat the yankees in a critical american league east game .