Does a website keep its Google PageRank after you buy it?

A lot of websites advertised for sale have a certain Google PageRank but will they keep that PR after they change ownership? And especially, mightn't the PR change when the new owner adds to or changes some of the content?
Update: How does that work?
3 answers 3