it's all attention seeking behaviour and the fact he has to get the other kids in trouble.
Are you absolutely sure? Because my DS was very demanding and had terrible tantrum at that age and it had nothing to do with seeking attention or getting others in trouble, it had to do with the fact that he is a very emotional kid who feels everything more intensively. What I learned is that he hated becoming angry and frustrated as much as I did and felt terrible afterwards but felt out of control.
Punishing him only achieved to make him feel even worse about it. What worked was to try to avoid him getting so angry in the first place by talking him through ways to divert it. Simple things like saying 'I know you want this now and you are starting to feel angry, but I need to do this now because x, y and z, so how about you do this now, and in 20 minutes, I'll be with you. here's the clock, when the arrows are there, then come and get me'.
Thankfully DS had a wonderful key worker at nursery and then at reception and this strategy worked really well with him. It doesn't mean he never got punished because like all kids, he was at time also naughty, but that was different.
I'm pleased to say that the tantrums almost totally subsided and he was actually known to be a very gentle and caring kid at school. He only had a few at home when very tired. The anger came back when the hormones kicked in and they really frightened him, but by then, he was able to talk about it. I reassured him that anger alone wasn't a bad emotion, that many things are accomplished as the result of the energy brought on by anger, but that he needed to learn to channel it properly and recognise the signs. Again, things settled when he turned 13. At 15, he is still prone to feeling angry at times, but he knows how to deal with it now and few people actually know that he gets very emotional about things.
I agree that you should be able to intervene when he shouts at you, not by punishing him but indeed talking to him and telling him why there is no need for it.