When was Serbia founded?

One of the first Serbian settlements, Raška, was founded in the first half of the 12th century by the House of Vlastimirović which eventually became the Serbian Kingdom and then the Serbian Empire, which was ruled by the House of Nemanjić.