Tripoli is the capital city of one country and the second city of another country. Is that true or false?

History Trivia: Tripoli is the capital city of one country and the second city of another country. Is that true or false?