Short answer
Prussia did not end in a single moment. The Prussian monarchy fell with the German Revolution in November 1918, when Wilhelm II abdicated. Prussia then continued as a republican state until its government lost its independence in the early 1930s, and the Allied powers formally abolished it as a state in 1947.
The end of the monarchy in 1918
By the autumn of 1918 Germany was losing the First World War, and unrest spread through the country. On November 9, 1918, Wilhelm II’s abdication was announced in Berlin, and a republic was proclaimed. Wilhelm went into exile in the Netherlands, and in late November he signed a formal abdication as King of Prussia and German Emperor. This ended both the Prussian crown and the German Empire’s imperial title, which had been held by the Prussian king since 1871. The full family background is in the family tree of Wilhelm II, German Emperor, and the broader context of the end of the German monarchies in why was the German monarchy abolished.
The Free State of Prussia
Prussia did not vanish after 1918. It became the Free State of Prussia, a republic and the largest state within the Weimar Republic, covering about three fifths of Germany’s territory. It lost some land in the east under the Treaty of Versailles, but Prussia remained very large and was governed for much of the 1920s by democratic parties, notably the Social Democrats.
Loss of independence
In July 1932 the national government under Chancellor Franz von Papen removed the Prussian government by emergency decree, an event usually called the Prussian coup or Preußenschlag. This weakened the strongest democratic state government in Germany shortly before the Nazis took power. After Hitler became chancellor in 1933, the Nazi regime brought the German states under central control, and Prussia lost any meaningful political independence, though it formally still existed.
Abolition in 1947
After the Second World War, Germany was occupied by the Allied powers. The Allied Control Council issued Law No. 46 on February 25, 1947, which declared that the Prussian state, “which from its early days has been a bearer of militarism and reaction in Germany,” had in practice ceased to exist, and formally abolished it. Its territory was divided among new or existing states and the occupation zones, and the eastern provinces were placed under Polish and Soviet administration.
Why the Allies did it
The Allies saw Prussia as closely linked to German militarism and to the path that had led to two world wars. Historians debate how fair this view is, since Prussia also had liberal reforms and a democratic period in the 1920s, and the Nazi regime had its roots elsewhere too. In practice the decision also made the redrawing of Germany’s borders and states easier.
For the wider story, see the history of the Kingdom of Prussia, and for where the lands lie now, where is historic Prussia.