“Bad Girl” a yearling heifer who eluded Temple police on March 24 and remained on the lam for almost four weeks was finally on her way back to the barn Wednesday.

The cow, named “Bad Girl” by her owner was running loose on March 24 when a Temple patrol officer spotted her and tried to corral her.

The officer managed to herd the cow into a gated area at Wilson Park, but as he started to close the gates, the cow charged him and then bolted out of the enclosure.

The officer didn’t get hurt, but likely only because he was quick on his feet.

Dashcam video of the chase went viral.

A resident who lives in East Temple saw the KWTX story on the cow and called to say he thought the heifer was with his small herd.

After an exchange of pictures that confirmed the cow in his field was “Bad Girl,” KWTX contacted the owner who was on the way Wednesday to retrieve the bovine.

Police determined that the cow escaped from a veterinary clinic at South 31st and Avenue H, about two miles away from the park