To determine the number of arrangements of five letters where the third letter is 'M', we first fix the position of 'M'. This means we must select two letters preceding 'M' and two letters succeeding 'M' from the alphabet. The process is as follows:
Thus, there are 5148 distinct ways to arrange five letters alphabetically with 'M' as the third letter.