A government lawyer who represents defendants accused of a crime if they cannot afford an attorney of their own.
Merriam-Webster Online Dictionary
public defender (noun) a lawyer usually holding public office whose duty is to defend accused persons unable to pay for legal assistance