Did you request a lawyer?

Courts typically inform you of your Miranda rights as part of the process for entering a guilty plea.