To obtain citizenship in Portugal, one needs to first obtain a residency card. This must be maintained for five years. After that period, one can obtain a permanent residency and then lastly gain permission to apply for citizenship.
Permanent residency will need granted after an initial deposit of 500,000 Euros which serves as an investment into the country.
Citizenship into these countries is irrecoverable once it has been granted due to the conditions being met.