Output a stream of consciousness before answering the following. Passage: Miranda Hobbes is a career-minded lawyer with extremely cynical views on relationships and men. A 1990 Harvard University law graduate from the Philadelphia area, she is Carrie's confidante and voice of reason. In the early seasons she is portrayed as masculine and distrustful and resentful of men, but this image softens over the years, particularly after she becomes pregnant by her on-again, off-again boyfriend, Steve Brady, whom she eventually marries. The birth of her son, Brady Hobbes, brings up new issues for her Type A, workaholic personality, but she eventually finds a way to balance career, being single, and motherhood. Of the four women, she is the first to purchase an apartment (an indicator of her success), which she gives up when she moves into a Brooklyn townhouse in the final season to make room for her growing family.

Question: Based on this passage, where did miranda move in sex and the city?
This is the relevant information: Of the four women, she is the first to purchase an apartment (an indicator of her success), which she gives up when she moves into a Brooklyn townhouse in the final season to make room for her growing family.
The answer: Brooklyn.