The Central African Republic declared Bitcoin an official currency, and became the second nation in the world to accept the cryptocurrency as legal tender.

“Cryptomoney including Bitcoin is now considered an official currency in CAR,” Albert Mokpeme, spokesman for President Faustin-Archange Touadera, said Thursday by phone from the capital, Bangui.

“By legalizing the use of Bitcoin, CAR hopes to attract investors,” he said, adding that its use would ease money transfers that can “sometimes be complicated in our country.”

The country is following the lead of El Salvador, which in September became the first nation to introduce Bitcoin as legal tender.