Afghanistan gained independence on August 8, 1919. The peace treaty signed at Rawalpindi recognized the country’s freedom.