The Battle of Visby was a violent medieval battle near the town of Visby on the Swedish island of Gotland, fought between the inhabitants of Gotland and the Danes, with the latter emerging victorious.