Where can a resident alien get a passport?

I just received my passport today! I was born in Mexico. I'm a Permanent Resident of US. This morning I went to a Mexican Consulate in San Francisco because I live in the Bay Area of CA. I just brought a copy of CA ID, Social Security Card, and Green Card (all just a copy) and i payed $74.00 and they gave me my passport in like less than 3 hours. It's mostly just waiting. Oh yeah and I brought my original CA Driver's License.

Hope this helps. Wish somebody would've wrote up for me.

=D

Oh yeah, be sure to Google a nearby consulate and what country to find the nearest one near you. I hate the idiot that just wrote a simple answer before this one.