You are an expert at summarizing long articles. Proceed to summarize the following text: 
somchai wongsawat , brother-in-law of ousted premier thaksin shinawatra , officially became thailand 's new prime minister thursday after the king endorsed his election by parliament .
pro-thaksin pm takes office in thailand