Man who attempted bombing sentenced in federal court