The legal battle reached its conclusion on Sunday