"sent a message to the guards" or "sent a command to the guards"
Here "sent" means the magistrates told someone to go tell the guards their message.
"Release those men" or "Allow those men to leave"