This was part of a large-scale attempt by Fidel Castro to cleanse the security forces of Batista loyalists and potential non-Communist opponents (including high-ranking rebels such as Pedro Luis Díaz Lanz and Huber Matos) of the new revolutionary government.