Foreigners might not be allowed in the small town of Vilyuchinsk on Kamchatka Peninsula in eastern Russia, but that rule doesn’t seem to apply to lost bears.

In a video posted by the Siberian Times, a large brown bear is seen galloping through the streets of the former submarine-manufacturing town. The town, which is surrounded by water and wilderness, was known for nuclear submarine construction. It was supposed to be closed in 2003, but it continues operate. In recent times, the port has become a hub for the local fishing industry, which undoubtedly had a hand in attracting the bear.

While it’s unclear what exactly drew the bear into the town, in one portion of the video, it can be seen racing relatively close to some locals, seemingly being chased by a dog.

Eventually local rangers were able to chase the bear back into the wilderness. According to The Siberian Times, bears have been wandering into urban centers more and more often, reflecting a loss of normal food sources.