After an extremely costly four-day battle , in which neither side gained a substantial advantage , both sides claimed victory .
After a costly four-day battle , in which neither side gained a clear advantage , both sides claimed victory .