When did peru gain independence?

July 28, 1821