Actor Martin Sheen and advocate for the homeless Mitch Snyder were both sentenced to 90 days of unsupervised probation yesterday after pleading guilty to charges involving their protest at the Farragut West Metrorail station in November.

They were charged with unlawful entry while demonstrating against the refusal by Metro officials to allow homeless people to seek shelter at the entrance to the station after midnight when the subway closes.

Metro officials had erected a fence to keep the homeless out of the entrance area.

In December, after more protests, Metro officials provided a surplus bus at the station in which homeless people can sleep overnight.

During the sentencing hearing yesterday, D.C. Superior Court Judge Eugene Hamilton allowed the two men to remain free on the condition that they not violate the law during the 90 days.

Sheen, who played Snyder in a television movie, said he was prepared to go to jail, but his attorney had asked Hamilton to allow Sheen to return to New York where Sheen is appearing in a Shakespeare festival.

Sheen has been involved in numerous demonstrations for the homeless and against nuclear weapons and is facing trial in California, Nevada and New York for arrests in antinuclear demonstrations.