Put an end to (something)

To cause something to end, to terminate something in a clear manner.

The police put an end to the loud party in the public park.