Albert's difficulties with Riga's citizenry continued; with papal intervention, a settlement was reached in 1225 whereby they no longer had to pay tax to the Bishop of Riga, and Riga's citizens acquired the right to elect their magistrates and town councillors. In 1226, Albert consecrated the Dom Cathedral, built St. James's Church, (now a cathedral) and founded a parochial school at the Church of St. George.