Why did Fidel Castro launch the Mariel Boatlift?

He announced that he would free some Cubans and when the day came by, he send murders and rapist instead of bone file civilians to Miami.