JAMAICA — A steer who managed to get loose and run along Liberty Avenue at CUNY's York College campus in Jamaica on Friday morning will spend the rest of his days in green pastures at Farm Sanctuary in Watkins Glen, N.Y., after comedian Jon Stewart helped arrange his new home, according to officials and the farm.

Cows running around at york A video posted by The PoPe (@pope120) on Apr 1, 2016 at 7:30am PDT

The steer, who has since been named Frank Lee, managed to escape to the college at Liberty Avenue and 160th Street where police and others tried to recapture it about 10:18 a.m., according to a CUNY spokeswoman and videos posted to Instagram.

A CUNY spokeswoman believed the cow escaped a nearby slaughterhouse.

One bystander's video showed a man with a lasso approaching the skittish cow.

A video posted by salmaharjan (@surbirnaayah_salma) on Apr 1, 2016 at 7:41am PDT

Police and some civilians managed to recapture the cow after about 20 minutes, officials said.

The animal was handed over to Animal Care Centers of NYC, which took it to their Brooklyn facility, according to ACC and NYPD officials.

Frank Lee is in good shape and has already been turned over to an animal rescue group and will spend the rest of his days living on the farm near the Finger Lakes, according to ACC and the sanctuary.

On Friday night, officials from the farm posted a video of Jon Stewart feeding Frank some hay, which he enjoyed through a fence.

"Everybody likes hay, everybody," he told the cow.

Feeding Frank Breaking News: We are happy to report that the bull who was on the run earlier today in Queens is safe and on his way to Farm Sanctuary in Watkins Glen, NY. Jon and Tracey Stewart picked up the individual whom we are calling Frank this afternoon from Animal Care Centers of NYC (ACC). Special thanks to our colleague Mike Stura of Skylands Animal Sanctuary And Rescue who drove out to assist with the transport. More info to come. Posted by Farm Sanctuary on Friday, April 1, 2016

It was a much more serene situation for the cow, who hours earlier was running through the campus.

There were no reported injuries and it wasn't immediately clear how the animal escaped.

Friday's escape follows a similar incident in January when a cow escaped a Jamaica slaughterhouse a day before it was scheduled to be killed. The cow was eventually named "Freddie" and transferred to a New Jersey sanctuary where it could roam free.

#bullshit going on in our school.. #yorkcollege #cuny A photo posted by salmaharjan (@surbirnaayah_salma) on Apr 1, 2016 at 7:35am PDT