A bitter standoff between police and a group of mainly African asylum seekers and refugees in Berlin has come to an end after a agreement was reached on Wednesday.
The Green party politician Christian Ströbele helped in the negotiations to find a solution.
Authorities in Berlin signed a deal with the around 40 protesters, which permits them to stay in one floor of the former school building that they have been occupying in the Kreuzberg district of the German capital.
They in turn have agreed not let others join them.
The refugees and asylum seekers have been protesting at the conditions they and others in their situation have to suffer in Germany. They had also been seeking to stay in the country and have the right to work.
The entire street where the protest has been taking place has been blocked for over a week by police.