이 is a subject marker that identifies the noun as the entity that performs an action or is in a particular state. With 되다, it marks the identity or state that someone or something becomes.
우린 그저 다른 감옥에 갇혔을 뿐1 We were simply trapped in different prisons.