when john herschel was born in 1792 william was 55 years old and mary was 42.

Write the above sentence using proper case.
When John Herschel was born in 1792 William was 55 years old and Mary was 42.