J. M. Barrie donated the copyright of Peter Pan to GOSH to help it raise funds for the operation of the hospital. It was donated originally with an unlimited copyright period made possible by his friends in Parliment who passed a special law allowing the unlimited copyright. However, due to many changes in laws over the years and European regulations, the copyright is no longer unlimited outside of the U.K.

More Info: en.m.wikipedia.org