It turns out the father linked to an AMBER Alert late Thursday morning had legal custody of the two children involved, the Kansas Bureau of Investigations (KBI) admitted.

The AMBER Alert ended when Barry Smith and his two children were found at the Shawnee Co. Courthouse soon after the alert was issued.

According to the KBI timeline, the Burlington Police Dept. said Smith picked up his two children, eight-year-old Jussica and nine-year-old Barry Smith, Jr., shortly after 8:00 a.m. at their school. KBI said they were in a DZ Cab Company Taxi.

Police reportedly told the KBI the children's mother, not Smith, had custody of the children. Jussica and Barry Jr.'s mother, who was not identified had also told police Smith previously made a series of threats against the children.

Based on that information, KBI said it issued the AMBER Alert just before 9:15 a.m.

At 9:40 a.m., KBI asked the public to be on the lookout for a taxi and 15 minutes after that, it was spotted driving into Topeka.

The taxi driver dropped Smith and the children off at the courthouse around 10:00 a.m.

Senior Assistant District Attorney Matt Patterson told 13 NEWS Smith was taken into custody after arriving in Topeka, but he was not arrested.

KBI sent an update around 4:15 p.m. Thursday saying the subsequent interviews revealed Smith actually held custody of the children.

KBI says it is still investigating the incident. No charges or arrests have been made at this time.