Updated

U.S. Border Patrol officials say two Canadian teenagers were briefly apprehended after they accidentally crossed the U.S. border into Montana while playing the game "Pokemon GO."

Border Patrol Agent John South says the teens were engrossed and wandered into the United States.

South says agents detained them while contacting their mother, who was nearby on the Canadian side.

The agents then released the children to their mother.

South on Friday declined to release the teenagers' names, ages or describe what sort of terrain they crossed.

He says they were detained Thursday near Sweet Grass, Mont., which borders the town of Coutts in Canada's Alberta province.

"Pokemon GO" is a game in which players go to different locations to find virtual characters that appear on their cellphones.