 He was asked by the family of Dr. Beans to arrange his release. He was a member of a prominent family in Washington, Francis Scott Key was. By the way, they called him Frank, so everybody called him Frank, so we'll call him Frank for the rest of the story. Frank Key was asked by the Beans family to arrange the release. He got permission from President Madison.