What happens to Aria and Ezra in the series 'Pretty Little Liars' by Sara Shepard?

Its so sad.. they get caught and Ezra goes to jail. Then Aria has no place to live. I'm so sad about it because I loved them together. :(