Which entity is they this sentence?

The government tried to free the journalists from North Korea, but they were unsuccessful.
The government