What class is the fiddler crab in?

The fiddler crab is in the Malacostraca class. Male fiddler crabs typically live for 3 years, and female fiddler crabs for 2 years.