Spanish–American War was an armed military conflict between Spain and the United States that took place between April and August 1898