 He took a very active part in the subsequent conquest of Osona in 799 and the successful siege of Barcelona in 801.He was made count of Osona in 799, perhaps as a reward for his services.In 801, the greatest of the counties, Barcelona, was established under Bera.