A federal writ of habeas corpus petition may be an option for inmates serving a state prison sentence for a state crime who have already filed a state writ of habeas corpus petition that was unsuccessful.