he was accepted at the universidad mayor de san marcos where he earned a doctorate in philology