For 10 points, name this final Korean dynasty.
One ruler of this polity initiated Literati Purges that brought about the rise of the Sarim faction. In another incident in this polity, the execution of Bishop Berneux led to an outburst of violence against Catholic residents of this dynasty. One treaty forced on this dynasty led to the occupation of this dynasty's Port Hamilton. The founder of this dynasty was a general who was ordered to invade China, but instead led a coup. This dynasty was destabilized by succession crises called the Strifes of the Princes.  During this dynasty's decline, its female ruler Queen Min was assassinated by foreign agents, and this dynasty was forced to sign the Treaty of Gangwha. This dynasty was destabilized by the Donghak Peasant Rebellion, which led to a successful Japanese invasion. For 10 points, name this final Korean dynasty.
One ruler of this polity initiated Literati Purges that brought about the rise of the Sarim faction.
Joseon Dynasty [or Choson Dynasty; or Yi Dynasty]