How long did Anne Frank hide from the Nazi persecution during WW II?

History Trivia: How long did Anne Frank hide from the Nazi persecution during WW II?