BYC sit-in ends after reaching agreement with govt