U.S. Border Patrol agents apprehended a pair of Canadian teens Thursday after they accidentally crossed the border into Montana while playing "Pokemon Go."

"Both juveniles were so captivated by their Pokemon Go games that they lost track of where they were," said Border Patrol spokesman Michael Rappold.

Agents found the pair walking southbound from Canada into the United States. Authorities briefly apprehended them before releasing them to their mother at a nearby border patrol station, according to authorities.

Officials did not release their names.

Players attempt to catch "Pocket Monsters" – or Pokemon – in "Pokemon Go." The game has gained widespread popularity since its release in early July.