Palestinians from the Gaza Strip were allowed to visit imprisoned relatives in Israel on Monday for the first time in five years.

The family members of 24 prisoners were escorted by bus by the Israel Prisons Service to Ramun prison in southern Israel, about two hours away from Gaza, as part of a deal to end a months-long hunger strike among detainees.

The visit was a test program, and if deemed successful similar visits to other prisons in Israel could take place soon, according to YNet. Sivan Weizman, Israeli prison services spokeswoman, told Al Jazeera that the visit was completed without incident.