BROOKLYN HEIGHTS, NY — A dog running along the tracks near a Brooklyn Heights subway station caused delays to the F train in both directions on Friday afternoon, the MTA said.

The four-legged commuter, named Dakota, slipped away from its owner and ran onto the tracks near the York Street station at about 3 p.m., causing some trains to not be able to enter the station and the MTA to shut off the power, officials said.

Officers were able to corral the tiny pooch at the Bergen Street station less than an hour later and returned it to its owners arms, the NYPD said. The dog had minor injuries and was taken to the vet afterwards.