Task: Translation
Input (English): He was assigned in 1866 to the Portsmouth Navy Yard , then in 1868 to the Pensacola Navy Yard .
Output (Spanish): Se asignó al Portsmouth Navy Yard en 1866, y luego al Pensacola Navy Yard en 1868.