Thomas Ted Barrett has been charged with two counts of second-degree murder in the deaths of Laura Jessome and Brett Elizabeth MacKinnon, who was last seen alive in 2006. (CBC)

Five men accused of attacking Thomas Barrett in the jail in Burnside appeared in a Dartmouth court for the first time Tuesday to face a number of charges, according to the public prosecution office. 

Andreko Crawley, Justin Cole, Kevin Forrest, Daniel Ryan and Latef Tag-El-Din are accused of attacking Barrett on June 22 at the jail in Burnside.

He was taken to hospital with life-threatening injuries. 

Barrett was charged last year with two counts of second-degree murder in the deaths of Laura Jessome, 21, and Brett Elizabeth MacKinnon, 21.

The five men are each charged with attempted murder, aggravated assault, and possession of a weapon for a dangerous purpose, said Chris Hansen, a spokesperson for the public prosecution office. 

Tag-El-Din will appear in court again on Friday for a show cause hearing.

The remaining four men will be back in Dartmouth provincial court on August 12.