Workers at the Lenin shipyard ended a nine-day strike led by the banned Solidarity free trade union, a Solidarity spokesman said on Tuesday.

He read out a statement from the strikers saying: "We have decided to voluntarily leave the shipyard. We leave without an agreement of our own free will."The spokesman, speaking to reporters at St. Brygida's church in Gdansk, said the strikers were about to leave the shipyard, which they have occupied since May 2.

"The end of the strike, however, does not mean we have resigned our cause," the statement said.

"We shall continue our struggle in the future. There is no freedom without Solidarity."

A Solidarity banner posted at the front gate of the shipyard on the opening day of the strike May 2 was taken down Tuesday night.

The end of the strike, which began May 2, was confirmed by strike spokesman Adam Michnik.

He read a strikers' statement saying, "We are leaving the shipyard not in triumph, but with raised heads."

At 7:30 p.m., Gdansk Bishop Tadeusz Goclowski called Gen. Jerzy Andrzejewski and demanded the removal of the police blockade around the shipyard, saying the workers were coming out, according to Michnik. On Monday, Michnik said a 23-year-old man and 18-year-old woman were acting as couriers for the strikers when they were beaten by police. A police officer in Gdansk said he had no information on the report.

Michnik said the man's head was struck against the pavement and the woman was kicked in the stomach in attacks Monday that were witnessed by three people. He said the unidentified couriers, who had carried food to strikers, were detained.

A police blockade around the shipyard was put in effect Thursday, telephones were disconnected, and couriers slipping through the blockade have been the main communications link between the shipyard and the outside.

Solidarity leader Lech Walesa said Monday he and hundreds of workers at the Lenin shipyard were determined to hold out for their demands. "We'll win! We'll win!" 700 strikers shouted during a rally at the shipyard.

Meanwhile, in Warsaw, opposition activists and workers reported a strike starting Monday at the Ursus tractor factory on the outskirts of the capital. But officials denied there was a strike.

Strikers at the Gdansk shipyard on Monday rejected a management offer of pay raises and reinstatement of some fired activists.