JosÃ Toribio Medina did his first archeological investigations in Pichilemu , and he published in 1908 Los Restos IndÃ genas de Pichilemu . He said there that Pedro de Valdivia gave land in what is now central Chile to Juan GÃ mez de Almagro on February 24 , 1544 . In 1908 , he published Los Restos IndÃ genas de Pichilemu , in which he stated that the indians that were inhabiting Pichilemu when the Spaniards arrived at Chile were Promaucaes , part of the Topocalma encomienda , given on January 24 , 1544 , by Pedro de Valdivia to Juan GÃ mez de Almagro , therefore establishing Pichilemu .