Getting products from a category (Magento 1)

The following code returns all products from within a certain category in a collection.