How do state tax brackets work when moving.

I have 1099 income. I lived in PA first 6 months of year... I made 100k. Then I moved to NJ and made 50k. Does the first 100k I make in PA count towards determining my marginal tax rate/bracket in NJ? Or is the counter reset when I move to NJ?