Numista tells that mint operated til 1670
https://en.numista.com/catalogue/mint.php?id=214
I suspect that mint was operated by Prussia later. Even mint listing shows mint masters after 1670.
Mint marks on Prussian coins would indicate that it operated til at least 1878. Krauze “Standard catalog of German coins : 1601 to present” tells that B stands for Breslau or Bayreuth in Prussian coinage. Bundesbank tells that B stands for Hanover, which was part of Prussia after 1868.
It is unclear if Prussian gold marks after unification were minted in Breslau or in Hanover.