NEW YORK -- Jon Stewart has helped make a home for two goats found roaming along the subway tracks in New York City.

A train operator on Monday alerted headquarters about "two very baaaaad boys" along the N Line in Brooklyn. It wasn't clear where the goats came from.

Police arrived on the scene, tranquilized the male goats, and took them to an animal shelter. The shelter contacted Farm Sanctuary.

That's when Stewart stepped in to help. In a video , Stewart is shown helping load the goats into a trailer to Farm Sanctuary. The comedian and his wife often assist transporting animals found in the city to the shelter in Watkins Glen, New York.

They have partnered with the organization to open a farm and education centre in New Jersey.