On August 4, 1944 Anne made her last diary entry, 3 days later they were caught by the Nazi Gestapo which bought an end to the 25 months confinement. Anne and others were given away by an unknown informer, and they were arrested along with the 2 other people who hid them.
source https://rb.gy/bqoe2o