The female pirates Anne Bonny and Mary Read were found guilty of piracy.

The two were sentenced to death but were spared as it was found later that they were both pregnant.

Source