Preheat your oven to 350°F (175°C). Grease a loaf pan.
In a mixing bowl, combine the mashed sweet potatoes, sugar, and vegetable oil. Mix well.
Add the eggs one at a time, beating well after each addition.
In another bowl, whisk together the flour, baking powder, baking soda, salt, cinnamon, and nutmeg.
Gradually add the dry ingredients to the wet mixture, stirring until just combined.
Pour the batter into the prepared loaf pan.
Bake for 60 minutes or until a toothpick inserted into the center comes out clean.
Let the bread cool in the pan for 10 minutes, then transfer to a wire rack to cool completely.