Invested in in a Start up c corp which failed.I sued for fraud but lost the case . Can I offset this loss against my Stock portfolio capital gains?

Investment was made in 2015 and case resolved in 2021.