They had been sharing a room for two years before one of them (move) out.