The secretary of justice of Puerto Rico (Spanish: Secretario de Justicia de Puerto Rico) (known as the attorney general of Puerto Rico prior to the Constitution of Puerto Rico in 1952) is the chief legal officer and the attorney general of the government of Puerto Rico.