Ferrer, the leader of the dissident organization Patriotic Union of Cuba, had previously been in prison because of his political opposition to the communist government.