Please answer the following question: Facts:   - title: sultan of selangor    - reign: 27 october 1826 - 6 january 1857    - successor: abdul samad    - mother: raja andak binti almarhum daeng kemboja    - predecessor: sultan ibrahim shah    - death date: 6 january 1857      - father: sultan ibrahim shah , second sultan of selangor    - name: sultan muhammad shah   Based on these bullet points, write a short biography describing the life of muhammad shah of selangor .
Answer:
sultan muhammad shah , -lrb- almarhum sultan muhammad shah ibni almarhum sultan ibrahim shah ; ?- 6 january 1857 -rrb- was the third sultan of selangor .his reign lasted 31 years until his death and saw the opening of tin mines in ampang and the separation of selangor into five independent districts .