Context: Robin Hood: Prince of Thieves is a 1991 American romantic action adventure film. The film, an iteration of the legendary English folk tale, was directed by Kevin Reynolds. The film's principal cast includes Kevin Costner as Robin Hood, Morgan Freeman as Azeem, Christian Slater as Will Scarlet, Mary Elizabeth Mastrantonio as Maid Marian, and Alan Rickman as the Sheriff of Nottingham.

Question: who played the sheriff in robin hood prince of thieves?
Steam of consciousness below:

To answer the question, consider the following: The film's principal cast includes Kevin Costner as Robin Hood, Morgan Freeman as Azeem, Christian Slater as Will Scarlet, Mary Elizabeth Mastrantonio as Maid Marian, and Alan Rickman as the Sheriff of Nottingham.
So, the answer is Alan Rickman.