Which sentence is more formal?

 - California, a.k.a. the Golden State, is the most populous state in the United States.
 - California, sometimes called the Golden State, is the most populous state in the country.
The first sentence is less formal. You can tell because it uses abbreviated language (a.k.a.).
The second sentence does not use abbreviated language, so it is more formal.