Two men who were accused of taking part in a riot at Her Majesty's Penitentiary in St. John's last August have been ordered to stand trial.

In August 2013, inmates took control of a cell block and threatened to kill hostages and prison guards.

During the riot, which also included a hostage-taking, inmates tore down ceilings, ripped off doors and smashed windows and flooring. 

The preliminary hearing for Adam Hayden, 27, and Justin Wiseman, 22, wrapped up in provincial court in St. John's on Wednesday.

Both Hayden and Wiseman are charged with hostage taking, mischief and with wearing masks to conceal their faces.

In another matter, Wiseman is also charged with damage over $5,000 and taking part in another riot that occurred in the prison in February 2013.

In addition to Hayden and Wiseman, four other men were charged in the August 2013 prison riot. They have each been sentenced.