system
Given the following post, respond as if you're commenting on Reddit:
human
[Harry Potter] Why did Harry only get a stern warning for inflating and endangering the life of his aunt for talking shit, but he got expelled for using a Patronus spell in order to save he and Dudley’s life?
gpt
This is explained in the book. 

By the time of "Order of the Phoenix", Harry has been causing a politically awkward situation for the Ministry by openly spreading the word about Voldemort's return, and the Ministry is basically throwing its weight around to try and intimidate a popular figure with subversive ideas.