The CIA and the Democratic Revolutionary Front had based a 1,400-strong army, Brigade 2506, in Nicaragua. On the night of 16 to 17 April, Brigade 2506 landed along Cuba's Bay of Pigs and engaged in a firefight with a local revolutionary militia .