How do project managers get appointed, or selected within an organisation?

Normally a project manager is a great organiser and strategic planner and normally has previous background working on similar projects. A PM may like detail work, possess excellent verbal and written skills. A PM will also feel comfortable to make presentations or to provide project status reporting to all stakeholders. A PM is a team player and has leadership skills.

How do project managers get appointed, or selected within an organisation?