BANGKOK — Beloved by Thailand’s rural poor, ousted from office and in exile since fleeing a trial two years ago, a former prime minister of Thailand has reappeared abroad, at least in name, on a Serbian government website.

The site announced that the former Thai leader, Yingluck Shinawatra, had been granted Serbian citizenship, in a statement posted on an official government website.

By obtaining a passport from a foreign country, Ms. Yingluck is following in the footsteps of her wealthy older brother, Thaksin Shinawatra, who is also a former prime minister and populist leader. He was deposed in a military coup in 2006 after five years in office, and also fled overseas.

Forces loyal to the family dominated Thai politics for nearly two decades before the military took control again in 2014, and they have often been at the center of Thailand’s chaotic politics since then. This year, one party linked to the family nominated the king’s sister for prime minister (she was quickly disqualified), and a party representing Mr. Thaksin’s interests won more than 100 seats in the lower house of Parliament.