(CNN) Former Blackjewel coal miners, including some in Kentucky who blocked a coal train from moving, were finally paid on Friday after a layoff and months of protests.

Around 1,700 coal miners received their money after a settlement for $5.1 million was reached with Blackjewel Sales and Marketing, according to attorney Joe Childers.

Among those being paid will be 658 of Kentucky's Blackjewel miners from the Black Mountain and Lone Mountain mines in Kentucky, Gov. Matt Bevins said in a statement.

Blackjewel suddenly filed for bankruptcy on July 1, leaving workers without pay. Miners blocked the tracks of a coal train in Kentucky after the bankruptcy, furious after being told they wouldn't get paid for their work. Those protests finally ended in September.

Although their paychecks have been paid out, their benefits have not.

Read More