Ala. Code § 26-2-27
Appointment of Sheriff as Guardian
If no fit person is appointed and qualifies as guardian of a minor and there be no general guardian for the county, the sheriff must be appointed guardian and the guardianship attaches to the office of sheriff.