get State name from region_id Magento 1.6.2

class, magento

Solution

$regionId = 27;
$region = Mage::getModel('directory/region')->load($regionId);
echo $region->getName();

Problem

I need to display a single State Name in Magento 1.6.2 by converting the `region_id` to the `state name`. I have the `region_id` and can return the array of all US states with ``` $states = Mage::getModel('directory/country')->load('US')->getRegions(); ``` but cannot find a help class that converts the `region_id`.

Original source